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

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

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

origin: Qihoo360/Quicksql

/**
 * Creates an EnumerableCalc.
 *
 * <p>Use {@link #create} unless you know what you're doing.
 */
public EnumerableCalc(RelOptCluster cluster,
  RelTraitSet traitSet,
  RelNode input,
  RexProgram program) {
 super(cluster, traitSet, input, program);
 assert getConvention() instanceof EnumerableConvention;
 assert !program.containsAggs();
}
origin: org.apache.calcite/calcite-core

/**
 * Creates an EnumerableCalc.
 *
 * <p>Use {@link #create} unless you know what you're doing.
 */
public EnumerableCalc(RelOptCluster cluster,
  RelTraitSet traitSet,
  RelNode input,
  RexProgram program) {
 super(cluster, traitSet, input, program);
 assert getConvention() instanceof EnumerableConvention;
 assert !program.containsAggs();
}
origin: org.apache.calcite/calcite-core

/** Predicate for whether a {@link Calc} contains multisets or windowed
 * aggregates. */
public static boolean containsMultisetOrWindowedAgg(Calc calc) {
 return !(B
   && RexMultisetUtil.containsMultiset(calc.getProgram())
   || calc.getProgram().containsAggs());
}
origin: Qihoo360/Quicksql

/** Predicate for whether a {@link Calc} contains multisets or windowed
 * aggregates. */
public static boolean containsMultisetOrWindowedAgg(Calc calc) {
 return !(B
   && RexMultisetUtil.containsMultiset(calc.getProgram())
   || calc.getProgram().containsAggs());
}
origin: org.apache.calcite/calcite-core

  protected RelNode makeRel(RelOptCluster cluster,
    RelTraitSet traitSet, RelBuilder relBuilder, RelNode input,
    RexProgram program) {
   assert !program.containsAggs();
   program = program.normalize(cluster.getRexBuilder(), null);
   return super.makeRel(cluster, traitSet, relBuilder, input,
     program);
  }
},
origin: Qihoo360/Quicksql

  protected RelNode makeRel(RelOptCluster cluster,
    RelTraitSet traitSet, RelBuilder relBuilder, RelNode input,
    RexProgram program) {
   assert !program.containsAggs();
   program = program.normalize(cluster.getRexBuilder(), null);
   return super.makeRel(cluster, traitSet, relBuilder, input,
     program);
  }
},
origin: Qihoo360/Quicksql

if (calc.getProgram().containsAggs()) {
 return;
origin: org.apache.calcite/calcite-core

if (calc.getProgram().containsAggs()) {
 return;
origin: qubole/quark

 || calc.getProgram().containsAggs()) {
return;
org.apache.calcite.rexRexProgramcontainsAggs

Javadoc

Returns whether this program contains windowed aggregate functions

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
  • getExprCount
    Returns the number of expressions in this program.
  • getOutputRowType
    Returns the type of the output row from this program.
  • collectExplainTerms
    Collects the expressions in this program into a list of terms and values.
  • getOutputRowType,
  • collectExplainTerms,
  • countTrivial,
  • createIdentity,
  • deduceCollations,
  • explainCalc,
  • getCollations,
  • getPermutation,
  • getSourceField

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Table (org.hibernate.mapping)
    A relational table
  • 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