| Package | Description |
|---|---|
| org.apache.calcite.sql |
Provides a SQL parser and object model.
|
| org.apache.calcite.sql.parser.impl |
Contains generated code for the
Calcite SQL parser. |
| org.apache.calcite.sql.validate |
SQL validation.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Method and Description |
|---|---|
SqlInsert |
SqlMerge.getInsertCall() |
| Constructor and Description |
|---|
SqlMerge(SqlParserPos pos,
SqlNode targetTable,
SqlNode condition,
SqlNode source,
SqlUpdate updateCall,
SqlInsert insertCall,
SqlSelect sourceSelect,
SqlIdentifier alias) |
| Modifier and Type | Method and Description |
|---|---|
SqlInsert |
SqlParserImpl.WhenNotMatchedClause(SqlNode table) |
| Modifier and Type | Method and Description |
|---|---|
protected RelDataType |
SqlValidatorImpl.getLogicalSourceRowType(RelDataType sourceRowType,
SqlInsert insert) |
protected RelDataType |
SqlValidatorImpl.getLogicalTargetRowType(RelDataType targetRowType,
SqlInsert insert) |
void |
SqlValidatorImpl.validateInsert(SqlInsert insert) |
void |
SqlValidator.validateInsert(SqlInsert insert)
Validates an INSERT statement.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SqlToRelConverter.collectInsertTargets(SqlInsert call,
RexNode sourceRef,
List<String> targetColumnNames,
List<RexNode> columnExprs)
Given an INSERT statement, collects the list of names to be populated and
the expressions to put in them.
|
protected RelNode |
SqlToRelConverter.convertColumnList(SqlInsert call,
RelNode sourceRel)
Creates a source for an INSERT statement.
|
protected RelNode |
SqlToRelConverter.convertInsert(SqlInsert call) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.