Class JdbcTableScan

All Implemented Interfaces:
Cloneable, JdbcRel, RelOptNode, Hintable, RelNode

public class JdbcTableScan extends TableScan implements JdbcRel
Relational expression representing a scan of a table in a JDBC data source.
  • Field Details

    • jdbcTable

      public final JdbcTable jdbcTable
  • Constructor Details

  • Method Details

    • copy

      public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
      Description copied from interface: RelNode
      Creates a copy of this relational expression, perhaps changing traits and inputs.

      Sub-classes with other important attributes are encouraged to create variants of this method with more parameters.

      Specified by:
      copy in interface RelNode
      copy in class AbstractRelNode
      traitSet - Trait set
      inputs - Inputs
      Copy of this relational expression, substituting traits and inputs
    • implement

      public SqlImplementor.Result implement(JdbcImplementor implementor)
      Specified by:
      implement in interface JdbcRel
    • withHints

      public RelNode withHints(List<RelHint> hintList)
      Description copied from interface: Hintable
      Returns a new relational expression with the specified hints hintList.

      This method should be overridden by every logical node that supports hint. It is only for internal use during decorrelation.

      Sub-class should return a new copy of the relational expression.

      The default implementation returns the relational expression directly only because not every kind of relational expression supports hints.

      Specified by:
      withHints in interface Hintable
      Relational expression with set up hints