Package io.substrait.type
Class ImmutableType.Binary.Builder
java.lang.Object
io.substrait.type.ImmutableType.Binary.Builder
- Enclosing class:
- ImmutableType.Binary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newBinary.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.Binary instance) Fill a builder with attribute values from the providedio.substrait.type.Type.Binaryinstance.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.Binaryinstance.- 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
-
build
Builds a newBinary.- Returns:
- An immutable instance of Binary
- Throws:
IllegalStateException- if any required attributes are missing
-