Class ImmutableRemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig.Builder
java.lang.Object
org.apache.flink.table.planner.plan.rules.physical.batch.ImmutableRemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig.Builder
@NotThreadSafe
public static final class ImmutableRemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig.Builder
extends Object
Builds instances of type
RemoveRedundantLocalRankRuleConfig.
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 newRemoveRedundantLocalRankRuleConfig.description(String description) Initializes the value for thedescriptionattribute.from(org.apache.calcite.plan.RelRule.Config instance) Fill a builder with attribute values from the providedorg.apache.calcite.plan.RelRule.Configinstance.Fill a builder with attribute values from the providedorg.apache.flink.table.planner.plan.rules.physical.batch.RemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfiginstance.operandSupplier(org.apache.calcite.plan.RelRule.OperandTransform operandSupplier) Initializes the value for theoperandSupplierattribute.relBuilderFactory(org.apache.calcite.tools.RelBuilderFactory relBuilderFactory) Initializes the value for therelBuilderFactoryattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableRemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig.Builder from(org.apache.calcite.plan.RelRule.Config instance) Fill a builder with attribute values from the providedorg.apache.calcite.plan.RelRule.Configinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
@CanIgnoreReturnValue public final ImmutableRemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig.Builder from(RemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig instance) Fill a builder with attribute values from the providedorg.apache.flink.table.planner.plan.rules.physical.batch.RemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfiginstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
relBuilderFactory
@CanIgnoreReturnValue public final ImmutableRemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig.Builder relBuilderFactory(org.apache.calcite.tools.RelBuilderFactory relBuilderFactory) Initializes the value for therelBuilderFactoryattribute.If not set, this attribute will have a default value as returned by the initializer of
relBuilderFactory.- Parameters:
relBuilderFactory- The value for relBuilderFactory- Returns:
thisbuilder for use in a chained invocation
-
description
@CanIgnoreReturnValue public final ImmutableRemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig.Builder description(@Nullable String description) Initializes the value for thedescriptionattribute.- Parameters:
description- The value for description (can benull)- Returns:
thisbuilder for use in a chained invocation
-
operandSupplier
@CanIgnoreReturnValue public final ImmutableRemoveRedundantLocalRankRule.RemoveRedundantLocalRankRuleConfig.Builder operandSupplier(org.apache.calcite.plan.RelRule.OperandTransform operandSupplier) Initializes the value for theoperandSupplierattribute.If not set, this attribute will have a default value as returned by the initializer of
operandSupplier.- Parameters:
operandSupplier- The value for operandSupplier- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newRemoveRedundantLocalRankRuleConfig.- Returns:
- An immutable instance of RemoveRedundantLocalRankRuleConfig
- Throws:
IllegalStateException- if any required attributes are missing
-