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

sqlancer.mysql.ast.MySQLSelect Maven / Gradle / Ivy

Go to download

SQLancer finds logic bugs in Database Management Systems through automatic testing

There is a newer version: 2.0.0
Show newest version
package sqlancer.mysql.ast;

import java.util.Collections;
import java.util.List;

import sqlancer.common.ast.SelectBase;

public class MySQLSelect extends SelectBase implements MySQLExpression {

    private SelectType fromOptions = SelectType.ALL;
    private List modifiers = Collections.emptyList();

    public enum SelectType {
        DISTINCT, ALL, DISTINCTROW;
    }

    public void setSelectType(SelectType fromOptions) {
        this.setFromOptions(fromOptions);
    }

    public SelectType getFromOptions() {
        return fromOptions;
    }

    public void setFromOptions(SelectType fromOptions) {
        this.fromOptions = fromOptions;
    }

    public void setModifiers(List modifiers) {
        this.modifiers = modifiers;
    }

    public List getModifiers() {
        return modifiers;
    }

    @Override
    public MySQLConstant getExpectedValue() {
        return null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy