public class LteOperator extends CmpOperator
CmpOperator.CmpResolver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
info
PREFIX, RETURN_TYPE
Modifier and Type | Method and Description |
---|---|
protected boolean |
compare(int comparisonResult)
called inside
#normalizeSymbol(io.crate.expression.symbol.Function)
in order to interpret the result of compareTo |
static void |
register(OperatorModule module) |
evaluate, info
generateInfo, normalizeSymbol, operator
anyNonLiterals, compile, evaluateIfLiterals, withOperator
public static final java.lang.String NAME
public static void register(OperatorModule module)
protected boolean compare(int comparisonResult)
CmpOperator
#normalizeSymbol(io.crate.expression.symbol.Function)
in order to interpret the result of compareTo
subclass has to implement this to evaluate the -1, 0, 1 to boolean e.g. for Lt -1 is true, 0 and 1 is false.
compare
in class CmpOperator
comparisonResult
- the result of someLiteral.compareTo(otherLiteral)