Class ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig
java.lang.Object
org.apache.flink.table.planner.plan.rules.physical.batch.ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig
- All Implemented Interfaces:
org.apache.calcite.plan.RelRule.Config,BatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig
- Enclosing class:
- ImmutableBatchPhysicalConstantTableFunctionScanRule
@Immutable
@CheckReturnValue
public static final class ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig
extends Object
implements BatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig
Immutable implementation of
BatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig.
Use the builder to create immutable instances:
ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeBatchPhysicalConstantTableFunctionScanRuleConfig. -
Field Summary
Fields inherited from interface org.apache.flink.table.planner.plan.rules.physical.batch.BatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig
DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forBatchPhysicalConstantTableFunctionScanRuleConfig.static ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfigcopyOf(BatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig instance) Creates an immutable copy of aBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfigvalue.booleanThis instance is equal to all instances ofBatchPhysicalConstantTableFunctionScanRuleConfigthat have equal attribute values.inthashCode()Computes a hash code from attributes:relBuilderFactory,description,operandSupplier.org.apache.calcite.plan.RelRule.OperandTransformorg.apache.calcite.tools.RelBuilderFactorytoString()Prints the immutable valueBatchPhysicalConstantTableFunctionScanRuleConfigwith attribute values.final ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfigwithDescription(String value) Copy the current immutable object by setting a value for thedescriptionattribute.final ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfigwithOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform value) Copy the current immutable object by setting a value for theoperandSupplierattribute.final ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfigwithRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory value) Copy the current immutable object by setting a value for therelBuilderFactoryattribute.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.table.planner.plan.rules.physical.batch.BatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig
toRuleMethods inherited from interface org.apache.calcite.plan.RelRule.Config
as
-
Method Details
-
relBuilderFactory
public org.apache.calcite.tools.RelBuilderFactory relBuilderFactory()- Specified by:
relBuilderFactoryin interfaceorg.apache.calcite.plan.RelRule.Config- Returns:
- The value of the
relBuilderFactoryattribute
-
description
- Specified by:
descriptionin interfaceorg.apache.calcite.plan.RelRule.Config- Returns:
- The value of the
descriptionattribute
-
operandSupplier
public org.apache.calcite.plan.RelRule.OperandTransform operandSupplier()- Specified by:
operandSupplierin interfaceorg.apache.calcite.plan.RelRule.Config- Returns:
- The value of the
operandSupplierattribute
-
withRelBuilderFactory
public final ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig withRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory value) Copy the current immutable object by setting a value for therelBuilderFactoryattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Specified by:
withRelBuilderFactoryin interfaceorg.apache.calcite.plan.RelRule.Config- Parameters:
value- A new value for relBuilderFactory- Returns:
- A modified copy of the
thisobject
-
withDescription
public final ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig withDescription(@Nullable String value) Copy the current immutable object by setting a value for thedescriptionattribute. An equals check used to prevent copying of the same value by returningthis.- Specified by:
withDescriptionin interfaceorg.apache.calcite.plan.RelRule.Config- Parameters:
value- A new value for description (can benull)- Returns:
- A modified copy of the
thisobject
-
withOperandSupplier
public final ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig withOperandSupplier(org.apache.calcite.plan.RelRule.OperandTransform value) Copy the current immutable object by setting a value for theoperandSupplierattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Specified by:
withOperandSupplierin interfaceorg.apache.calcite.plan.RelRule.Config- Parameters:
value- A new value for operandSupplier- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofBatchPhysicalConstantTableFunctionScanRuleConfigthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:relBuilderFactory,description,operandSupplier. -
toString
Prints the immutable valueBatchPhysicalConstantTableFunctionScanRuleConfigwith attribute values. -
copyOf
public static ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig copyOf(BatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig instance) Creates an immutable copy of aBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfigvalue. 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 BatchPhysicalConstantTableFunctionScanRuleConfig instance
-
builder
public static ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig.Builder builder()Creates a builder forBatchPhysicalConstantTableFunctionScanRuleConfig.ImmutableBatchPhysicalConstantTableFunctionScanRule.BatchPhysicalConstantTableFunctionScanRuleConfig.builder() .relBuilderFactory(org.apache.calcite.tools.RelBuilderFactory) // optionalrelBuilderFactory.description(String | null) // nullabledescription.operandSupplier(org.apache.calcite.plan.RelRule.OperandTransform) // optionaloperandSupplier.build();- Returns:
- A new BatchPhysicalConstantTableFunctionScanRuleConfig builder
-