Package com.attivio.sdk.search.fields
Class WildcardMatch
- java.lang.Object
-
- com.attivio.sdk.search.fields.FieldExpression
-
- com.attivio.sdk.search.fields.UnaryFieldExpression
-
- com.attivio.sdk.search.fields.WildcardMatch
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class WildcardMatch extends UnaryFieldExpression
Wildcard match field expression.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.attivio.sdk.search.fields.FieldExpression
FieldExpression.StringMode
-
-
Field Summary
-
Fields inherited from class com.attivio.sdk.search.fields.UnaryFieldExpression
expression
-
Fields inherited from class com.attivio.sdk.search.fields.FieldExpression
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description WildcardMatch(FieldExpression input, java.lang.String pattern)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WildcardMatch
clone()
protected WildcardMatch
clone(FieldExpression input)
Create a new instance of this FieldExpression, with a different argument.boolean
equals(java.lang.Object other)
java.lang.String
getPattern()
Get the pattern for matching.SchemaField.Type
getType(Schema schema)
Resolve the type for this expression.int
hashCode()
void
setPattern(java.lang.String value)
Set the pattern for matching.protected void
toString(java.lang.StringBuilder buffer, FieldExpression.StringMode strmode)
Writes the string representation of this field expression tobuffer
.static WildcardMatch
valueOf(StringParser reader)
-
Methods inherited from class com.attivio.sdk.search.fields.UnaryFieldExpression
forEachField, getExpression, getFieldName, hasChildren, isConstant, rewrite, setExpression
-
Methods inherited from class com.attivio.sdk.search.fields.FieldExpression
apply, copyOf, forEachPhrase, forEachQuery, getDefaultName, isConstant, parse, quote, rewrite, rewriteChildren, toString, toString, valueOf
-
-
-
-
Constructor Detail
-
WildcardMatch
public WildcardMatch(FieldExpression input, java.lang.String pattern)
-
-
Method Detail
-
getType
public SchemaField.Type getType(Schema schema)
Resolve the type for this expression.- Specified by:
getType
in classFieldExpression
-
getPattern
public java.lang.String getPattern()
Get the pattern for matching.
-
setPattern
public void setPattern(java.lang.String value)
Set the pattern for matching.
-
toString
protected void toString(java.lang.StringBuilder buffer, FieldExpression.StringMode strmode)
Writes the string representation of this field expression tobuffer
.- Specified by:
toString
in classFieldExpression
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUnaryFieldExpression
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classUnaryFieldExpression
-
clone
public WildcardMatch clone()
- Overrides:
clone
in classUnaryFieldExpression
-
clone
protected WildcardMatch clone(FieldExpression input)
Create a new instance of this FieldExpression, with a different argument.- Overrides:
clone
in classUnaryFieldExpression
-
valueOf
public static WildcardMatch valueOf(StringParser reader)
-
-