Tabnine Logo
SqlParserUtil$ToTreeListItem.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.calcite.sql.parser.SqlParserUtil$ToTreeListItem
constructor

Best Java code snippets using org.apache.calcite.sql.parser.SqlParserUtil$ToTreeListItem.<init> (Showing top 20 results out of 315)

origin: apache/storm

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_23:
 while (true) {
  if (jj_2_241(2)) {
   ;
  } else {
   break label_23;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: apache/storm

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_23:
 while (true) {
  if (jj_2_241(2)) {
   ;
  } else {
   break label_23;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: apache/storm

   checkQueryExpression(exprContext);
e = LeafQueryOrExpr(ExprContext.ACCEPT_QUERY);
   list.add(new SqlParserUtil.ToTreeListItem(op, pos));
   list.add(e);
origin: org.apache.calcite/calcite-core

   list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
p = Identifier();
   list.add(
     new SqlParserUtil.ToTreeListItem(
       SqlStdOperatorTable.DOT, getPos()));
   list.add(new SqlIdentifier(p, getPos()));
origin: org.apache.calcite/calcite-core

   list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
p = Identifier();
   list.add(
     new SqlParserUtil.ToTreeListItem(
       SqlStdOperatorTable.DOT, getPos()));
   list.add(new SqlIdentifier(p, getPos()));
origin: com.alibaba.blink/flink-sql-parser

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_30:
 while (true) {
  if (jj_2_281(2)) {
   ;
  } else {
   break label_30;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: hortonworks/streamline

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_17:
 while (true) {
  if (jj_2_197(2)) {
   ;
  } else {
   break label_17;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: org.apache.drill.exec/drill-java-exec

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_24:
 while (true) {
  if (jj_2_276(2)) {
   ;
  } else {
   break label_24;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: Qihoo360/Quicksql

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_23:
 while (true) {
  if (jj_2_246(2)) {
   ;
  } else {
   break label_23;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: qubole/quark

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_25:
 while (true) {
  if (jj_2_236(2)) {
   ;
  } else {
   break label_25;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: hortonworks/streamline

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_17:
 while (true) {
  if (jj_2_197(2)) {
   ;
  } else {
   break label_17;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: dremio/dremio-oss

final public void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {
 SqlNode e;
 SqlOperator op;
 label_28:
 while (true) {
  if (jj_2_371(2)) {
   ;
  } else {
   break label_28;
  }
  op = PrefixRowOperator();
     checkNonQueryExpression(exprContext);
     list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 }
 e = Expression3(exprContext);
   list.add(e);
}
origin: org.apache.drill.exec/drill-java-exec

public static SqlNode createCondition(SqlNode left, SqlOperator op, SqlNode right) {
 // if one of the operands is null, return the other
 if (left == null || right == null) {
  return left != null ? left : right;
 }
 List<Object> listCondition = Lists.newArrayList();
 listCondition.add(left);
 listCondition.add(new SqlParserUtil.ToTreeListItem(op, SqlParserPos.ZERO));
 listCondition.add(right);
 return SqlParserUtil.toTree(listCondition);
}
origin: dremio/dremio-oss

public static SqlNode createCondition(SqlNode left, SqlOperator op, SqlNode right) {
 // if one of the operands is null, return the other
 if (left == null || right == null) {
  return left != null ? left : right;
 }
 List<Object> listCondition = Lists.newArrayList();
 listCondition.add(left);
 listCondition.add(new SqlParserUtil.ToTreeListItem(op, SqlParserPos.ZERO));
 listCondition.add(right);
 return SqlParserUtil.toTree(listCondition);
}
origin: uber/AthenaX

list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
          s.add(nodeList);
list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
          list.add(e);
    } else if (jj_2_267(2)) {
list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
          list.addAll(list2);
     if (jj_2_263(2)) {
s.clear().add(this);
            list.add(
              new SqlParserUtil.ToTreeListItem(
                SqlStdOperatorTable.ESCAPE, s.pos()));
            list.add(e);
     op = BinaryRowOperator();
checkNonQueryExpression(exprContext);
          list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
     Expression2b(ExprContext.ACCEPT_SUB_QUERY, list);
    } else if (jj_2_269(2)) {
     jj_consume_token(RBRACKET);
list.add(
            new SqlParserUtil.ToTreeListItem(
              SqlStdOperatorTable.ITEM, getPos()));
          list.add(e);
origin: uber/AthenaX

      checkQueryExpression(exprContext);
   e = LeafQueryOrExpr(ExprContext.ACCEPT_QUERY);
list.add(new SqlParserUtil.ToTreeListItem(op, pos));
      list.add(e);
origin: uber/AthenaX

 final public 
void Expression2b(ExprContext exprContext, List<Object> list) throws ParseException {SqlNode e;
  SqlOperator op;
  label_25:
  while (true) {
   if (jj_2_243(2)) {
    ;
   } else {
    break label_25;
   }
   op = PrefixRowOperator();
checkNonQueryExpression(exprContext);
      list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
  }
  e = Expression3(exprContext);
list.add(e);
}

origin: apache/storm

      list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
      s.add(nodeList);
      list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
      list.add(e);
} else if (jj_2_264(2)) {
      list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
      list.addAll(list2);
 if (jj_2_261(2)) {
        s.clear().add(this);
        list.add(
          new SqlParserUtil.ToTreeListItem(
            SqlStdOperatorTable.ESCAPE, s.pos()));
        list.add(e);
 op = BinaryRowOperator();
      checkNonQueryExpression(exprContext);
      list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 Expression2b(ExprContext.ACCEPT_SUB_QUERY, list);
} else if (jj_2_266(2)) {
 jj_consume_token(RBRACKET);
      list.add(
        new SqlParserUtil.ToTreeListItem(
          SqlStdOperatorTable.ITEM, getPos()));
      list.add(e);
origin: apache/storm

      list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
      s.add(nodeList);
      list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
      list.add(e);
} else if (jj_2_264(2)) {
      list.add(new SqlParserUtil.ToTreeListItem(op, s.pos()));
      list.addAll(list2);
 if (jj_2_261(2)) {
        s.clear().add(this);
        list.add(
          new SqlParserUtil.ToTreeListItem(
            SqlStdOperatorTable.ESCAPE, s.pos()));
        list.add(e);
 op = BinaryRowOperator();
      checkNonQueryExpression(exprContext);
      list.add(new SqlParserUtil.ToTreeListItem(op, getPos()));
 Expression2b(ExprContext.ACCEPT_SUB_QUERY, list);
} else if (jj_2_266(2)) {
 jj_consume_token(RBRACKET);
      list.add(
        new SqlParserUtil.ToTreeListItem(
          SqlStdOperatorTable.ITEM, getPos()));
      list.add(e);
origin: apache/storm

   checkQueryExpression(exprContext);
e = LeafQueryOrExpr(ExprContext.ACCEPT_QUERY);
   list.add(new SqlParserUtil.ToTreeListItem(op, pos));
   list.add(e);
org.apache.calcite.sql.parserSqlParserUtil$ToTreeListItem<init>

Popular methods of SqlParserUtil$ToTreeListItem

  • getOperator
  • getPos

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JFrame (javax.swing)
  • 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