public final class BinaryMathExpression extends BinaryFieldExpression
Modifier and Type | Class and Description |
---|---|
static class |
BinaryMathExpression.Method
Binary Function type.
|
FieldExpression.StringMode
Modifier and Type | Field and Description |
---|---|
static MultiValueMode |
DEFAULT_MULTI_VALUE_MODE
The default MultiValueMode.
|
arg0, arg1
alias, EMPTY_ARRAY
Constructor and Description |
---|
BinaryMathExpression(BinaryMathExpression.Method method,
FieldExpression x,
FieldExpression y)
Construct a new BinaryMathExpression.
|
BinaryMathExpression(BinaryMathExpression.Method method,
FieldExpression x,
FieldExpression y,
MultiValueMode mode)
Construct a new BinaryMathExpression.
|
BinaryMathExpression(BinaryMathExpression.Method method,
FieldExpression x,
FieldExpression y,
MultiValueMode mode,
String alias)
Construct a new BinaryMathExpression.
|
BinaryMathExpression(BinaryMathExpression.Method method,
FieldExpression x,
FieldExpression y,
String alias)
Construct a new BinaryMathExpression.
|
Modifier and Type | Method and Description |
---|---|
BinaryMathExpression |
clone() |
protected BinaryMathExpression |
clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
BinaryMathExpression.Method |
getMethod()
Get the method to use.
|
MultiValueMode |
getMultiValueMode()
Get the
MultiValueMode . |
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 . |
void |
setMultiValueMode(MultiValueMode mode)
Set the
MultiValueMode . |
protected void |
toString(StringBuilder buffer,
FieldExpression.StringMode mode)
Writes the string representation of this field expression to
buffer . |
equalsIgnoreAlias, getFirstArgument, getSecondArgument, hasChildren, isConstant, rewrite, rewriteChildren, setFirstArgument, setSecondArgument
as, containsAlias, copyOf, equals, equalsIgnoreAlias, getAlias, getDefaultAlias, getFieldName, handleFieldExpression, isConstant, quote, rewrite, setAlias, toString, toString
public static final MultiValueMode DEFAULT_MULTI_VALUE_MODE
public BinaryMathExpression(BinaryMathExpression.Method method, FieldExpression x, FieldExpression y)
public BinaryMathExpression(BinaryMathExpression.Method method, FieldExpression x, FieldExpression y, MultiValueMode mode)
public BinaryMathExpression(BinaryMathExpression.Method method, FieldExpression x, FieldExpression y, String alias)
public BinaryMathExpression(BinaryMathExpression.Method method, FieldExpression x, FieldExpression y, MultiValueMode mode, String alias)
public SchemaField.Type getType(Schema schema)
getType
in class FieldExpression
public BinaryMathExpression.Method getMethod()
public MultiValueMode getMultiValueMode()
MultiValueMode
.public void setMultiValueMode(MultiValueMode mode)
MultiValueMode
.protected void toString(StringBuilder buffer, FieldExpression.StringMode mode)
buffer
.
NOTE: the alias will not be written to buffer by this function.
toString
in class FieldExpression
protected boolean parametersEqual(FieldExpression other)
true
if other
's parameters are the same as this
.parametersEqual
in class BinaryFieldExpression
public int hashCode()
hashCode
in class BinaryFieldExpression
public BinaryMathExpression clone()
clone
in class BinaryFieldExpression
protected BinaryMathExpression clone(FieldExpression x, FieldExpression y)
clone
in class BinaryFieldExpression
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.