Enum MapperExpression.MapperType
- java.lang.Object
-
- java.lang.Enum<MapperExpression.MapperType>
-
- com.speedment.runtime.compute.expression.MapperExpression.MapperType
-
- All Implemented Interfaces:
Serializable,Comparable<MapperExpression.MapperType>
- Enclosing interface:
- MapperExpression<T,INNER extends Expression<T>,MAPPER>
public static enum MapperExpression.MapperType extends Enum<MapperExpression.MapperType>
Enumeration of all possible mapping types. Every mapping type has a corresponding functional interface, and it should be safe to assume theMapperExpression.mapper()-method to return the correct one.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIG_DECIMAL_TO_BIG_DECIMALImplemented as aToDoubleFunction.BIG_DECIMAL_TO_DOUBLEImplemented as aUnaryOperator.BOOLEAN_TO_BOOLEANImplemented as aBooleanUnaryOperator.BOOLEAN_TO_DOUBLEImplemented as aBooleanToDoubleFunction.BYTE_TO_BYTEImplemented as aByteUnaryOperator.BYTE_TO_DOUBLEImplemented as aByteToDoubleFunction.CHAR_TO_CHARImplemented as aCharUnaryOperator.DOUBLE_TO_DOUBLEImplemented as aDoubleUnaryOperator.ENUM_TO_ENUMImplemented as aUnaryOperator.FLOAT_TO_DOUBLEImplemented as aFloatToDoubleFunction.FLOAT_TO_FLOATImplemented as aFloatUnaryOperator.INT_TO_DOUBLEImplemented as aIntToDoubleFunction.INT_TO_INTImplemented as aIntUnaryOperator.LONG_TO_DOUBLEImplemented as aLongToDoubleFunction.LONG_TO_LONGImplemented as aLongUnaryOperator.SHORT_TO_DOUBLEImplemented as aShortToDoubleFunction.SHORT_TO_SHORTImplemented as aShortUnaryOperator.STRING_TO_STRINGImplemented as aUnaryOperator.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapperExpression.MapperTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MapperExpression.MapperType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN_TO_BOOLEAN
public static final MapperExpression.MapperType BOOLEAN_TO_BOOLEAN
Implemented as aBooleanUnaryOperator.
-
BOOLEAN_TO_DOUBLE
public static final MapperExpression.MapperType BOOLEAN_TO_DOUBLE
Implemented as aBooleanToDoubleFunction.
-
CHAR_TO_CHAR
public static final MapperExpression.MapperType CHAR_TO_CHAR
Implemented as aCharUnaryOperator.
-
BYTE_TO_BYTE
public static final MapperExpression.MapperType BYTE_TO_BYTE
Implemented as aByteUnaryOperator.
-
BYTE_TO_DOUBLE
public static final MapperExpression.MapperType BYTE_TO_DOUBLE
Implemented as aByteToDoubleFunction.
-
SHORT_TO_SHORT
public static final MapperExpression.MapperType SHORT_TO_SHORT
Implemented as aShortUnaryOperator.
-
SHORT_TO_DOUBLE
public static final MapperExpression.MapperType SHORT_TO_DOUBLE
Implemented as aShortToDoubleFunction.
-
INT_TO_INT
public static final MapperExpression.MapperType INT_TO_INT
Implemented as aIntUnaryOperator.
-
INT_TO_DOUBLE
public static final MapperExpression.MapperType INT_TO_DOUBLE
Implemented as aIntToDoubleFunction.
-
LONG_TO_LONG
public static final MapperExpression.MapperType LONG_TO_LONG
Implemented as aLongUnaryOperator.
-
LONG_TO_DOUBLE
public static final MapperExpression.MapperType LONG_TO_DOUBLE
Implemented as aLongToDoubleFunction.
-
FLOAT_TO_FLOAT
public static final MapperExpression.MapperType FLOAT_TO_FLOAT
Implemented as aFloatUnaryOperator.
-
FLOAT_TO_DOUBLE
public static final MapperExpression.MapperType FLOAT_TO_DOUBLE
Implemented as aFloatToDoubleFunction.
-
DOUBLE_TO_DOUBLE
public static final MapperExpression.MapperType DOUBLE_TO_DOUBLE
Implemented as aDoubleUnaryOperator.
-
ENUM_TO_ENUM
public static final MapperExpression.MapperType ENUM_TO_ENUM
Implemented as aUnaryOperator.
-
STRING_TO_STRING
public static final MapperExpression.MapperType STRING_TO_STRING
Implemented as aUnaryOperator.
-
BIG_DECIMAL_TO_DOUBLE
public static final MapperExpression.MapperType BIG_DECIMAL_TO_DOUBLE
Implemented as aUnaryOperator.
-
BIG_DECIMAL_TO_BIG_DECIMAL
public static final MapperExpression.MapperType BIG_DECIMAL_TO_BIG_DECIMAL
Implemented as aToDoubleFunction.
-
-
Method Detail
-
values
public static MapperExpression.MapperType[] 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 (MapperExpression.MapperType c : MapperExpression.MapperType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapperExpression.MapperType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-