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) static TypeasNullable(Type type) final 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 uri, 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
-
struct
-
struct
-
list
-
map
-
userDefined
-
of
-
asNullable
-
asNotNullable
-