OmniSciDB  c07336695a
org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder Class Reference
+ Collaboration diagram for org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder:

Public Member Functions

ConfigBuilder withConfig (Config config)
 
ConfigBuilder withConvertTableAccess (boolean convertTableAccess)
 
ConfigBuilder withDecorrelationEnabled (boolean enabled)
 
ConfigBuilder withTrimUnusedFields (boolean trimUnusedFields)
 
ConfigBuilder withCreateValuesRel (boolean createValuesRel)
 
ConfigBuilder withExplain (boolean explain)
 
ConfigBuilder withExpand (boolean expand)
 
ConfigBuilder withInSubqueryThreshold (int inSubQueryThreshold)
 
ConfigBuilder withInSubQueryThreshold (int inSubQueryThreshold)
 
ConfigBuilder withRelBuilderFactory (RelBuilderFactory relBuilderFactory)
 
Config build ()
 

Private Member Functions

 ConfigBuilder ()
 

Private Attributes

boolean convertTableAccess = true
 
boolean decorrelationEnabled = true
 
boolean trimUnusedFields = false
 
boolean createValuesRel = true
 
boolean explain
 
boolean expand = true
 
int inSubQueryThreshold = DEFAULT_IN_SUB_QUERY_THRESHOLD
 
RelBuilderFactory relBuilderFactory = RelFactories.LOGICAL_BUILDER
 

Detailed Description

Builder for a Config.

Definition at line 5322 of file SqlToRelConverter.java.

Constructor & Destructor Documentation

◆ ConfigBuilder()

org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.ConfigBuilder ( )
inlineprivate

Definition at line 5332 of file SqlToRelConverter.java.

5332 {}

Member Function Documentation

◆ build()

Config org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.build ( )
inline

Builds a Config.

Definition at line 5393 of file SqlToRelConverter.java.

Referenced by org.apache.calcite.sql2rel.SqlToRelConverter.SqlToRelConverter().

+ Here is the caller graph for this function:

◆ withConfig()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withConfig ( Config  config)
inline

Sets configuration identical to a given Config.

Definition at line 5335 of file SqlToRelConverter.java.

References org.apache.calcite.sql2rel.SqlToRelConverter.Config.getInSubQueryThreshold(), org.apache.calcite.sql2rel.SqlToRelConverter.Config.getRelBuilderFactory(), org.apache.calcite.sql2rel.SqlToRelConverter.Config.isConvertTableAccess(), org.apache.calcite.sql2rel.SqlToRelConverter.Config.isCreateValuesRel(), org.apache.calcite.sql2rel.SqlToRelConverter.Config.isDecorrelationEnabled(), org.apache.calcite.sql2rel.SqlToRelConverter.Config.isExpand(), org.apache.calcite.sql2rel.SqlToRelConverter.Config.isExplain(), and org.apache.calcite.sql2rel.SqlToRelConverter.Config.isTrimUnusedFields().

Referenced by org.apache.calcite.sql2rel.SqlToRelConverter.SqlToRelConverter().

5335  {
5336  this.convertTableAccess = config.isConvertTableAccess();
5337  this.decorrelationEnabled = config.isDecorrelationEnabled();
5339  this.createValuesRel = config.isCreateValuesRel();
5340  this.explain = config.isExplain();
5341  this.expand = config.isExpand();
5342  this.inSubQueryThreshold = config.getInSubQueryThreshold();
5343  this.relBuilderFactory = config.getRelBuilderFactory();
5344  return this;
5345  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ withConvertTableAccess()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withConvertTableAccess ( boolean  convertTableAccess)
inline

Definition at line 5347 of file SqlToRelConverter.java.

5347  {
5349  return this;
5350  }

◆ withCreateValuesRel()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withCreateValuesRel ( boolean  createValuesRel)
inline

Definition at line 5362 of file SqlToRelConverter.java.

5362  {
5364  return this;
5365  }

◆ withDecorrelationEnabled()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withDecorrelationEnabled ( boolean  enabled)
inline

Definition at line 5352 of file SqlToRelConverter.java.

5352  {
5353  this.decorrelationEnabled = enabled;
5354  return this;
5355  }

◆ withExpand()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withExpand ( boolean  expand)
inline

Definition at line 5372 of file SqlToRelConverter.java.

5372  {
5373  this.expand = expand;
5374  return this;
5375  }

◆ withExplain()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withExplain ( boolean  explain)
inline

Definition at line 5367 of file SqlToRelConverter.java.

5367  {
5368  this.explain = explain;
5369  return this;
5370  }

◆ withInSubqueryThreshold()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withInSubqueryThreshold ( int  inSubQueryThreshold)
inline

◆ withInSubQueryThreshold()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withInSubQueryThreshold ( int  inSubQueryThreshold)
inline

Definition at line 5382 of file SqlToRelConverter.java.

◆ withRelBuilderFactory()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withRelBuilderFactory ( RelBuilderFactory  relBuilderFactory)
inline

Definition at line 5387 of file SqlToRelConverter.java.

5387  {
5389  return this;
5390  }

◆ withTrimUnusedFields()

ConfigBuilder org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.withTrimUnusedFields ( boolean  trimUnusedFields)
inline

Definition at line 5357 of file SqlToRelConverter.java.

References org.apache.calcite.sql2rel.SqlToRelConverter.trimUnusedFields().

5357  {
5359  return this;
5360  }
+ Here is the call graph for this function:

Member Data Documentation

◆ convertTableAccess

boolean org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.convertTableAccess = true
private

Definition at line 5323 of file SqlToRelConverter.java.

◆ createValuesRel

boolean org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.createValuesRel = true
private

Definition at line 5326 of file SqlToRelConverter.java.

◆ decorrelationEnabled

boolean org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.decorrelationEnabled = true
private

Definition at line 5324 of file SqlToRelConverter.java.

◆ expand

boolean org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.expand = true
private

Definition at line 5328 of file SqlToRelConverter.java.

◆ explain

boolean org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.explain
private

Definition at line 5327 of file SqlToRelConverter.java.

◆ inSubQueryThreshold

int org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.inSubQueryThreshold = DEFAULT_IN_SUB_QUERY_THRESHOLD
private

Definition at line 5329 of file SqlToRelConverter.java.

◆ relBuilderFactory

RelBuilderFactory org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.relBuilderFactory = RelFactories.LOGICAL_BUILDER
private

Definition at line 5330 of file SqlToRelConverter.java.

◆ trimUnusedFields

boolean org.apache.calcite.sql2rel.SqlToRelConverter.ConfigBuilder.trimUnusedFields = false
private

Definition at line 5325 of file SqlToRelConverter.java.


The documentation for this class was generated from the following file: