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

How to use
values
method
in
org.apache.calcite.rel.metadata.RelMdDistribution

Best Java code snippets using org.apache.calcite.rel.metadata.RelMdDistribution.values (Showing top 6 results out of 315)

origin: apache/kylin

  public List<RelCollation> get() {
    return RelMdCollation.values(mq, rowType, tuples);
  }
}).replaceIf(RelDistributionTraitDef.INSTANCE, new Supplier<RelDistribution>() {
origin: org.apache.kylin/kylin-query

  public List<RelCollation> get() {
    return RelMdCollation.values(mq, rowType, tuples);
  }
}).replaceIf(RelDistributionTraitDef.INSTANCE, new Supplier<RelDistribution>() {
origin: Qihoo360/Quicksql

public RelDistribution distribution(Values values, RelMetadataQuery mq) {
 return values(values.getRowType(), values.getTuples());
}
origin: org.apache.calcite/calcite-core

public RelDistribution distribution(Values values, RelMetadataQuery mq) {
 return values(values.getRowType(), values.getTuples());
}
origin: org.apache.calcite/calcite-core

/** Creates an EnumerableValues. */
public static EnumerableValues create(RelOptCluster cluster,
  final RelDataType rowType,
  final ImmutableList<ImmutableList<RexLiteral>> tuples) {
 final RelMetadataQuery mq = cluster.getMetadataQuery();
 final RelTraitSet traitSet =
   cluster.traitSetOf(EnumerableConvention.INSTANCE)
     .replaceIfs(RelCollationTraitDef.INSTANCE,
       () -> RelMdCollation.values(mq, rowType, tuples))
     .replaceIf(RelDistributionTraitDef.INSTANCE,
       () -> RelMdDistribution.values(rowType, tuples));
 return new EnumerableValues(cluster, rowType, tuples, traitSet);
}
origin: Qihoo360/Quicksql

/** Creates an EnumerableValues. */
public static EnumerableValues create(RelOptCluster cluster,
  final RelDataType rowType,
  final ImmutableList<ImmutableList<RexLiteral>> tuples) {
 final RelMetadataQuery mq = cluster.getMetadataQuery();
 final RelTraitSet traitSet =
   cluster.traitSetOf(EnumerableConvention.INSTANCE)
     .replaceIfs(RelCollationTraitDef.INSTANCE,
       () -> RelMdCollation.values(mq, rowType, tuples))
     .replaceIf(RelDistributionTraitDef.INSTANCE,
       () -> RelMdDistribution.values(rowType, tuples));
 return new EnumerableValues(cluster, rowType, tuples, traitSet);
}
org.apache.calcite.rel.metadataRelMdDistributionvalues

Javadoc

Helper method to determine a Values's distribution.

Popular methods of RelMdDistribution

  • calc
    Helper method to determine a org.apache.calcite.rel.core.Calc's distribution.
  • exchange
    Helper method to determine an Exchange's or org.apache.calcite.rel.core.SortExchange's distribution.
  • filter
    Helper method to determine a Filter's distribution.
  • limit
    Helper method to determine a limit's distribution.
  • project
    Helper method to determine a Project's collation.
  • table
    Helper method to determine a TableScan's distribution.

Popular in Java

  • Reading from database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Sublime Text 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