@Immutable @CheckReturnValue public static final class ImmutableRemoveUnreachableCoalesceArgumentsRule.Config extends Object implements RemoveUnreachableCoalesceArgumentsRule.Config
RemoveUnreachableCoalesceArgumentsRule.Config
.
Use the builder to create immutable instances:
ImmutableRemoveUnreachableCoalesceArgumentsRule.Config.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableRemoveUnreachableCoalesceArgumentsRule.Config.Builder
Builds instances of type
Config . |
DEFAULT
Modifier and Type | Method and Description |
---|---|
static ImmutableRemoveUnreachableCoalesceArgumentsRule.Config.Builder |
builder()
Creates a builder for
Config . |
static ImmutableRemoveUnreachableCoalesceArgumentsRule.Config |
copyOf(RemoveUnreachableCoalesceArgumentsRule.Config instance)
Creates an immutable copy of a
RemoveUnreachableCoalesceArgumentsRule.Config value. |
String |
description() |
boolean |
equals(Object another)
This instance is equal to all instances of
Config 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
Config with attribute values. |
ImmutableRemoveUnreachableCoalesceArgumentsRule.Config |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableRemoveUnreachableCoalesceArgumentsRule.Config |
withOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform value)
Copy the current immutable object by setting a value for the
operandSupplier attribute. |
ImmutableRemoveUnreachableCoalesceArgumentsRule.Config |
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, withCalc, withFilter, withJoin, withProject
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 ImmutableRemoveUnreachableCoalesceArgumentsRule.Config 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 ImmutableRemoveUnreachableCoalesceArgumentsRule.Config 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 ImmutableRemoveUnreachableCoalesceArgumentsRule.Config 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)
Config
that have equal attribute values.public int hashCode()
relBuilderFactory
, description
, operandSupplier
.public String toString()
Config
with attribute values.public static ImmutableRemoveUnreachableCoalesceArgumentsRule.Config copyOf(RemoveUnreachableCoalesceArgumentsRule.Config instance)
RemoveUnreachableCoalesceArgumentsRule.Config
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 ImmutableRemoveUnreachableCoalesceArgumentsRule.Config.Builder builder()
Config
.
ImmutableRemoveUnreachableCoalesceArgumentsRule.Config.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.