Package io.substrait.function
Class ImmutableTypeExpression.VarChar.Builder
java.lang.Object
io.substrait.function.ImmutableTypeExpression.VarChar.Builder
- Enclosing class:
- ImmutableTypeExpression.VarChar
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newVarChar.from(NullableType instance) Fill a builder with attribute values from the providedio.substrait.function.NullableTypeinstance.from(TypeExpression.VarChar instance) Fill a builder with attribute values from the providedio.substrait.function.TypeExpression.VarCharinstance.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.VarCharinstance.- 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 newVarChar.- Returns:
- An immutable instance of VarChar
- Throws:
IllegalStateException- if any required attributes are missing
-