Tabnine Logo
RelOptUtil$InputFinder
Code IndexAdd Tabnine to your IDE (free)

How to use
RelOptUtil$InputFinder
in
org.apache.calcite.plan

Best Java code snippets using org.apache.calcite.plan.RelOptUtil$InputFinder (Showing top 20 results out of 315)

origin: apache/drill

  mq.getPulledUpPredicates(join).pulledUpPredicates);
final ImmutableBitSet joinColumns =
  RelOptUtil.InputFinder.bits(join.getCondition());
final boolean allColumnsInAggregate =
  keyColumns.contains(joinColumns);
origin: apache/drill

  new LinkedHashSet<RelDataTypeField>(extraFields);
RelOptUtil.InputFinder inputFinder =
  new RelOptUtil.InputFinder(combinedInputExtraFields);
inputFinder.inputBitSet.addAll(fieldsUsed);
conditionExpr.accept(inputFinder);
origin: org.apache.calcite/calcite-core

  new LinkedHashSet<>(extraFields);
RelOptUtil.InputFinder inputFinder =
  new RelOptUtil.InputFinder(combinedInputExtraFields);
inputFinder.inputBitSet.addAll(fieldsUsed);
conditionExpr.accept(inputFinder);
origin: Qihoo360/Quicksql

  new LinkedHashSet<>(extraFields);
RelOptUtil.InputFinder inputFinder =
  new RelOptUtil.InputFinder(combinedInputExtraFields);
inputFinder.inputBitSet.addAll(fieldsUsed);
conditionExpr.accept(inputFinder);
origin: org.apache.calcite/calcite-core

final InputFinder inputFinder = InputFinder.analyze(filter);
final ImmutableBitSet inputBits = inputFinder.inputBitSet.build();
origin: Qihoo360/Quicksql

final InputFinder inputFinder = InputFinder.analyze(filter);
final ImmutableBitSet inputBits = inputFinder.inputBitSet.build();
origin: dremio/dremio-oss

final RelOptUtil.InputFinder inputFinder = new RelOptUtil.InputFinder();
inputFinder.inputBitSet.addAll(fieldsUsed);
originalJoinFilter.accept(inputFinder);
origin: org.apache.calcite/calcite-core

final RelOptUtil.InputFinder inputFinder = new RelOptUtil.InputFinder(inputExtraFields);
pred.accept(inputFinder);
final ImmutableBitSet inputFieldsUsed = inputFinder.inputBitSet.build();
origin: Qihoo360/Quicksql

final RelOptUtil.InputFinder inputFinder = new RelOptUtil.InputFinder(inputExtraFields);
pred.accept(inputFinder);
final ImmutableBitSet inputFieldsUsed = inputFinder.inputBitSet.build();
origin: Qihoo360/Quicksql

  new LinkedHashSet<>(extraFields);
RelOptUtil.InputFinder inputFinder =
  new RelOptUtil.InputFinder(inputExtraFields);
for (Ord<RexNode> ord : Ord.zip(project.getProjects())) {
 if (fieldsUsed.get(ord.i)) {
origin: org.apache.calcite/calcite-core

  new LinkedHashSet<>(extraFields);
RelOptUtil.InputFinder inputFinder =
  new RelOptUtil.InputFinder(inputExtraFields);
for (Ord<RexNode> ord : Ord.zip(project.getProjects())) {
 if (fieldsUsed.get(ord.i)) {
origin: Qihoo360/Quicksql

  RelOptUtil.InputFinder.bits(mutableFilters, null);
if (projects != null) {
 int changeCount = 0;
origin: Qihoo360/Quicksql

InputFinder.bits(project.getProjects(), multiJoin.getPostJoinFilter());
origin: org.apache.druid/druid-sql

final Aggregate aggregate = call.rel(1);
final ImmutableBitSet projectBits = RelOptUtil.InputFinder.bits(project.getChildExps(), null);
origin: Qihoo360/Quicksql

ImmutableBitSet left = RelOptUtil.InputFinder.bits(equalsOperands.get(0));
ImmutableBitSet right = RelOptUtil.InputFinder.bits(equalsOperands.get(1));
if (!left.isEmpty() && !right.isEmpty() && left.intersect(right).isEmpty()) {
 return call;
origin: Qihoo360/Quicksql

if (project != null) {
 final ImmutableBitSet bits =
   RelOptUtil.InputFinder.bits(project.getProjects(), null);
 final ImmutableBitSet rightBits =
   ImmutableBitSet.range(left.getRowType().getFieldCount(),
origin: org.apache.calcite/calcite-core

if (project != null) {
 final ImmutableBitSet bits =
   RelOptUtil.InputFinder.bits(project.getProjects(), null);
 final ImmutableBitSet rightBits =
   ImmutableBitSet.range(left.getRowType().getFieldCount(),
origin: Qihoo360/Quicksql

ImmutableBitSet rCols = RelOptUtil.InputFinder.bits(r);
if (columnsMapped.contains(rCols)) {
origin: Qihoo360/Quicksql

  final RexCall call = (RexCall) e;
  assert DruidDateTimeUtils.extractGranularity(call, timeZone) != null;
  index = RelOptUtil.InputFinder.bits(e).asList().get(0);
  break;
case IS_TRUE:
origin: org.apache.calcite/calcite-core

ImmutableBitSet left = RelOptUtil.InputFinder.bits(equalsOperands.get(0));
ImmutableBitSet right = RelOptUtil.InputFinder.bits(equalsOperands.get(1));
if (!left.isEmpty() && !right.isEmpty() && left.intersect(right).isEmpty()) {
 return call;
org.apache.calcite.planRelOptUtil$InputFinder

Javadoc

Visitor which builds a bitmap of the inputs used by an expression.

Most used methods

  • bits
    Returns a bit set describing the inputs used by an expression.
  • <init>
  • analyze
    Returns an input finder that has analyzed a given expression.

Popular in Java

  • Creating JSON documents from java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Reference (javax.naming)
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • From CI to AI: The AI layer in your organization
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