Package io.substrait.type
Class ImmutableType.Date.Builder
java.lang.Object
io.substrait.type.ImmutableType.Date.Builder
- Enclosing class:
- ImmutableType.Date
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newDate.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.Dateinstance.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.Dateinstance.- 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 newDate.- Returns:
- An immutable instance of Date
- Throws:
IllegalStateException- if any required attributes are missing
-