Package io.substrait.type
Class ImmutableType.Map.Builder
java.lang.Object
io.substrait.type.ImmutableType.Map.Builder
- Enclosing class:
- ImmutableType.Map
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newMap.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.Mapinstance.Initializes the value for thekeyattribute.nullable(boolean nullable) Initializes the value for thenullableattribute.Initializes the value for thevalueattribute.
-
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.Mapinstance.- 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
-
key
Initializes the value for thekeyattribute.- Parameters:
key- The value for key- Returns:
thisbuilder for use in a chained invocation
-
value
Initializes the value for thevalueattribute.- Parameters:
value- The value for value- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newMap.- Returns:
- An immutable instance of Map
- Throws:
IllegalStateException- if any required attributes are missing
-