本文整理汇总了Java中org.apache.calcite.sql.SqlKind.OTHER_DDL属性的典型用法代码示例。如果您正苦于以下问题:Java SqlKind.OTHER_DDL属性的具体用法?Java SqlKind.OTHER_DDL怎么用?Java SqlKind.OTHER_DDL使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.apache.calcite.sql.SqlKind
的用法示例。
在下文中一共展示了SqlKind.OTHER_DDL属性的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SqlShowViews
public SqlShowViews(
SqlParserPos pos,
SqlNode likePattern) {
super(pos, likePattern);
this.likePattern = likePattern;
operator = new SqlSpecialOperator("SHOW_VIEW", SqlKind.OTHER_DDL);
operatorString = "SHOW VIEW";
}
示例2: SqlAlterQuarkDataSource
public SqlAlterQuarkDataSource(SqlParserPos pos,
SqlNodeList targetColumnList,
SqlNodeList sourceExpressionList,
SqlIdentifier identifier) {
super(pos, targetColumnList, sourceExpressionList, identifier);
operator = new SqlSpecialOperator("ALTER_DATASOURCE", SqlKind.OTHER_DDL);
operatorString = "ALTER DATASOURCE";
}
示例3: SqlAlterQuarkView
public SqlAlterQuarkView(SqlParserPos pos,
SqlNodeList targetColumnList,
SqlNodeList sourceExpressionList,
SqlIdentifier identifier) {
super(pos, targetColumnList, sourceExpressionList, identifier);
operator = new SqlSpecialOperator("ALTER_VIEW", SqlKind.OTHER_DDL);
operatorString = "ALTER VIEW";
}
示例4: SqlCreateQuarkDataSource
public SqlCreateQuarkDataSource(SqlParserPos pos,
SqlNodeList targetColumnList,
SqlNodeList sourceExpressionList,
SqlIdentifier identifier) {
super(pos, targetColumnList, sourceExpressionList, identifier);
operator = new SqlSpecialOperator("CREATE_DATASOURCE", SqlKind.OTHER_DDL);
operatorString = "CREATE DATASOURCE";
}
示例5: parse
public DDLParserResult parse(String sql) {
return new DDLParserResult(sql,
SqlKind.OTHER_DDL, null, true);
}
示例6: getKind
@Override public SqlKind getKind() {
return SqlKind.OTHER_DDL;
}
示例7: SqlDropQuarkView
public SqlDropQuarkView(
SqlParserPos pos,
SqlIdentifier identifier) {
super(pos, identifier);
operator = new SqlSpecialOperator("DROP_VIEW", SqlKind.OTHER_DDL);
}
示例8: SqlDropQuarkDataSource
public SqlDropQuarkDataSource(
SqlParserPos pos,
SqlIdentifier identifier) {
super(pos, identifier);
operator = new SqlSpecialOperator("DROP_DATASOURCE", SqlKind.OTHER_DDL);
}
示例9: SqlShowQuark
public SqlShowQuark(SqlParserPos pos, SqlNode likePattern) {
super(pos);
operator = new SqlSpecialOperator("SHOW_DATASOURCE", SqlKind.OTHER_DDL);
this.likePattern = likePattern;
}
示例10: getKind
@Override
public SqlKind getKind() {
return SqlKind.OTHER_DDL;
}