Enum FunctionType
java.lang.Object
java.lang.Enum<FunctionType>
io.nosqlbench.virtdata.core.bindings.FunctionType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FunctionType>,java.lang.constant.Constable
public enum FunctionType extends java.lang.Enum<FunctionType>
Captures the list of function object types which may be used to implement data mapping functions. Library implementations may rely on this for type metadata.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description double_doubledouble_intdouble_longdouble_Tint_doubleint_intint_longint_Tlong_doublelong_intlong_longlong_TR_T -
Method Summary
Modifier and Type Method Description java.lang.Class<?>getFunctionClass()java.lang.Class<?>getInputClass()ValueTypegetInputValueType()java.lang.Class<?>getReturnClass()static FunctionTypevalueOf(java.lang.Class<?> clazz)Returns the enum constant of this type with the specified name.static FunctionTypevalueOf(java.lang.Object g)Returns the enum constant of this type with the specified name.static FunctionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FunctionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getInputClass
public java.lang.Class<?> getInputClass() -
getReturnClass
public java.lang.Class<?> getReturnClass() -
getFunctionClass
public java.lang.Class<?> getFunctionClass() -
valueOf
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:
clazz- 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
-
valueOf
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:
g- 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
-
getInputValueType
-