Codota Logo
SqlWithItem$SqlWithItemOperator
Code IndexAdd Codota to your IDE (free)

How to use
SqlWithItem$SqlWithItemOperator
in
org.apache.calcite.sql

Best Java code snippets using org.apache.calcite.sql.SqlWithItem$SqlWithItemOperator (Showing top 4 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/kylin

  @Override
  public void writeWithItem(SqlCall call, SqlWithItem.SqlWithItemOperator sqlWithItemOperator, int leftPrec,
               int rightPrec) {
    final SqlWithItem withItem = (SqlWithItem) call;
    leftPrec = sqlWithItemOperator.getLeftPrec();
    rightPrec = sqlWithItemOperator.getRightPrec();
    withItem.name.unparse(this, leftPrec, rightPrec);
    if (withItem.columnList != null) {
      withItem.columnList.unparse(this, leftPrec, rightPrec);
    }
    this.keyword("AS");
    Frame frame = this.startList(FrameTypeEnum.WITH_ITEM, "(", ")");
    withItem.query.unparse(this, 10, 10);
    this.endList(frame);
  }
}
origin: Qihoo360/Quicksql

public void unparse(
  SqlWriter writer,
  SqlCall call,
  int leftPrec,
  int rightPrec) {
 final SqlWithItem withItem = (SqlWithItem) call;
 withItem.name.unparse(writer, getLeftPrec(), getRightPrec());
 if (withItem.columnList != null) {
  withItem.columnList.unparse(writer, getLeftPrec(), getRightPrec());
 }
 writer.keyword("AS");
 withItem.query.unparse(writer, 10, 10);
}
origin: org.apache.calcite/calcite-core

public void unparse(
  SqlWriter writer,
  SqlCall call,
  int leftPrec,
  int rightPrec) {
 final SqlWithItem withItem = (SqlWithItem) call;
 withItem.name.unparse(writer, getLeftPrec(), getRightPrec());
 if (withItem.columnList != null) {
  withItem.columnList.unparse(writer, getLeftPrec(), getRightPrec());
 }
 writer.keyword("AS");
 withItem.query.unparse(writer, 10, 10);
}
origin: org.apache.kylin/kylin-datasource-sdk

  @Override
  public void writeWithItem(SqlCall call, SqlWithItem.SqlWithItemOperator sqlWithItemOperator, int leftPrec,
               int rightPrec) {
    final SqlWithItem withItem = (SqlWithItem) call;
    leftPrec = sqlWithItemOperator.getLeftPrec();
    rightPrec = sqlWithItemOperator.getRightPrec();
    withItem.name.unparse(this, leftPrec, rightPrec);
    if (withItem.columnList != null) {
      withItem.columnList.unparse(this, leftPrec, rightPrec);
    }
    this.keyword("AS");
    Frame frame = this.startList(FrameTypeEnum.WITH_ITEM, "(", ")");
    withItem.query.unparse(this, 10, 10);
    this.endList(frame);
  }
}
org.apache.calcite.sqlSqlWithItem$SqlWithItemOperator

Javadoc

SqlWithItemOperator is used to represent an item in a WITH clause of a query. It has a name, an optional column list, and a query.

Most used methods

  • getLeftPrec
  • getRightPrec

Popular in Java

  • Start an intent from android
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
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