public abstract class ComparisonFunction extends BaseFunction implements ScalarFunction
_hash
Constructor and Description |
---|
ComparisonFunction(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
compare(int value) |
java.lang.Object |
evaluate(RowDecorator row) |
ComparisonFunction |
flip() |
DataType |
getDataType() |
abstract java.lang.String |
getOperatorString() |
boolean |
isColumnColumn() |
boolean |
isColumnLiteral() |
boolean |
isValid() |
protected abstract ComparisonFunction |
makeFlipFunction() |
addArgument, getArgument, getArgumentCount, setArgument, setVariableContext, toString
getAlias, getLabel, getName, setAlias, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgument
getLabel, setVariableContext
public final DataType getDataType()
getDataType
in interface Selectable
getDataType
in class BaseFunction
public final boolean isValid()
isValid
in interface ConcreteFunction
isValid
in class BaseFunction
public final java.lang.Object evaluate(RowDecorator row) throws AxionException
evaluate
in interface ScalarFunction
evaluate
in interface Selectable
AxionException
protected abstract boolean compare(int value)
protected abstract ComparisonFunction makeFlipFunction()
public ComparisonFunction flip()
public boolean isColumnColumn()
public boolean isColumnLiteral()
public abstract java.lang.String getOperatorString()