Codota Logo
SqlValidatorImpl$NavigationExpander.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.apache.calcite.sql.validate.SqlValidatorImpl$NavigationExpander
constructor

Best Java code snippets using org.apache.calcite.sql.validate.SqlValidatorImpl$NavigationExpander.<init> (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: apache/flink

  inner.accept(new NavigationExpander(call.getOperator(), offset));
if (op != null) {
  newInnerNode = op.createCall(SqlParserPos.ZERO, newInnerNode,
for (SqlNode node : operands) {
  if (node != null) {
    SqlNode newNode = node.accept(new NavigationExpander());
    if (op != null) {
      newNode = op.createCall(SqlParserPos.ZERO, newNode, offset);
origin: apache/flink

private SqlNode navigationInMeasure(SqlNode node, boolean allRows) {
  final Set<String> prefix = node.accept(new PatternValidator(true));
  Util.discard(prefix);
  final List<SqlNode> ops = ((SqlCall) node).getOperandList();
  final SqlOperator defaultOp =
    allRows ? SqlStdOperatorTable.RUNNING : SqlStdOperatorTable.FINAL;
  final SqlNode op0 = ops.get(0);
  if (!isRunningOrFinal(op0.getKind())
    || !allRows && op0.getKind() == SqlKind.RUNNING) {
    SqlNode newNode = defaultOp.createCall(SqlParserPos.ZERO, op0);
    node = SqlStdOperatorTable.AS.createCall(SqlParserPos.ZERO, newNode, ops.get(1));
  }
  node = new NavigationExpander().go(node);
  return node;
}
origin: org.apache.calcite/calcite-core

  inner.accept(new NavigationExpander(call.getOperator(), offset));
if (op != null) {
 newInnerNode = op.createCall(SqlParserPos.ZERO, newInnerNode,
for (SqlNode node : operands) {
 if (node != null) {
  SqlNode newNode = node.accept(new NavigationExpander());
  if (op != null) {
   newNode = op.createCall(SqlParserPos.ZERO, newNode, offset);
origin: apache/flink

/** Checks that all pattern variables within a function are the same,
 * and canonizes expressions such as {@code PREV(B.price)} to
 * {@code LAST(B.price, 0)}. */
private SqlNode navigationInDefine(SqlNode node, String alpha) {
  Set<String> prefix = node.accept(new PatternValidator(false));
  Util.discard(prefix);
  node = new NavigationExpander().go(node);
  node = new NavigationReplacer(alpha).go(node);
  return node;
}
origin: Qihoo360/Quicksql

/** Checks that all pattern variables within a function are the same,
 * and canonizes expressions such as {@code PREV(B.price)} to
 * {@code LAST(B.price, 0)}. */
private SqlNode navigationInDefine(SqlNode node, String alpha) {
 Set<String> prefix = node.accept(new PatternValidator(false));
 Util.discard(prefix);
 node = new NavigationExpander().go(node);
 node = new NavigationReplacer(alpha).go(node);
 return node;
}
origin: org.apache.calcite/calcite-core

/** Checks that all pattern variables within a function are the same,
 * and canonizes expressions such as {@code PREV(B.price)} to
 * {@code LAST(B.price, 0)}. */
private SqlNode navigationInDefine(SqlNode node, String alpha) {
 Set<String> prefix = node.accept(new PatternValidator(false));
 Util.discard(prefix);
 node = new NavigationExpander().go(node);
 node = new NavigationReplacer(alpha).go(node);
 return node;
}
origin: Qihoo360/Quicksql

private SqlNode navigationInMeasure(SqlNode node, boolean allRows) {
 final Set<String> prefix = node.accept(new PatternValidator(true));
 Util.discard(prefix);
 final List<SqlNode> ops = ((SqlCall) node).getOperandList();
 final SqlOperator defaultOp =
   allRows ? SqlStdOperatorTable.RUNNING : SqlStdOperatorTable.FINAL;
 final SqlNode op0 = ops.get(0);
 if (!isRunningOrFinal(op0.getKind())
   || !allRows && op0.getKind() == SqlKind.RUNNING) {
  SqlNode newNode = defaultOp.createCall(SqlParserPos.ZERO, op0);
  node = SqlStdOperatorTable.AS.createCall(SqlParserPos.ZERO, newNode, ops.get(1));
 }
 node = new NavigationExpander().go(node);
 return node;
}
origin: org.apache.calcite/calcite-core

private SqlNode navigationInMeasure(SqlNode node, boolean allRows) {
 final Set<String> prefix = node.accept(new PatternValidator(true));
 Util.discard(prefix);
 final List<SqlNode> ops = ((SqlCall) node).getOperandList();
 final SqlOperator defaultOp =
   allRows ? SqlStdOperatorTable.RUNNING : SqlStdOperatorTable.FINAL;
 final SqlNode op0 = ops.get(0);
 if (!isRunningOrFinal(op0.getKind())
   || !allRows && op0.getKind() == SqlKind.RUNNING) {
  SqlNode newNode = defaultOp.createCall(SqlParserPos.ZERO, op0);
  node = SqlStdOperatorTable.AS.createCall(SqlParserPos.ZERO, newNode, ops.get(1));
 }
 node = new NavigationExpander().go(node);
 return node;
}
origin: Qihoo360/Quicksql

  inner.accept(new NavigationExpander(call.getOperator(), offset));
if (op != null) {
 newInnerNode = op.createCall(SqlParserPos.ZERO, newInnerNode,
for (SqlNode node : operands) {
 if (node != null) {
  SqlNode newNode = node.accept(new NavigationExpander());
  if (op != null) {
   newNode = op.createCall(SqlParserPos.ZERO, newNode, offset);
org.apache.calcite.sql.validateSqlValidatorImpl$NavigationExpander<init>

Popular methods of SqlValidatorImpl$NavigationExpander

  • go

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now