sqlancer.mysql.ast.MySQLSelect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlancer Show documentation
Show all versions of sqlancer Show documentation
SQLancer finds logic bugs in Database Management Systems through automatic testing
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;
}
}