Package io.substrait.type
Class ImmutableType.ListType.Builder
java.lang.Object
io.substrait.type.ImmutableType.ListType.Builder
- Enclosing class:
- ImmutableType.ListType
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newListType.elementType(Type elementType) Initializes the value for theelementTypeattribute.from(NullableType instance) Fill a builder with attribute values from the providedio.substrait.function.NullableTypeinstance.Fill a builder with attribute values from the providedio.substrait.type.Typeinstance.from(Type.ListType instance) Fill a builder with attribute values from the providedio.substrait.type.Type.ListTypeinstance.nullable(boolean nullable) Initializes the value for thenullableattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedio.substrait.function.NullableTypeinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
Fill a builder with attribute values from the providedio.substrait.type.Typeinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
Fill a builder with attribute values from the providedio.substrait.type.Type.ListTypeinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
nullable
Initializes the value for thenullableattribute.- Parameters:
nullable- The value for nullable- Returns:
thisbuilder for use in a chained invocation
-
elementType
Initializes the value for theelementTypeattribute.- Parameters:
elementType- The value for elementType- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newListType.- Returns:
- An immutable instance of ListType
- Throws:
IllegalStateException- if any required attributes are missing
-