All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.shulie.druid.sql.dialect.mysql.ast.statement.DrdsRecoverDDLJob Maven / Gradle / Ivy

package com.shulie.druid.sql.dialect.mysql.ast.statement;

import com.shulie.druid.sql.ast.SQLStatement;
import com.shulie.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

import java.util.ArrayList;
import java.util.List;

/**
 * version 1.0
 * Author zzy
 * Date 2019-06-16 22:02
 */
public class DrdsRecoverDDLJob extends MySqlStatementImpl implements SQLStatement {

    private boolean allJobs = false;
    private List jobIds = new ArrayList();

    public void accept0(MySqlASTVisitor visitor) {
        visitor.visit(this);
        visitor.endVisit(this);
    }

    public boolean isAllJobs() {
        return allJobs;
    }

    public void setAllJobs(boolean allJobs) {
        this.allJobs = allJobs;
    }

    public List getJobIds() {
        return jobIds;
    }

    public void addJobId(long id) {
        jobIds.add(id);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy