com.jn.sqlhelper.dialect.expression.AnyExpression Maven / Gradle / Ivy
package com.jn.sqlhelper.dialect.expression;
import com.jn.langx.expression.operator.AbstractUnaryOperator;
public class AnyExpression extends AbstractUnaryOperator, SQLExpression> implements SQLExpression, SymbolExpression {
public AnyExpression() {
setOperateSymbol("any");
}
@Override
public SQLExpression execute() {
return getTarget();
}
@Override
public String toString() {
return new StringBuilder(255)
.append(getOperateSymbol())
.append(" (")
.append(getTarget().toString())
.append(")")
.toString();
}
}