replace field string list with SelectableExpression list in SelectExpression

This commit is contained in:
wea_ondara
2022-07-14 20:56:17 +02:00
parent da574b52cf
commit 4cf1bfe65c
17 changed files with 157 additions and 45 deletions

View File

@@ -0,0 +1,25 @@
package jef.expressions.selectable;
import jef.expressions.Expression;
public class DatabaseFunctionExpression implements Expression, SelectableExpression {
private final String function;
public DatabaseFunctionExpression(String function) {
this.function = function;
}
@Override
public Type getType() {
return Type.CONSTANT;
}
@Override
public Priority getPriority() {
return Priority.UNDEFINED;
}
@Override
public String toString() {
return function;
}
}