@Immutable @CheckReturnValue public static final class ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig extends Object implements FlinkCalcMergeRule.FlinkCalcMergeRuleConfig
FlinkCalcMergeRule.FlinkCalcMergeRuleConfig
.
Use the builder to create immutable instances:
ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig.Builder
Builds instances of type
FlinkCalcMergeRuleConfig . |
DEFAULT, STREAM_PHYSICAL
Modifier and Type | Method and Description |
---|---|
static ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig.Builder |
builder()
Creates a builder for
FlinkCalcMergeRuleConfig . |
static ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig |
copyOf(FlinkCalcMergeRule.FlinkCalcMergeRuleConfig instance)
Creates an immutable copy of a
FlinkCalcMergeRule.FlinkCalcMergeRuleConfig value. |
String |
description() |
boolean |
equals(Object another)
This instance is equal to all instances of
FlinkCalcMergeRuleConfig 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 value
FlinkCalcMergeRuleConfig with attribute values. |
ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig |
withOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform value)
Copy the current immutable object by setting a value for the
operandSupplier attribute. |
ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig |
withRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory value)
Copy the current immutable object by setting a value for the
relBuilderFactory attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toRule
public org.apache.calcite.tools.RelBuilderFactory relBuilderFactory()
relBuilderFactory
in interface org.apache.calcite.plan.RelRule.Config
relBuilderFactory
attribute@Nullable public String description()
description
in interface org.apache.calcite.plan.RelRule.Config
description
attributepublic org.apache.calcite.plan.RelRule.OperandTransform operandSupplier()
operandSupplier
in interface org.apache.calcite.plan.RelRule.Config
operandSupplier
attributepublic final ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig withRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory value)
relBuilderFactory
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.withRelBuilderFactory
in interface org.apache.calcite.plan.RelRule.Config
value
- A new value for relBuilderFactorythis
objectpublic final ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig withDescription(@Nullable String value)
description
attribute.
An equals check used to prevent copying of the same value by returning this
.withDescription
in interface org.apache.calcite.plan.RelRule.Config
value
- A new value for description (can be null
)this
objectpublic final ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig withOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform value)
operandSupplier
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.withOperandSupplier
in interface org.apache.calcite.plan.RelRule.Config
value
- A new value for operandSupplierthis
objectpublic boolean equals(@Nullable Object another)
FlinkCalcMergeRuleConfig
that have equal attribute values.public int hashCode()
relBuilderFactory
, description
, operandSupplier
.public String toString()
FlinkCalcMergeRuleConfig
with attribute values.public static ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig copyOf(FlinkCalcMergeRule.FlinkCalcMergeRuleConfig instance)
FlinkCalcMergeRule.FlinkCalcMergeRuleConfig
value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance
- The instance to copypublic static ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig.Builder builder()
FlinkCalcMergeRuleConfig
.
ImmutableFlinkCalcMergeRule.FlinkCalcMergeRuleConfig.builder() .relBuilderFactory(org.apache.calcite.tools.RelBuilderFactory) // optionalrelBuilderFactory
.description(String | null) // nullabledescription
.operandSupplier(org.apache.calcite.plan.RelRule.OperandTransform) // optionaloperandSupplier
.build();
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.