Tabnine Logo
RelMdUtil.setAggChildKeys
Code IndexAdd Tabnine to your IDE (free)

How to use
setAggChildKeys
method
in
org.apache.calcite.rel.metadata.RelMdUtil

Best Java code snippets using org.apache.calcite.rel.metadata.RelMdUtil.setAggChildKeys (Showing top 4 results out of 315)

origin: Qihoo360/Quicksql

public Double getPopulationSize(Aggregate rel, RelMetadataQuery mq,
  ImmutableBitSet groupKey) {
 ImmutableBitSet.Builder childKey = ImmutableBitSet.builder();
 RelMdUtil.setAggChildKeys(groupKey, rel, childKey);
 return mq.getPopulationSize(rel.getInput(), childKey.build());
}
origin: org.apache.calcite/calcite-core

public Double getPopulationSize(Aggregate rel, RelMetadataQuery mq,
  ImmutableBitSet groupKey) {
 ImmutableBitSet.Builder childKey = ImmutableBitSet.builder();
 RelMdUtil.setAggChildKeys(groupKey, rel, childKey);
 return mq.getPopulationSize(rel.getInput(), childKey.build());
}
origin: Qihoo360/Quicksql

RelMdUtil.setAggChildKeys(groupKey, rel, childKey);
origin: org.apache.calcite/calcite-core

RelMdUtil.setAggChildKeys(groupKey, rel, childKey);
org.apache.calcite.rel.metadataRelMdUtilsetAggChildKeys

Javadoc

Takes a bitmap representing a set of input references and extracts the ones that reference the group by columns in an aggregate.

Popular methods of RelMdUtil

  • guessSelectivity
    Returns default estimates for selectivities, in the absence of stats.
  • areColumnsDefinitelyUnique
    Returns true if the columns represented in a bit mask are definitely known to form a unique column s
  • areColumnsDefinitelyUniqueWhenNullsFiltered
    Returns true if the columns represented in a bit mask are definitely known to form a unique column s
  • getJoinDistinctRowCount
    Computes the number of distinct rows for a set of keys returned from a join. Also known as NDV (numb
  • minusPreds
    Takes the difference between two predicates, removing from the first any predicates also in the seco
  • estimateFilteredRows
  • linear
    Returns a point on a line.The result is always a value between minY and maxY, even if x is not betwe
  • getJoinRowCount
    Returns an estimate of the number of rows returned by a Join.
  • areColumnsUnique
  • areColumnsUniqueWhenNullsFiltered
  • capInfinity
    Caps a double value at Double.MAX_VALUE if it's currently infinity
  • cardOfProjExpr
    Computes the cardinality of a particular expression from the projection list.
  • capInfinity,
  • cardOfProjExpr,
  • checkInputForCollationAndLimit,
  • computeSemiJoinSelectivity,
  • getJoinPopulationSize,
  • getMinusRowCount,
  • getSelectivityValue,
  • getSemiJoinRowCount,
  • getUnionAllRowCount,
  • makeSemiJoinSelectivityRexNode

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • 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
  • 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
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • 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