Package io.substrait.type
Class ImmutableType.Timestamp.Builder
java.lang.Object
io.substrait.type.ImmutableType.Timestamp.Builder
- Enclosing class:
- ImmutableType.Timestamp
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newTimestamp.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.Timestamp instance) Fill a builder with attribute values from the providedio.substrait.type.Type.Timestampinstance.nullable(boolean nullable) Initializes the value for thenullableattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedio.substrait.type.Type.Timestampinstance.- 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
-
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 newTimestamp.- Returns:
- An immutable instance of Timestamp
- Throws:
IllegalStateException- if any required attributes are missing
-