Tabnine Logo
RexProgram.collectExplainTerms
Code IndexAdd Tabnine to your IDE (free)

How to use
collectExplainTerms
method
in
org.apache.calcite.rex.RexProgram

Best Java code snippets using org.apache.calcite.rex.RexProgram.collectExplainTerms (Showing top 6 results out of 315)

origin: Qihoo360/Quicksql

public RelWriter collectExplainTerms(
  String prefix,
  RelWriter pw) {
 return collectExplainTerms(
   prefix,
   pw,
   SqlExplainLevel.EXPPLAN_ATTRIBUTES);
}
origin: org.apache.calcite/calcite-core

public RelWriter collectExplainTerms(
  String prefix,
  RelWriter pw) {
 return collectExplainTerms(
   prefix,
   pw,
   SqlExplainLevel.EXPPLAN_ATTRIBUTES);
}
origin: Qihoo360/Quicksql

/**
 * Writes an explanation of the expressions in this program to a plan
 * writer.
 *
 * @param pw Plan writer
 */
public RelWriter explainCalc(RelWriter pw) {
 return collectExplainTerms("", pw, pw.getDetailLevel());
}
origin: org.apache.calcite/calcite-core

/**
 * Writes an explanation of the expressions in this program to a plan
 * writer.
 *
 * @param pw Plan writer
 */
public RelWriter explainCalc(RelWriter pw) {
 return collectExplainTerms("", pw, pw.getDetailLevel());
}
origin: Qihoo360/Quicksql

public String toString() {
 // Intended to produce similar output to explainCalc,
 // but without requiring a RelNode or RelOptPlanWriter.
 final RelWriterImpl pw =
   new RelWriterImpl(new PrintWriter(new StringWriter()));
 collectExplainTerms("", pw);
 return pw.simple();
}
origin: org.apache.calcite/calcite-core

public String toString() {
 // Intended to produce similar output to explainCalc,
 // but without requiring a RelNode or RelOptPlanWriter.
 final RelWriterImpl pw =
   new RelWriterImpl(new PrintWriter(new StringWriter()));
 collectExplainTerms("", pw);
 return pw.simple();
}
org.apache.calcite.rexRexProgramcollectExplainTerms

Javadoc

Collects the expressions in this program into a list of terms and values.

Popular methods of RexProgram

  • expandLocalRef
    Fully expands a RexLocalRef back into a pure RexNode tree containing no RexLocalRefs (reversing the
  • getCondition
    Returns the field reference of this program's filter condition, or null if there is no condition.
  • getInputRowType
    Returns the type of the input row to the program.
  • getProjectList
    Returns an array of references to the expressions which this program is to project. Never null, may
  • create
    Creates a program which calculates projections and filters rows based upon a condition. Does not att
  • getExprList
    Returns the common sub-expressions of this program.The list is never null but may be empty; each the
  • normalize
  • toString
  • <init>
    Creates a program.The expressions must be valid: they must not contain common expressions, forward r
  • containsAggs
    Returns whether this program contains windowed aggregate functions
  • getExprCount
    Returns the number of expressions in this program.
  • getOutputRowType
    Returns the type of the output row from this program.
  • getExprCount,
  • getOutputRowType,
  • countTrivial,
  • createIdentity,
  • deduceCollations,
  • explainCalc,
  • getCollations,
  • getPermutation,
  • getSourceField

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top PhpStorm plugins
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