studio.raptor.sqlparser.fast.expression.SequenceValue Maven / Gradle / Ivy
package studio.raptor.sqlparser.fast.expression;
import studio.raptor.sqlparser.fast.table.ColumnResolver;
import studio.raptor.sqlparser.fast.value.Value;
/**
* @author Sam
* @since 3.0.0
*/
public class SequenceValue extends Expression {
private final String sequenceName;
private final String sequenceOperation;
public SequenceValue(String sequenceName, String sequenceOperation) {
this.sequenceName = sequenceName;
this.sequenceOperation = sequenceOperation;
}
@Override
public void mapColumns(ColumnResolver resolver, int level) {
}
@Override
public Expression optimize() {
return null;
}
@Override
public String getSQL() {
return null;
}
@Override
public boolean isEverything(ExpressionVisitor visitor) {
return false;
}
@Override
public Value getValue() {
return null;
}
@Override
public int getType() {
return 0;
}
public String getSequenceName() {
return sequenceName;
}
public String getSequenceOperation() {
return sequenceOperation;
}
}