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