Package io.substrait.type
Class TypeCreator
java.lang.Object
io.substrait.type.TypeCreator
- Direct Known Subclasses:
ParameterizedTypeCreator,TypeExpressionCreator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeasNotNullable(Type type) Make the given type NOT NULLABLEstatic TypeasNullable(Type type) Make the given type NULLABLEfinal Typedecimal(int precision, int scale) final TypefixedBinary(int len) fixedChar(int len) final TypeintervalCompound(int precision) final TypeintervalDay(int precision) static TypeCreatorof(boolean nullability) final TypeprecisionTime(int precision) final TypeprecisionTimestamp(int precision) final TypeprecisionTimestampTZ(int precision) final Type.StructuserDefined(String urn, String name) final TypevarChar(int len)
-
Field Details
-
REQUIRED
-
NULLABLE
-
nullable
protected final boolean nullable -
BOOLEAN
-
I8
-
I16
-
I32
-
I64
-
FP32
-
FP64
-
STRING
-
BINARY
-
TIMESTAMP
-
TIMESTAMP_TZ
-
DATE
-
TIME
-
INTERVAL_YEAR
-
UUID
-
-
Constructor Details
-
TypeCreator
protected TypeCreator(boolean nullable)
-
-
Method Details
-
fixedChar
-
varChar
-
fixedBinary
-
decimal
-
struct
-
precisionTime
-
precisionTimestamp
-
precisionTimestampTZ
-
intervalDay
-
intervalCompound
-
func
-
struct
-
struct
-
list
-
map
-
userDefined
-
of
-
asNullable
Make the given type NULLABLE -
asNotNullable
Make the given type NOT NULLABLE
-