Package io.substrait.type
Class ImmutableType.FixedChar.Builder
java.lang.Object
io.substrait.type.ImmutableType.FixedChar.Builder
- Enclosing class:
- ImmutableType.FixedChar
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newFixedChar.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.FixedChar instance) Fill a builder with attribute values from the providedio.substrait.type.Type.FixedCharinstance.length(int length) Initializes the value for thelengthattribute.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.FixedCharinstance.- 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
-
length
Initializes the value for thelengthattribute.- Parameters:
length- The value for length- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newFixedChar.- Returns:
- An immutable instance of FixedChar
- Throws:
IllegalStateException- if any required attributes are missing
-