Class CompositeTermInterpreter
java.lang.Object
tools.refinery.language.expressions.CompositeTermInterpreter
- All Implemented Interfaces:
TermInterpreter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAggregationType
(AggregatorName aggregator, DataExprType type) getBinaryOperationType
(BinaryOp op, DataExprType leftType, DataExprType rightType) getNegationType
(DataExprType type) getUnaryOperationType
(UnaryOp op, DataExprType type) boolean
isCastSupported
(DataExprType fromType, DataExprType toType) boolean
boolean
isRangeSupported
(DataExprType type)
-
Constructor Details
-
CompositeTermInterpreter
-
-
Method Details
-
getNegationType
- Specified by:
getNegationType
in interfaceTermInterpreter
-
getUnaryOperationType
- Specified by:
getUnaryOperationType
in interfaceTermInterpreter
-
isComparisonSupported
- Specified by:
isComparisonSupported
in interfaceTermInterpreter
-
isRangeSupported
- Specified by:
isRangeSupported
in interfaceTermInterpreter
-
getBinaryOperationType
public Optional<DataExprType> getBinaryOperationType(BinaryOp op, DataExprType leftType, DataExprType rightType) - Specified by:
getBinaryOperationType
in interfaceTermInterpreter
-
isCastSupported
- Specified by:
isCastSupported
in interfaceTermInterpreter
-
getAggregationType
- Specified by:
getAggregationType
in interfaceTermInterpreter
-