Package io.substrait.function
Class ImmutableParameterizedType.FixedChar.Builder
java.lang.Object
io.substrait.function.ImmutableParameterizedType.FixedChar.Builder
- Enclosing class:
- ImmutableParameterizedType.FixedChar
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newFixedChar.from(NullableType instance) Fill a builder with attribute values from the providedio.substrait.function.NullableTypeinstance.from(ParameterizedType.FixedChar instance) Fill a builder with attribute values from the providedio.substrait.function.ParameterizedType.FixedCharinstance.Initializes the value for thelengthattribute.nullable(boolean nullable) Initializes the value for thenullableattribute.
-
Method Details
-
from
public final ImmutableParameterizedType.FixedChar.Builder from(ParameterizedType.FixedChar instance) Fill a builder with attribute values from the providedio.substrait.function.ParameterizedType.FixedCharinstance.- 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.NullableTypeinstance.- 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
public final ImmutableParameterizedType.FixedChar.Builder length(ParameterizedType.StringLiteral 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
-