com.alibaba.druid.sql.dialect.mysql.ast.statement.DrdsShowDDLJobs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of druid Show documentation
Show all versions of druid Show documentation
An JDBC datasource implementation.
package com.alibaba.druid.sql.dialect.mysql.ast.statement;
import com.alibaba.druid.sql.ast.statement.SQLShowStatement;
import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;
import java.util.ArrayList;
import java.util.List;
/**
* version 1.0
* Author zzy
* Date 2019-06-16 21:37
*/
public class DrdsShowDDLJobs extends MySqlStatementImpl implements SQLShowStatement {
private boolean full;
private List jobIds = new ArrayList();
public void accept0(MySqlASTVisitor visitor) {
visitor.visit(this);
visitor.endVisit(this);
}
public boolean isFull() {
return full;
}
public void setFull(boolean full) {
this.full = full;
}
public List getJobIds() {
return jobIds;
}
public void addJobId(long id) {
jobIds.add(id);
}
}