Package io.lenses.sql.udf.datatype
Class LTOptional<T extends DataType>
- java.lang.Object
-
- io.lenses.sql.udf.datatype.DataType
-
- io.lenses.sql.udf.datatype.LTOptional<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDATA_TYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedLTOptional(T dataType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTypeactualType()booleanequals(java.lang.Object o)inthashCode()booleanisBigDecimal()booleanisBigInt()booleanisBoolean()booleanisByte()booleanisDouble()booleanisFloat()booleanisInt()booleanisLong()booleanisNullable()booleanisNumber()booleanisRepeated()booleanisString()booleanisStruct()-
Methods inherited from class io.lenses.sql.udf.datatype.DataType
isContainer, isPrimitive, ltBigDecimal, ltBigDecimal, ltBigInt, ltBoolean, ltByte, ltByteArray, ltDate, ltDouble, ltEnum, ltFloat, ltInt, ltLong, ltOptional, ltRepeated, ltString, ltStruct, ltTimeMicros, ltTimeMillis, ltTimestampMicros, ltTimestampMillis
-
-
-
-
Field Detail
-
DATA_TYPE_NAME
public static final java.lang.String DATA_TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LTOptional
protected LTOptional(T dataType) throws UdfException
- Throws:
UdfException
-
-
Method Detail
-
actualType
public DataType actualType()
-
isBigDecimal
public boolean isBigDecimal()
- Overrides:
isBigDecimalin classDataType
-
isNullable
public boolean isNullable()
- Overrides:
isNullablein classDataType
-
isRepeated
public boolean isRepeated()
- Overrides:
isRepeatedin classDataType
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-