Package com.attivio.sdk.search.fields
Enum BinaryMathExpression.Method
- java.lang.Object
-
- java.lang.Enum<BinaryMathExpression.Method>
-
- com.attivio.sdk.search.fields.BinaryMathExpression.Method
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BinaryMathExpression.Method>
- Enclosing class:
- BinaryMathExpression
public static enum BinaryMathExpression.Method extends java.lang.Enum<BinaryMathExpression.Method>
Binary Function type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
Add method.ATAN2
BITAND
Bitwise and operatorBITANDNOT
Bitwise andnot operatorBITOR
Bitwise or operatorBITXOR
Bitwise xor operatorDIVIDE
Divide method.LOG
Logarithm.MAX2
Binary Math.max() function.MIN2
Binary Math.min() function.MOD
Modulus.MULTIPLY
Multiply method.POW
Power function.SUBTRACT
Subtract method.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryMathExpression
parse(StringParser parser)
FieldExpression
parseMultiary(StringParser parser)
static BinaryMathExpression.Method
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BinaryMathExpression.Method[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final BinaryMathExpression.Method ADD
Add method.
-
SUBTRACT
public static final BinaryMathExpression.Method SUBTRACT
Subtract method.
-
MULTIPLY
public static final BinaryMathExpression.Method MULTIPLY
Multiply method.
-
DIVIDE
public static final BinaryMathExpression.Method DIVIDE
Divide method.
-
MOD
public static final BinaryMathExpression.Method MOD
Modulus.
-
ATAN2
public static final BinaryMathExpression.Method ATAN2
-
LOG
public static final BinaryMathExpression.Method LOG
Logarithm.
-
POW
public static final BinaryMathExpression.Method POW
Power function.
-
MIN2
public static final BinaryMathExpression.Method MIN2
Binary Math.min() function.
-
MAX2
public static final BinaryMathExpression.Method MAX2
Binary Math.max() function.
-
BITAND
public static final BinaryMathExpression.Method BITAND
Bitwise and operator
-
BITOR
public static final BinaryMathExpression.Method BITOR
Bitwise or operator
-
BITXOR
public static final BinaryMathExpression.Method BITXOR
Bitwise xor operator
-
BITANDNOT
public static final BinaryMathExpression.Method BITANDNOT
Bitwise andnot operator
-
-
Method Detail
-
values
public static BinaryMathExpression.Method[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BinaryMathExpression.Method c : BinaryMathExpression.Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BinaryMathExpression.Method valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parse
public BinaryMathExpression parse(StringParser parser)
-
parseMultiary
public FieldExpression parseMultiary(StringParser parser)
-
-