Class ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.Builder
java.lang.Object
org.apache.flink.table.planner.plan.rules.logical.ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.Builder
- Enclosing class:
- ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig
@NotThreadSafe
public static final class ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.Builder
extends Object
Builds instances of type
PushLimitIntoLegacyTableSourceScanRuleConfig.
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 newPushLimitIntoLegacyTableSourceScanRuleConfig.final ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.Builderdescription(String description) Initializes the value for thedescriptionattribute.final ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.Builderfrom(org.apache.calcite.plan.RelRule.Config instance) Fill a builder with attribute values from the providedorg.apache.calcite.plan.RelRule.Configinstance.final ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.BuilderFill a builder with attribute values from the providedorg.apache.flink.table.planner.plan.rules.logical.PushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfiginstance.final ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.BuilderoperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform operandSupplier) Initializes the value for theoperandSupplierattribute.final ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.BuilderrelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory relBuilderFactory) Initializes the value for therelBuilderFactoryattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.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 ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.Builder from(PushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig instance) Fill a builder with attribute values from the providedorg.apache.flink.table.planner.plan.rules.logical.PushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfiginstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
relBuilderFactory
@CanIgnoreReturnValue public final ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.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 ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.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 ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig.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
public ImmutablePushLimitIntoLegacyTableSourceScanRule.PushLimitIntoLegacyTableSourceScanRuleConfig build()Builds a newPushLimitIntoLegacyTableSourceScanRuleConfig.- Returns:
- An immutable instance of PushLimitIntoLegacyTableSourceScanRuleConfig
- Throws:
IllegalStateException- if any required attributes are missing
-