Class ImmutableFlinkFilterIntoJoinRuleConfig.Builder

java.lang.Object
org.apache.flink.table.planner.plan.rules.logical.ImmutableFlinkFilterIntoJoinRuleConfig.Builder
Enclosing class:
ImmutableFlinkFilterIntoJoinRuleConfig

@NotThreadSafe public static final class ImmutableFlinkFilterIntoJoinRuleConfig.Builder extends Object
Builds instances of type ImmutableFlinkFilterIntoJoinRuleConfig. 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 Details

    • from

      @CanIgnoreReturnValue public final ImmutableFlinkFilterIntoJoinRuleConfig.Builder from(org.apache.calcite.plan.RelRule.Config instance)
      Fill a builder with attribute values from the provided org.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 ImmutableFlinkFilterIntoJoinRuleConfig.Builder from(FlinkFilterJoinRule.Config instance)
      Fill a builder with attribute values from the provided org.apache.flink.table.planner.plan.rules.logical.FlinkFilterJoinRule.Config instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • from

      Fill a builder with attribute values from the provided org.apache.flink.table.planner.plan.rules.logical.FlinkFilterJoinRule.FlinkFilterIntoJoinRule.FlinkFilterIntoJoinRuleConfig instance.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • withRelBuilderFactory

      @CanIgnoreReturnValue public final ImmutableFlinkFilterIntoJoinRuleConfig.Builder withRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory relBuilderFactory)
      Initializes the value for the relBuilderFactory 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
    • withDescription

      @CanIgnoreReturnValue public final ImmutableFlinkFilterIntoJoinRuleConfig.Builder withDescription(@Nullable String description)
      Initializes the value for the description attribute.
      Parameters:
      description - The value for description (can be null)
      Returns:
      this builder for use in a chained invocation
    • withOperandSupplier

      @CanIgnoreReturnValue public final ImmutableFlinkFilterIntoJoinRuleConfig.Builder withOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform operandSupplier)
      Initializes the value for the operandSupplier 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
    • withSmart

      @CanIgnoreReturnValue public final ImmutableFlinkFilterIntoJoinRuleConfig.Builder withSmart(boolean smart)
      Initializes the value for the smart attribute.

      If not set, this attribute will have a default value as returned by the initializer of smart.

      Parameters:
      smart - The value for smart
      Returns:
      this builder for use in a chained invocation
    • withPredicate

      @CanIgnoreReturnValue public final ImmutableFlinkFilterIntoJoinRuleConfig.Builder withPredicate(FlinkFilterJoinRule.Predicate predicate)
      Initializes the value for the predicate attribute.
      Parameters:
      predicate - The value for predicate
      Returns:
      this builder for use in a chained invocation
    • build

      Returns:
      An immutable instance of FlinkFilterIntoJoinRuleConfig
      Throws:
      IllegalStateException - if any required attributes are missing