Package io.substrait.relation.physical
Class ImmutableNestedLoopJoin.Builder
java.lang.Object
io.substrait.relation.physical.ImmutableNestedLoopJoin.Builder
- Enclosing class:
- ImmutableNestedLoopJoin
Builds instances of type
ImmutableNestedLoopJoin.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newImmutableNestedLoopJoin.commonExtension(AdvancedExtension commonExtension) Initializes the optional valuecommonExtensionto commonExtension.commonExtension(Optional<? extends AdvancedExtension> commonExtension) Initializes the optional valuecommonExtensionto commonExtension.condition(Expression condition) Initializes the value for theconditionattribute.extension(AdvancedExtension extension) Initializes the optional valueextensionto extension.extension(Optional<? extends AdvancedExtension> extension) Initializes the optional valueextensionto extension.from(AbstractRel instance) Fill a builder with attribute values from the providedio.substrait.relation.AbstractRelinstance.Fill a builder with attribute values from the providedio.substrait.relation.BiRelinstance.from(HasExtension instance) Fill a builder with attribute values from the providedio.substrait.relation.HasExtensioninstance.from(NestedLoopJoin instance) Fill a builder with attribute values from the providedio.substrait.relation.physical.NestedLoopJoininstance.Fill a builder with attribute values from the providedio.substrait.relation.Relinstance.Initializes the optional valuehintto hint.Initializes the optional valuehintto hint.joinType(NestedLoopJoin.JoinType joinType) Initializes the value for thejoinTypeattribute.Initializes the value for theleftattribute.Initializes the optional valueremapto remap.Initializes the optional valueremapto remap.Initializes the value for therightattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedio.substrait.relation.HasExtensioninstance.- 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.relation.Relinstance.- 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.relation.physical.NestedLoopJoininstance.- 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.relation.AbstractRelinstance.- 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.relation.BiRelinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
extension
Initializes the optional valueextensionto extension.- Parameters:
extension- The value for extension- Returns:
thisbuilder for chained invocation
-
extension
public final ImmutableNestedLoopJoin.Builder extension(Optional<? extends AdvancedExtension> extension) Initializes the optional valueextensionto extension.- Parameters:
extension- The value for extension- Returns:
thisbuilder for use in a chained invocation
-
remap
Initializes the optional valueremapto remap.- Parameters:
remap- The value for remap- Returns:
thisbuilder for chained invocation
-
remap
Initializes the optional valueremapto remap.- Parameters:
remap- The value for remap- Returns:
thisbuilder for use in a chained invocation
-
commonExtension
Initializes the optional valuecommonExtensionto commonExtension.- Parameters:
commonExtension- The value for commonExtension- Returns:
thisbuilder for chained invocation
-
commonExtension
public final ImmutableNestedLoopJoin.Builder commonExtension(Optional<? extends AdvancedExtension> commonExtension) Initializes the optional valuecommonExtensionto commonExtension.- Parameters:
commonExtension- The value for commonExtension- Returns:
thisbuilder for use in a chained invocation
-
hint
Initializes the optional valuehintto hint.- Parameters:
hint- The value for hint- Returns:
thisbuilder for chained invocation
-
hint
Initializes the optional valuehintto hint.- Parameters:
hint- The value for hint- Returns:
thisbuilder for use in a chained invocation
-
left
Initializes the value for theleftattribute.- Parameters:
left- The value for left- Returns:
thisbuilder for use in a chained invocation
-
right
Initializes the value for therightattribute.- Parameters:
right- The value for right- Returns:
thisbuilder for use in a chained invocation
-
condition
Initializes the value for theconditionattribute.- Parameters:
condition- The value for condition- Returns:
thisbuilder for use in a chained invocation
-
joinType
Initializes the value for thejoinTypeattribute.- Parameters:
joinType- The value for joinType- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableNestedLoopJoin.- Returns:
- An immutable instance of NestedLoopJoin
- Throws:
IllegalStateException- if any required attributes are missing
-