use of com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGSelectQueryBlock.FetchClause in project druid by alibaba.
the class PGASTVisitorAdapterTest method test_adapter.
public void test_adapter() throws Exception {
PGASTVisitorAdapter adapter = new PGASTVisitorAdapter();
new WindowClause().accept(adapter);
new FetchClause().accept(adapter);
new ForClause().accept(adapter);
new PGWithQuery().accept(adapter);
new PGWithClause().accept(adapter);
new PGDeleteStatement().accept(adapter);
new PGFunctionTableSource().accept(adapter);
}
Also used :
PGWithQuery(com.alibaba.druid.sql.dialect.postgresql.ast.PGWithQuery)
PGWithClause(com.alibaba.druid.sql.dialect.postgresql.ast.PGWithClause)
PGFunctionTableSource(com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGFunctionTableSource)
PGASTVisitorAdapter(com.alibaba.druid.sql.dialect.postgresql.visitor.PGASTVisitorAdapter)
ForClause(com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGSelectQueryBlock.ForClause)
FetchClause(com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGSelectQueryBlock.FetchClause)
WindowClause(com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGSelectQueryBlock.WindowClause)
PGDeleteStatement(com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGDeleteStatement)