Package io.substrait.type
Class Type.UserDefined
java.lang.Object
io.substrait.type.Type.UserDefined
- All Implemented Interfaces:
FunctionArg,NullableType,ParameterizedType,TypeExpression,Type
- Direct Known Subclasses:
ImmutableType.UserDefined
- Enclosing interface:
- Type
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.substrait.expression.FunctionArg
FunctionArg.FuncArgVisitor<R,C extends VisitationContext, E extends Throwable>, FunctionArg.ProtoFrom Nested classes/interfaces inherited from interface io.substrait.function.ParameterizedType
ParameterizedType.BaseParameterizedType, ParameterizedType.NullableParameterizedType, ParameterizedType.RequiredParameterizedVisitorException, ParameterizedType.StringLiteralNested classes/interfaces inherited from interface io.substrait.type.Type
Type.Binary, Type.Bool, Type.Date, Type.Decimal, Type.FixedBinary, Type.FixedChar, Type.FP32, Type.FP64, Type.Func, Type.I16, Type.I32, Type.I64, Type.I8, Type.IntervalCompound, Type.IntervalDay, Type.IntervalYear, Type.ListType, Type.Map, Type.Parameter, Type.ParameterBooleanValue, Type.ParameterDataType, Type.ParameterEnumValue, Type.ParameterIntegerValue, Type.ParameterNull, Type.ParameterStringValue, Type.PrecisionTime, Type.PrecisionTimestamp, Type.PrecisionTimestampTZ, Type.Str, Type.Struct, Type.Time, Type.Timestamp, Type.TimestampTZ, Type.UserDefined, Type.UUID, Type.VarCharNested classes/interfaces inherited from interface io.substrait.function.TypeExpression
TypeExpression.BaseTypeExpression, TypeExpression.BinaryOperation, TypeExpression.IfOperation, TypeExpression.IntegerLiteral, TypeExpression.NotOperation, TypeExpression.RequiredTypeExpressionVisitorException, TypeExpression.ReturnProgram -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.substrait.function.NullableType
nullableMethods inherited from interface io.substrait.function.ParameterizedType
isWildcardMethods inherited from interface io.substrait.type.Type
accept, equalsIgnoringNullability, withNullable
-
Constructor Details
-
UserDefined
public UserDefined()
-
-
Method Details
-
urn
-
name
-
typeParameters
Returns the type parameters for this user-defined type.Type parameters are used to represent parameterized/generic types, such as
vector<i32>.- Returns:
- a list of type parameters, or an empty list if this type is not parameterized
-
builder
-
accept
- Specified by:
acceptin interfaceParameterizedType- Specified by:
acceptin interfaceType- Specified by:
acceptin interfaceTypeExpression- Throws:
E extends Throwable
-