public class RegexMatch extends UnaryFieldExpression
FieldExpression.StringMode
expression
alias, EMPTY_ARRAY
Constructor and Description |
---|
RegexMatch(FieldExpression input,
String pattern) |
RegexMatch(FieldExpression input,
String pattern,
String alias) |
Modifier and Type | Method and Description |
---|---|
RegexMatch |
clone() |
protected RegexMatch |
clone(FieldExpression input)
Create a new instance of this FieldExpression, with a different argument.
|
String |
getPattern()
Get the pattern for matching.
|
void |
getPattern(String value)
Set the pattern for matching.
|
SchemaField.Type |
getType(Schema schema)
Resolve the type for this expression.
|
int |
hashCode() |
protected boolean |
parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected void |
toString(StringBuilder buffer,
FieldExpression.StringMode strmode)
Writes the string representation of this field expression to
buffer . |
equalsIgnoreAlias, getExpression, getFieldName, hasChildren, isConstant, rewrite, rewriteChildren, setExpression
as, containsAlias, copyOf, equals, equalsIgnoreAlias, getAlias, getDefaultAlias, handleFieldExpression, isConstant, quote, rewrite, setAlias, toString, toString
public RegexMatch(FieldExpression input, String pattern)
public RegexMatch(FieldExpression input, String pattern, String alias)
public SchemaField.Type getType(Schema schema)
getType
in class FieldExpression
public String getPattern()
public void getPattern(String value)
protected void toString(StringBuilder buffer, FieldExpression.StringMode strmode)
buffer
.
NOTE: the alias will not be written to buffer by this function.
toString
in class FieldExpression
public int hashCode()
hashCode
in class UnaryFieldExpression
protected boolean parametersEqual(FieldExpression other)
true
if other
's parameters are the same as this
.parametersEqual
in class UnaryFieldExpression
public RegexMatch clone()
clone
in class UnaryFieldExpression
protected RegexMatch clone(FieldExpression input)
clone
in class UnaryFieldExpression
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.