Tabnine Logo
SqlSplittableAggFunction.topSplit
Code IndexAdd Tabnine to your IDE (free)

How to use
topSplit
method
in
org.apache.calcite.sql.SqlSplittableAggFunction

Best Java code snippets using org.apache.calcite.sql.SqlSplittableAggFunction.topSplit (Showing top 5 results out of 315)

origin: apache/hive

final Integer rightSubTotal = sides.get(1).split.get(aggCall.i);
newAggCalls.add(
  splitter.topSplit(rexBuilder, registry(projects),
    groupIndicatorCount, relBuilder.peek().getRowType(), aggCall.e,
    leftSubTotal == null ? -1 : leftSubTotal,
origin: apache/drill

final Integer rightSubTotal = sides.get(1).split.get(aggCall.i);
newAggCalls.add(
  splitter.topSplit(rexBuilder, registry(projects),
    groupIndicatorCount, newJoin.getRowType(), aggCall.e,
    leftSubTotal == null ? -1 : leftSubTotal,
origin: Qihoo360/Quicksql

final Integer rightSubTotal = sides.get(1).split.get(aggCall.i);
newAggCalls.add(
  splitter.topSplit(rexBuilder, registry(projects),
    groupIndicatorCount, relBuilder.peek().getRowType(), aggCall.e,
    leftSubTotal == null ? -1 : leftSubTotal,
origin: org.apache.calcite/calcite-core

final Integer rightSubTotal = sides.get(1).split.get(aggCall.i);
newAggCalls.add(
  splitter.topSplit(rexBuilder, registry(projects),
    groupIndicatorCount, relBuilder.peek().getRowType(), aggCall.e,
    leftSubTotal == null ? -1 : leftSubTotal,
origin: com.alibaba.blink/flink-table

final Integer rightSubTotal = sides.get(1).split.get(aggCall.i);
newAggCalls.add(
    splitter.topSplit(rexBuilder, registry(projects),
        groupIndicatorCount, relBuilder.peek().getRowType(), aggCall.e,
        leftSubTotal == null ? -1 : leftSubTotal,
org.apache.calcite.sqlSqlSplittableAggFunctiontopSplit

Javadoc

Generates an aggregate call to merge sub-totals.

Most implementations will add a single aggregate call to aggCalls, and return a RexInputRef that points to it.

Popular methods of SqlSplittableAggFunction

  • other
    Called to generate an aggregate for the other side of the join than the side aggregate call's argume
  • singleton
    Generates an expression for the value of the aggregate function when applied to a single row.For exa
  • split

Popular in Java

  • Updating database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Top plugins for Android Studio
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