org.apache.calcite.sql.SqlDrop Java Examples

The following examples show how to use org.apache.calcite.sql.SqlDrop. 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 File: SqlDdlNodes.java    From calcite with 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 File: SqlDdlNodes.java    From calcite with 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 File: SqlDdlNodes.java    From calcite with 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);
}