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 WildcardMatchclone()protected WildcardMatchclone(FieldExpression input)Create a new instance of this FieldExpression, with a different argument.booleanequals(java.lang.Object other)java.lang.StringgetPattern()Get the pattern for matching.SchemaField.TypegetType(Schema schema)Resolve the type for this expression.inthashCode()voidsetPattern(java.lang.String value)Set the pattern for matching.protected voidtoString(java.lang.StringBuilder buffer, FieldExpression.StringMode strmode)Writes the string representation of this field expression tobuffer.static WildcardMatchvalueOf(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:
getTypein 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:
toStringin classFieldExpression
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUnaryFieldExpression
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classUnaryFieldExpression
-
clone
public WildcardMatch clone()
- Overrides:
clonein classUnaryFieldExpression
-
clone
protected WildcardMatch clone(FieldExpression input)
Create a new instance of this FieldExpression, with a different argument.- Overrides:
clonein classUnaryFieldExpression
-
valueOf
public static WildcardMatch valueOf(StringParser reader)
-
-