| Package | Description |
|---|---|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.fun |
Defines the set of standard SQL row-level functions and
operators.
|
| org.apache.calcite.sql.pretty |
Provides a pretty-printer for SQL statements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SqlIntervalQualifier.unparse(RelDataTypeSystem typeSystem,
SqlWriter writer) |
void |
SqlMerge.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlDataTypeSpec.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlDynamicParam.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlCharStringLiteral.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlInsert.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlNumericLiteral.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlDelete.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlCall.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlIdentifier.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlIntervalQualifier.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlNodeList.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlDateLiteral.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlUpdate.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlCollation.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlSelect.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlIntervalLiteral.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlTimestampLiteral.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
abstract void |
SqlNode.unparse(SqlWriter writer,
int leftPrec,
int rightPrec)
Writes a SQL representation of this node to a writer.
|
void |
SqlSetOption.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlExplain.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlWindow.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlLiteral.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlBinaryStringLiteral.unparse(SqlWriter writer,
int leftPrec,
int rightPrec) |
void |
SqlAsOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec)
Writes a SQL representation of a call to this operator to a writer,
including parentheses if the operators on either side are of greater
precedence.
|
void |
SqlValuesOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlFunctionalOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlInfixOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlJdbcFunctionCall.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlJoin.SqlJoinOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlSelectOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
abstract void |
SqlSyntax.unparse(SqlWriter writer,
SqlOperator operator,
SqlCall call,
int leftPrec,
int rightPrec)
Converts a call to an operator of this syntax into a string.
|
static void |
SqlUtil.unparseBinarySyntax(SqlOperator operator,
SqlCall call,
SqlWriter writer,
int leftPrec,
int rightPrec) |
static void |
SqlUtil.unparseFunctionSyntax(SqlOperator operator,
SqlWriter writer,
SqlCall call)
Unparses a call to an operator which has function syntax.
|
protected void |
SqlOperator.unparseListClause(SqlWriter writer,
SqlNode clause) |
protected void |
SqlOperator.unparseListClause(SqlWriter writer,
SqlNode clause,
SqlKind sepKind) |
| Modifier and Type | Method and Description |
|---|---|
void |
SqlMultisetQueryConstructor.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlThrowOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlCaseOperator.unparse(SqlWriter writer,
SqlCall call_,
int leftPrec,
int rightPrec) |
void |
SqlSequenceValueOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlCursorConstructor.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlOverlapsOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlTrimFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlSubstringFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlRowOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlOverlayFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlFloorFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlPositionFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlMultisetValueConstructor.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlBetweenOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlDatetimeSubtractionOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlLiteralChainOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlConvertFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlLikeOperator.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlCastFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlColumnListConstructor.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
void |
SqlExtractFunction.unparse(SqlWriter writer,
SqlCall call,
int leftPrec,
int rightPrec) |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlPrettyWriter
Pretty printer for SQL statements.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.