Java Code Examples for org.apache.calcite.sql.SqlDrop

The following examples show how to use org.apache.calcite.sql.SqlDrop. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: calcite   Source File: SqlDdlNodes.java    License: Apache License 2.0 4 votes vote down vote up
/** Creates a DROP VIEW. */
public static SqlDrop dropView(SqlParserPos pos, boolean ifExists,
    SqlIdentifier name) {
  return new SqlDropView(pos, ifExists, name);
}
 
Example 2
Source Project: calcite   Source File: SqlDdlNodes.java    License: Apache License 2.0 4 votes vote down vote up
/** Creates a DROP MATERIALIZED VIEW. */
public static SqlDrop dropMaterializedView(SqlParserPos pos,
    boolean ifExists, SqlIdentifier name) {
  return new SqlDropMaterializedView(pos, ifExists, name);
}
 
Example 3
Source Project: calcite   Source File: SqlDdlNodes.java    License: Apache License 2.0 4 votes vote down vote up
/** Creates a DROP FUNCTION. */
public static SqlDrop dropFunction(SqlParserPos pos,
    boolean ifExists, SqlIdentifier name) {
  return new SqlDropFunction(pos, ifExists, name);
}