congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RexTableInputRef.getTableRef
Code IndexAdd Tabnine to your IDE (free)

How to use
getTableRef
method
in
org.apache.calcite.rex.RexTableInputRef

Best Java code snippets using org.apache.calcite.rex.RexTableInputRef.getTableRef (Showing top 9 results out of 315)

origin: apache/hive

 return null;
List<Integer> cols = tabToOriginColumns.get(inputRef.getTableRef());
if (cols == null) {
 cols = new ArrayList<>();
tabToOriginColumns.put(inputRef.getTableRef(), cols);
origin: Qihoo360/Quicksql

 @Override public Void visitTableInputRef(RexTableInputRef ref) {
  occurrences.add(ref.getTableRef());
  return super.visitTableInputRef(ref);
 }
};
origin: org.apache.calcite/calcite-core

 @Override public Void visitTableInputRef(RexTableInputRef ref) {
  occurrences.add(ref.getTableRef());
  return super.visitTableInputRef(ref);
 }
};
origin: Qihoo360/Quicksql

 @Override public RexNode visitTableInputRef(RexTableInputRef inputRef) {
  if (ec != null) {
   Set<RexTableInputRef> s = ec.get(inputRef);
   if (s != null) {
    inputRef = s.iterator().next();
   }
  }
  if (tableMapping != null) {
   inputRef = RexTableInputRef.of(
     tableMapping.get(inputRef.getTableRef()),
     inputRef.getIndex(),
     inputRef.getType());
  }
  return inputRef;
 }
};
origin: Qihoo360/Quicksql

 @Override public RexNode visitTableInputRef(RexTableInputRef inputRef) {
  if (tableMapping != null) {
   inputRef = RexTableInputRef.of(
     tableMapping.get(inputRef.getTableRef()),
     inputRef.getIndex(),
     inputRef.getType());
  }
  if (ec != null) {
   Set<RexTableInputRef> s = ec.get(inputRef);
   if (s != null) {
    inputRef = s.iterator().next();
   }
  }
  return inputRef;
 }
};
origin: org.apache.calcite/calcite-core

 @Override public RexNode visitTableInputRef(RexTableInputRef inputRef) {
  if (ec != null) {
   Set<RexTableInputRef> s = ec.get(inputRef);
   if (s != null) {
    inputRef = s.iterator().next();
   }
  }
  if (tableMapping != null) {
   inputRef = RexTableInputRef.of(
     tableMapping.get(inputRef.getTableRef()),
     inputRef.getIndex(),
     inputRef.getType());
  }
  return inputRef;
 }
};
origin: org.apache.calcite/calcite-core

 @Override public RexNode visitTableInputRef(RexTableInputRef inputRef) {
  if (tableMapping != null) {
   inputRef = RexTableInputRef.of(
     tableMapping.get(inputRef.getTableRef()),
     inputRef.getIndex(),
     inputRef.getType());
  }
  if (ec != null) {
   Set<RexTableInputRef> s = ec.get(inputRef);
   if (s != null) {
    inputRef = s.iterator().next();
   }
  }
  return inputRef;
 }
};
origin: org.apache.calcite/calcite-core

  e.getKey().getTableRef());
RexTableInputRef queryColumnRef = RexTableInputRef.of(queryTableRef,
  e.getKey().getIndex(), e.getKey().getType());
queryToViewTableMapping.put(e.getValue().getTableRef(),
  e.getValue().getTableRef()); // identity
origin: Qihoo360/Quicksql

  e.getKey().getTableRef());
RexTableInputRef queryColumnRef = RexTableInputRef.of(queryTableRef,
  e.getKey().getIndex(), e.getKey().getType());
queryToViewTableMapping.put(e.getValue().getTableRef(),
  e.getValue().getTableRef()); // identity
org.apache.calcite.rexRexTableInputRefgetTableRef

Popular methods of RexTableInputRef

  • getIndex
  • of
  • <init>
  • getIdentifier
  • getQualifiedName
  • getType
  • toString

Popular in Java

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • setContentView (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Best plugins for Eclipse
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