Search in sources :

Example 1 with MySqlBinlogStatement

use of com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlBinlogStatement in project druid by alibaba.

the class MySqlStatementParser method parseBinlog.

public SQLStatement parseBinlog() {
    acceptIdentifier("binlog");
    MySqlBinlogStatement stmt = new MySqlBinlogStatement();
    SQLExpr expr = this.exprParser.expr();
    stmt.setExpr(expr);
    return stmt;
}
Also used : MySqlBinlogStatement(com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlBinlogStatement) SQLExpr(com.alibaba.druid.sql.ast.SQLExpr)

Aggregations

SQLExpr (com.alibaba.druid.sql.ast.SQLExpr)1 MySqlBinlogStatement (com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlBinlogStatement)1