Class ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder
- java.lang.Object
-
- org.apache.flink.table.planner.plan.rules.logical.ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder
-
- Enclosing class:
- ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig
@NotThreadSafe public static final class ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder extends Object
Builds instances of typeLogicalUnnestRuleConfig
. Initialize attributes and then invoke thebuild()
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig
build()
Builds a newLogicalUnnestRuleConfig
.ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder
description(String description)
Initializes the value for thedescription
attribute.ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder
from(org.apache.calcite.plan.RelRule.Config instance)
Fill a builder with attribute values from the providedorg.apache.calcite.plan.RelRule.Config
instance.ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder
from(LogicalUnnestRule.LogicalUnnestRuleConfig instance)
Fill a builder with attribute values from the providedorg.apache.flink.table.planner.plan.rules.logical.LogicalUnnestRule.LogicalUnnestRuleConfig
instance.ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder
operandSupplier(org.apache.calcite.plan.RelRule.OperandTransform operandSupplier)
Initializes the value for theoperandSupplier
attribute.ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder
relBuilderFactory(org.apache.calcite.tools.RelBuilderFactory relBuilderFactory)
Initializes the value for therelBuilderFactory
attribute.
-
-
-
Method Detail
-
from
@CanIgnoreReturnValue public final ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder from(org.apache.calcite.plan.RelRule.Config instance)
Fill a builder with attribute values from the providedorg.apache.calcite.plan.RelRule.Config
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
@CanIgnoreReturnValue public final ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder from(LogicalUnnestRule.LogicalUnnestRuleConfig instance)
Fill a builder with attribute values from the providedorg.apache.flink.table.planner.plan.rules.logical.LogicalUnnestRule.LogicalUnnestRuleConfig
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
relBuilderFactory
@CanIgnoreReturnValue public final ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder relBuilderFactory(org.apache.calcite.tools.RelBuilderFactory relBuilderFactory)
Initializes the value for therelBuilderFactory
attribute.If not set, this attribute will have a default value as returned by the initializer of
relBuilderFactory
.- Parameters:
relBuilderFactory
- The value for relBuilderFactory- Returns:
this
builder for use in a chained invocation
-
description
@CanIgnoreReturnValue public final ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder description(@Nullable String description)
Initializes the value for thedescription
attribute.- Parameters:
description
- The value for description (can benull
)- Returns:
this
builder for use in a chained invocation
-
operandSupplier
@CanIgnoreReturnValue public final ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig.Builder operandSupplier(org.apache.calcite.plan.RelRule.OperandTransform operandSupplier)
Initializes the value for theoperandSupplier
attribute.If not set, this attribute will have a default value as returned by the initializer of
operandSupplier
.- Parameters:
operandSupplier
- The value for operandSupplier- Returns:
this
builder for use in a chained invocation
-
build
public ImmutableLogicalUnnestRule.LogicalUnnestRuleConfig build()
Builds a newLogicalUnnestRuleConfig
.- Returns:
- An immutable instance of LogicalUnnestRuleConfig
- Throws:
IllegalStateException
- if any required attributes are missing
-
-