/
NikolayIvkin
/
sqlancer2
Обзор
Документация
Войти
/
NikolayIvkin
/
sqlancer2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/sqlancer/sqlite3/ast/SQLite3SetClause.java
54 строки
1 KB
Manuel Rigger
Consistently format all files
27 май 2020, 17:17
27 май 2020, 17:17
10253fa
Код
Авторство
О чём код?
package sqlancer.sqlite3.ast; import sqlancer.Randomly; import sqlancer.sqlite3.schema.SQLite3Schema.SQLite3Column.SQLite3CollateSequence; public class SQLite3SetClause extends SQLite3Expression { private final SQLite3Expression left; private final SQLite3Expression right; private final SQLite3ClauseType type; public enum SQLite3ClauseType { UNION("UNION"), UNION_ALL("UNION ALL"), INTERSECT("INTERSECT"), EXCEPT("EXCEPT"); private final String textRepresentation; SQLite3ClauseType(String textRepresentation) { this.textRepresentation = textRepresentation; } public static SQLite3ClauseType getRandom() { return Randomly.fromOptions(values()); } public String getTextRepresentation() { return textRepresentation; } } public SQLite3SetClause(SQLite3Expression left, SQLite3Expression right, SQLite3ClauseType type) { this.left = left; this.right = right; this.type = type; } public SQLite3Expression getLeft() { return left; } public SQLite3Expression getRight() { return right; } public SQLite3ClauseType getType() { return type; } @Override public SQLite3CollateSequence getExplicitCollateSequence() { // TODO Auto-generated method stub return null; } }