Package com.attivio.sdk.search.fields
Enum UnaryMathExpression.Method
- java.lang.Object
-
- java.lang.Enum<UnaryMathExpression.Method>
-
- com.attivio.sdk.search.fields.UnaryMathExpression.Method
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnaryMathExpression.Method>
- Enclosing class:
- UnaryMathExpression
public static enum UnaryMathExpression.Method extends java.lang.Enum<UnaryMathExpression.Method>
Unary Function type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABS
Absolute Value.ACOS
Arc Cosine of value.ASIN
Arc Sine of value.ATAN
Arc Tangent of value.BITNOT
Bitwise not operatorCEILING
COS
Cosine of angle in radiansCOT
Cotangent of angle in radians.DEGREES
Convert a value in radians to degrees.EXP
Euler's number e raised to the power of the argumentFLOOR
LN
Natural LogarithmRADIANS
Convert a value in degrees to radians.RANDOM
Random value.ROUND
Round to the nearest integer.SIGN
SIN
Sine of angle in radiansSQRT
Square Root.TAN
Tangent of angle in radians
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UnaryMathExpression
parse(StringParser parser)
Parse aUnaryMathExpression
fromparser
.static UnaryMathExpression.Method
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnaryMathExpression.Method[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEGREES
public static final UnaryMathExpression.Method DEGREES
Convert a value in radians to degrees.
-
RADIANS
public static final UnaryMathExpression.Method RADIANS
Convert a value in degrees to radians.
-
ABS
public static final UnaryMathExpression.Method ABS
Absolute Value.
-
ACOS
public static final UnaryMathExpression.Method ACOS
Arc Cosine of value.
-
ASIN
public static final UnaryMathExpression.Method ASIN
Arc Sine of value.
-
ATAN
public static final UnaryMathExpression.Method ATAN
Arc Tangent of value.
-
COS
public static final UnaryMathExpression.Method COS
Cosine of angle in radians
-
LN
public static final UnaryMathExpression.Method LN
Natural Logarithm
-
SQRT
public static final UnaryMathExpression.Method SQRT
Square Root.
-
SIN
public static final UnaryMathExpression.Method SIN
Sine of angle in radians
-
TAN
public static final UnaryMathExpression.Method TAN
Tangent of angle in radians
-
COT
public static final UnaryMathExpression.Method COT
Cotangent of angle in radians.
-
SIGN
public static final UnaryMathExpression.Method SIGN
-
CEILING
public static final UnaryMathExpression.Method CEILING
-
FLOOR
public static final UnaryMathExpression.Method FLOOR
-
ROUND
public static final UnaryMathExpression.Method ROUND
Round to the nearest integer.
-
RANDOM
public static final UnaryMathExpression.Method RANDOM
Random value.
-
BITNOT
public static final UnaryMathExpression.Method BITNOT
Bitwise not operator
-
EXP
public static final UnaryMathExpression.Method EXP
Euler's number e raised to the power of the argument
-
-
Method Detail
-
values
public static UnaryMathExpression.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 (UnaryMathExpression.Method c : UnaryMathExpression.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 UnaryMathExpression.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 UnaryMathExpression parse(StringParser parser)
Parse aUnaryMathExpression
fromparser
.
-
-