Tabnine Logo
LogicalTableFunctionScan.getInputs
Code IndexAdd Tabnine to your IDE (free)

How to use
getInputs
method
in
org.apache.calcite.rel.logical.LogicalTableFunctionScan

Best Java code snippets using org.apache.calcite.rel.logical.LogicalTableFunctionScan.getInputs (Showing top 7 results out of 315)

origin: Qihoo360/Quicksql

final List<RelNode> newInputs = new ArrayList<>();
for (RelNode input : tabFun.getInputs()) {
 final int inputFieldCount = input.getRowType().getFieldCount();
 ImmutableBitSet inputFieldsUsed = ImmutableBitSet.range(inputFieldCount);
if (!tabFun.getInputs().equals(newInputs)) {
 newTabFun = tabFun.copy(tabFun.getTraitSet(), newInputs,
   tabFun.getCall(), tabFun.getElementType(), tabFun.getRowType(),
origin: org.apache.calcite/calcite-core

final List<RelNode> newInputs = new ArrayList<>();
for (RelNode input : tabFun.getInputs()) {
 final int inputFieldCount = input.getRowType().getFieldCount();
 ImmutableBitSet inputFieldsUsed = ImmutableBitSet.range(inputFieldCount);
if (!tabFun.getInputs().equals(newInputs)) {
 newTabFun = tabFun.copy(tabFun.getTraitSet(), newInputs,
   tabFun.getCall(), tabFun.getElementType(), tabFun.getRowType(),
origin: Qihoo360/Quicksql

 @Override public RelNode convert(RelNode rel) {
  final RelTraitSet traitSet =
    rel.getTraitSet().replace(EnumerableConvention.INSTANCE);
  LogicalTableFunctionScan tbl = (LogicalTableFunctionScan) rel;
  return new EnumerableTableFunctionScan(rel.getCluster(), traitSet,
    tbl.getInputs(), tbl.getElementType(), tbl.getRowType(),
    tbl.getCall(), tbl.getColumnMappings());
 }
}
origin: org.apache.calcite/calcite-core

 @Override public RelNode convert(RelNode rel) {
  final RelTraitSet traitSet =
    rel.getTraitSet().replace(EnumerableConvention.INSTANCE);
  LogicalTableFunctionScan tbl = (LogicalTableFunctionScan) rel;
  return new EnumerableTableFunctionScan(rel.getCluster(), traitSet,
    tbl.getInputs(), tbl.getElementType(), tbl.getRowType(),
    tbl.getCall(), tbl.getColumnMappings());
 }
}
origin: dremio/dremio-oss

private RelNode copyOf(LogicalTableFunctionScan rel) {
 return new LogicalTableFunctionScan(
  cluster,
  copyOf(rel.getTraitSet()),
  visitAll(rel.getInputs()),
  copyOf(rel.getCall()),
  rel.getElementType(),
  copyOf(rel.getRowType()),
  rel.getColumnMappings()
 );
}
origin: org.apache.calcite/calcite-core

List<RelNode> funcInputs = funcRel.getInputs();
if (funcInputs.size() != 1) {
origin: Qihoo360/Quicksql

List<RelNode> funcInputs = funcRel.getInputs();
if (funcInputs.size() != 1) {
org.apache.calcite.rel.logicalLogicalTableFunctionScangetInputs

Popular methods of LogicalTableFunctionScan

  • create
    Creates a LogicalTableFunctionScan.
  • <init>
    Creates a LogicalTableFunctionScan by parsing serialized output.
  • getCall
  • getColumnMappings
  • getElementType
  • getRowType
  • getTraitSet
  • copy
  • getCluster

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • getResourceAsStream (ClassLoader)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • JList (javax.swing)
  • Join (org.hibernate.mapping)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now