Package io.substrait.function
Class ImmutableTypeExpression.FixedBinary.Builder
java.lang.Object
io.substrait.function.ImmutableTypeExpression.FixedBinary.Builder
- Enclosing class:
- ImmutableTypeExpression.FixedBinary
Builds instances of type
FixedBinary.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newFixedBinary.from(NullableType instance) Fill a builder with attribute values from the providedio.substrait.function.NullableTypeinstance.from(TypeExpression.FixedBinary instance) Fill a builder with attribute values from the providedio.substrait.function.TypeExpression.FixedBinaryinstance.length(TypeExpression 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.function.TypeExpression.FixedBinaryinstance.- 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 newFixedBinary.- Returns:
- An immutable instance of FixedBinary
- Throws:
IllegalStateException- if any required attributes are missing
-