@Immutable @CheckReturnValue public static final class ImmutableProjectSnapshotTransposeRule.Config extends Object implements ProjectSnapshotTransposeRule.Config
ProjectSnapshotTransposeRule.Config.
Use the builder to create immutable instances:
ImmutableProjectSnapshotTransposeRule.Config.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableProjectSnapshotTransposeRule.Config.Builder
Builds instances of type
Config. |
DEFAULT| Modifier and Type | Method and Description |
|---|---|
static ImmutableProjectSnapshotTransposeRule.Config.Builder |
builder()
Creates a builder for
Config. |
static ImmutableProjectSnapshotTransposeRule.Config |
copyOf(ProjectSnapshotTransposeRule.Config instance)
Creates an immutable copy of a
ProjectSnapshotTransposeRule.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. |
ImmutableProjectSnapshotTransposeRule.Config |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableProjectSnapshotTransposeRule.Config |
withOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform value)
Copy the current immutable object by setting a value for the
operandSupplier attribute. |
ImmutableProjectSnapshotTransposeRule.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, waittoRule, withOperatorpublic org.apache.calcite.tools.RelBuilderFactory relBuilderFactory()
relBuilderFactory in interface org.apache.calcite.plan.RelRule.ConfigrelBuilderFactory attribute@Nullable public String description()
description in interface org.apache.calcite.plan.RelRule.Configdescription attributepublic org.apache.calcite.plan.RelRule.OperandTransform operandSupplier()
operandSupplier in interface org.apache.calcite.plan.RelRule.ConfigoperandSupplier attributepublic final ImmutableProjectSnapshotTransposeRule.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.Configvalue - A new value for relBuilderFactorythis objectpublic final ImmutableProjectSnapshotTransposeRule.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.Configvalue - A new value for description (can be null)this objectpublic final ImmutableProjectSnapshotTransposeRule.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.Configvalue - 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 ImmutableProjectSnapshotTransposeRule.Config copyOf(ProjectSnapshotTransposeRule.Config instance)
ProjectSnapshotTransposeRule.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 ImmutableProjectSnapshotTransposeRule.Config.Builder builder()
Config.
ImmutableProjectSnapshotTransposeRule.Config.builder()
.relBuilderFactory(org.apache.calcite.tools.RelBuilderFactory) // optional relBuilderFactory
.description(String | null) // nullable description
.operandSupplier(org.apache.calcite.plan.RelRule.OperandTransform) // optional operandSupplier
.build();
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.