Package io.substrait.function
Class ImmutableParameterizedType.ListType.Builder
java.lang.Object
io.substrait.function.ImmutableParameterizedType.ListType.Builder
- Enclosing class:
- ImmutableParameterizedType.ListType
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newListType.from(NullableType instance) Fill a builder with attribute values from the providedio.substrait.function.NullableTypeinstance.from(ParameterizedType.ListType instance) Fill a builder with attribute values from the providedio.substrait.function.ParameterizedType.ListTypeinstance.name(ParameterizedType name) Initializes the value for thenameattribute.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.function.ParameterizedType.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
-
name
Initializes the value for thenameattribute.- Parameters:
name- The value for name- 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
-