Package io.substrait.function
Class TypeExpressionCreator
java.lang.Object
io.substrait.type.TypeCreator
io.substrait.function.TypeExpressionCreator
- All Implemented Interfaces:
ExtendedTypeCreator<TypeExpression,TypeExpression>
public class TypeExpressionCreator
extends TypeCreator
implements ExtendedTypeCreator<TypeExpression,TypeExpression>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeExpressionCreatorstatic final TypeExpressionCreator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeExpressionbinary(TypeExpression.BinaryOperation.OpType op, TypeExpression left, TypeExpression right) decimalE(TypeExpression precision, TypeExpression scale) fixedCharE(TypeExpression len) i(int i) intervalCompoundE(TypeExpression precision) intervalDayE(TypeExpression precision) listE(TypeExpression type) mapE(TypeExpression key, TypeExpression value) static TypeExpressionminus(TypeExpression left, TypeExpression right) static TypeExpressionplus(TypeExpression left, TypeExpression right) precisionTimestampE(TypeExpression precision) precisionTimestampTZE(TypeExpression precision) static TypeExpressionprogram(TypeExpression finalExpr, TypeExpressionCreator.Assign... assignments) structE(TypeExpression... types) structE(Iterable<? extends TypeExpression> types) varCharE(TypeExpression len) Methods inherited from class io.substrait.type.TypeCreator
asNotNullable, asNullable, decimal, fixedBinary, fixedChar, intervalCompound, intervalDay, list, map, of, precisionTime, precisionTimestamp, precisionTimestampTZ, struct, struct, struct, userDefined, varChar
-
Field Details
-
REQUIRED
-
NULLABLE
-
-
Constructor Details
-
TypeExpressionCreator
protected TypeExpressionCreator(boolean nullable)
-
-
Method Details
-
fixedCharE
- Specified by:
fixedCharEin interfaceExtendedTypeCreator<TypeExpression,TypeExpression>
-
varCharE
- Specified by:
varCharEin interfaceExtendedTypeCreator<TypeExpression,TypeExpression>
-
fixedBinaryE
- Specified by:
fixedBinaryEin interfaceExtendedTypeCreator<TypeExpression,TypeExpression>
-
decimalE
- Specified by:
decimalEin interfaceExtendedTypeCreator<TypeExpression,TypeExpression>
-
intervalDayE
-
intervalCompoundE
-
precisionTimestampE
-
precisionTimestampTZE
-
structE
- Specified by:
structEin interfaceExtendedTypeCreator<TypeExpression,TypeExpression>
-
structE
- Specified by:
structEin interfaceExtendedTypeCreator<TypeExpression,TypeExpression>
-
listE
- Specified by:
listEin interfaceExtendedTypeCreator<TypeExpression,TypeExpression>
-
mapE
- Specified by:
mapEin interfaceExtendedTypeCreator<TypeExpression,TypeExpression>
-
program
public static TypeExpression program(TypeExpression finalExpr, TypeExpressionCreator.Assign... assignments) -
plus
-
minus
-
binary
public static TypeExpression binary(TypeExpression.BinaryOperation.OpType op, TypeExpression left, TypeExpression right) -
i
-