Class ImmutableFlinkJoinToMultiJoinRule.Config
- java.lang.Object
-
- org.apache.flink.table.planner.plan.rules.logical.ImmutableFlinkJoinToMultiJoinRule.Config
-
- All Implemented Interfaces:
org.apache.calcite.plan.RelRule.Config
,FlinkJoinToMultiJoinRule.Config
- Enclosing class:
- ImmutableFlinkJoinToMultiJoinRule
@Immutable @CheckReturnValue public static final class ImmutableFlinkJoinToMultiJoinRule.Config extends Object implements FlinkJoinToMultiJoinRule.Config
Immutable implementation ofFlinkJoinToMultiJoinRule.Config
.Use the builder to create immutable instances:
ImmutableFlinkJoinToMultiJoinRule.Config.builder()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableFlinkJoinToMultiJoinRule.Config.Builder
Builds instances of typeConfig
.
-
Field Summary
-
Fields inherited from interface org.apache.flink.table.planner.plan.rules.logical.FlinkJoinToMultiJoinRule.Config
DEFAULT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableFlinkJoinToMultiJoinRule.Config.Builder
builder()
Creates a builder forConfig
.static ImmutableFlinkJoinToMultiJoinRule.Config
copyOf(FlinkJoinToMultiJoinRule.Config instance)
Creates an immutable copy of aFlinkJoinToMultiJoinRule.Config
value.String
description()
boolean
equals(Object another)
This instance is equal to all instances ofConfig
that have equal attribute values.int
hashCode()
Computes a hash code from attributes:relBuilderFactory
,description
,operandSupplier
.org.apache.calcite.plan.RelRule.OperandTransform
operandSupplier()
org.apache.calcite.tools.RelBuilderFactory
relBuilderFactory()
String
toString()
Prints the immutable valueConfig
with attribute values.ImmutableFlinkJoinToMultiJoinRule.Config
withDescription(String value)
Copy the current immutable object by setting a value for thedescription
attribute.ImmutableFlinkJoinToMultiJoinRule.Config
withOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform value)
Copy the current immutable object by setting a value for theoperandSupplier
attribute.ImmutableFlinkJoinToMultiJoinRule.Config
withRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory value)
Copy the current immutable object by setting a value for therelBuilderFactory
attribute.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.planner.plan.rules.logical.FlinkJoinToMultiJoinRule.Config
toRule, withOperandFor
-
-
-
-
Method Detail
-
relBuilderFactory
public org.apache.calcite.tools.RelBuilderFactory relBuilderFactory()
- Specified by:
relBuilderFactory
in interfaceorg.apache.calcite.plan.RelRule.Config
- Returns:
- The value of the
relBuilderFactory
attribute
-
description
@Nullable public String description()
- Specified by:
description
in interfaceorg.apache.calcite.plan.RelRule.Config
- Returns:
- The value of the
description
attribute
-
operandSupplier
public org.apache.calcite.plan.RelRule.OperandTransform operandSupplier()
- Specified by:
operandSupplier
in interfaceorg.apache.calcite.plan.RelRule.Config
- Returns:
- The value of the
operandSupplier
attribute
-
withRelBuilderFactory
public final ImmutableFlinkJoinToMultiJoinRule.Config withRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory value)
Copy the current immutable object by setting a value for therelBuilderFactory
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Specified by:
withRelBuilderFactory
in interfaceorg.apache.calcite.plan.RelRule.Config
- Parameters:
value
- A new value for relBuilderFactory- Returns:
- A modified copy of the
this
object
-
withDescription
public final ImmutableFlinkJoinToMultiJoinRule.Config withDescription(@Nullable String value)
Copy the current immutable object by setting a value for thedescription
attribute. An equals check used to prevent copying of the same value by returningthis
.- Specified by:
withDescription
in interfaceorg.apache.calcite.plan.RelRule.Config
- Parameters:
value
- A new value for description (can benull
)- Returns:
- A modified copy of the
this
object
-
withOperandSupplier
public final ImmutableFlinkJoinToMultiJoinRule.Config withOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform value)
Copy the current immutable object by setting a value for theoperandSupplier
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Specified by:
withOperandSupplier
in interfaceorg.apache.calcite.plan.RelRule.Config
- Parameters:
value
- A new value for operandSupplier- Returns:
- A modified copy of the
this
object
-
equals
public boolean equals(@Nullable Object another)
This instance is equal to all instances ofConfig
that have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:relBuilderFactory
,description
,operandSupplier
.
-
toString
public String toString()
Prints the immutable valueConfig
with attribute values.
-
copyOf
public static ImmutableFlinkJoinToMultiJoinRule.Config copyOf(FlinkJoinToMultiJoinRule.Config instance)
Creates an immutable copy of aFlinkJoinToMultiJoinRule.Config
value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance
- The instance to copy- Returns:
- A copied immutable Config instance
-
builder
public static ImmutableFlinkJoinToMultiJoinRule.Config.Builder builder()
Creates a builder forConfig
.ImmutableFlinkJoinToMultiJoinRule.Config.builder() .relBuilderFactory(org.apache.calcite.tools.RelBuilderFactory) // optional
relBuilderFactory
.description(String | null) // nullabledescription
.operandSupplier(org.apache.calcite.plan.RelRule.OperandTransform) // optionaloperandSupplier
.build();- Returns:
- A new Config builder
-
-