Package gorsat.parser
Interface TypedCalcLambda
- All Known Implementing Classes:
CalcLambdaBoolean,CalcLambdaDouble,CalcLambdaDoubleConstant,CalcLambdaInteger,CalcLambdaIntegerConstant,CalcLambdaLong,CalcLambdaLongConstant,CalcLambdaNumeric,CalcLambdaString,CalcLambdaStringConstant,CalcLambdaVariable
public interface TypedCalcLambda
-
Method Summary
Modifier and TypeMethodDescriptionadd(double other) add(int other) add(long other) add(CalcLambdaDouble other) add(CalcLambdaInteger other) add(CalcLambdaLong other) add(CalcLambdaString other) add(CalcLambdaVariable other) addedTo(TypedCalcLambda left) compare(TypedCalcLambda other, int op) divide(double other) divide(int other) divide(long other) divide(CalcLambdaDouble other) divide(CalcLambdaInteger other) divide(CalcLambdaLong other) divide(CalcLambdaVariable other) dividedInto(TypedCalcLambda left) booleanevaluateBoolean(org.gorpipe.gor.model.ColumnValueProvider cvp) doubleevaluateDouble(org.gorpipe.gor.model.ColumnValueProvider cvp) intevaluateInt(org.gorpipe.gor.model.ColumnValueProvider cvp) longevaluateLong(org.gorpipe.gor.model.ColumnValueProvider cvp) evaluateString(org.gorpipe.gor.model.ColumnValueProvider cvp) static org.gorpipe.exceptions.GorParsingExceptionstatic org.gorpipe.exceptions.GorSystemExceptiongetType()multiply(double other) multiply(int other) multiply(long other) multiply(CalcLambdaDouble other) multiply(CalcLambdaInteger other) multiply(CalcLambdaLong other) multiply(CalcLambdaVariable other) negate()pow(TypedCalcLambda other) subtract(double other) subtract(int other) subtract(long other) subtract(CalcLambdaDouble other) subtract(CalcLambdaInteger other) subtract(CalcLambdaLong other) subtract(CalcLambdaVariable other) subtractedFrom(TypedCalcLambda other) default TypedCalcLambdatoLambda()
-
Method Details
-
getIncompatibleTypes
static org.gorpipe.exceptions.GorParsingException getIncompatibleTypes() -
getNotImplemented
static org.gorpipe.exceptions.GorSystemException getNotImplemented() -
toLambda
-
getType
String getType() -
evaluateInt
int evaluateInt(org.gorpipe.gor.model.ColumnValueProvider cvp) -
evaluateLong
long evaluateLong(org.gorpipe.gor.model.ColumnValueProvider cvp) -
evaluateDouble
double evaluateDouble(org.gorpipe.gor.model.ColumnValueProvider cvp) -
evaluateString
-
evaluateBoolean
boolean evaluateBoolean(org.gorpipe.gor.model.ColumnValueProvider cvp) -
addedTo
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
subtractedFrom
-
subtract
-
subtract
-
subtract
-
subtract
-
subtract
-
subtract
-
subtract
-
multipliedWith
-
multiply
-
multiply
-
multiply
-
multiply
-
multiply
-
multiply
-
multiply
-
dividedInto
-
divide
-
divide
-
divide
-
divide
-
divide
-
divide
-
divide
-
pow
-
negate
TypedCalcLambda negate() -
compare
-