Uses of Interface
net.hydromatic.morel.eval.Applicable
Packages that use Applicable
Package
Description
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.Evaluates expressions.
-
Uses of Applicable in net.hydromatic.morel.compile
Methods in net.hydromatic.morel.compile that return ApplicableModifier and TypeMethodDescriptionprivate ApplicableCompiler.compileApplicable(Compiler.Context cx, Core.Exp fn, Type argType, Pos pos) Compiles a function value to anApplicable, if possible, or returns null.private @Nullable ApplicableCompiler.toApplicable(Compiler.Context cx, Object o, Type argType, Pos pos) Methods in net.hydromatic.morel.compile with parameters of type ApplicableModifier and TypeMethodDescriptionprotected CodeCalciteCompiler.finishCompileApply(Compiler.Context cx, Applicable fnValue, Code argCode, Type argType) protected CodeCompiler.finishCompileApply(Compiler.Context cx, Applicable fnValue, Code argCode, Type argType) -
Uses of Applicable in net.hydromatic.morel.eval
Subinterfaces of Applicable in net.hydromatic.morel.evalModifier and TypeInterfaceDescriptionstatic interfaceAnApplicablewhose position can be changed.Classes in net.hydromatic.morel.eval that implement ApplicableModifier and TypeClassDescriptionclassApplicable2<R,A0, A1> Applicable whose argument is a 3-tuple.classApplicable3<R,A0, A1, A2> Applicable whose argument is a 3-tuple.(package private) classAbstract implementation ofApplicablethat describes itself with a constant name.classValue that is sufficient for a function to bind its argument and evaluate its body.private static classImplementsBuiltIn.INTERACT_USE.private static classImplementsBuiltIn.LIST_HD.private static classImplementsBuiltIn.LIST_LAST.private static classImplementsBuiltIn.LIST_NTHandBuiltIn.VECTOR_SUB.private static classImplementsBuiltIn.LIST_TABULATE.private static classImplementsBuiltIn.LIST_TAKE.private static classImplementsBuiltIn.LIST_TL.private static classImplementsBuiltIn.OPTION_VAL_OF.private static classImplementsBuiltIn.REAL_CHECK_FLOAT.private static classImplementsBuiltIn.REAL_COMPARE.private static classImplementsBuiltIn.REAL_COMPARE.private static classImplementsBuiltIn.RELATIONAL_ONLY.private static classImplementsBuiltIn.STRING_CONCAT.private static classImplementsBuiltIn.STRING_CONCAT_WITH.private static classImplementsBuiltIn.STRING_SUB.private static classImplementsBuiltIn.STRING_SUB.private static classImplementsBuiltIn.STRING_SUBSTRING.private static classImplementsBuiltIn.VECTOR_UPDATE.Fields in net.hydromatic.morel.eval declared as ApplicableModifier and TypeFieldDescriptionprivate static final ApplicableCodes.ABSAn applicable that returns the absolute value of an int.private final ApplicableCodes.ApplyCode.fnValueprivate static final ApplicableCodes.GENERAL_OP_Oprivate static final ApplicableCodes.IGNOREprivate static final ApplicableCodes.INTERACT_USEprivate static final ApplicableCodes.LIST_ALLprivate static final ApplicableCodes.LIST_APPprivate static final ApplicableCodes.LIST_ATprivate static final ApplicableCodes.LIST_COLLATEprivate static final ApplicableCodes.LIST_CONCATprivate static final ApplicableCodes.LIST_DROPprivate static final ApplicableCodes.LIST_EXISTSprivate static final ApplicableCodes.LIST_FILTERprivate static final ApplicableCodes.LIST_FINDprivate static final ApplicableCodes.LIST_FOLDLprivate static final ApplicableCodes.LIST_FOLDRprivate static final ApplicableCodes.LIST_GET_ITEMprivate static final ApplicableCodes.LIST_HDprivate static final ApplicableCodes.LIST_LASTprivate static final ApplicableCodes.LIST_LENGTHprivate static final ApplicableCodes.LIST_MAPprivate static final ApplicableCodes.LIST_MAP_PARTIALprivate static final ApplicableCodes.LIST_NTHprivate static final ApplicableCodes.LIST_NULLprivate static final ApplicableCodes.LIST_PARTITIONprivate static final ApplicableCodes.LIST_REVprivate static final ApplicableCodes.LIST_REV_APPENDprivate static final ApplicableCodes.LIST_TABULATEprivate static final ApplicableCodes.LIST_TAKEprivate static final ApplicableCodes.LIST_TLprivate static final ApplicableCodes.MATH_ACOSprivate static final ApplicableCodes.MATH_ASINprivate static final ApplicableCodes.MATH_ATANprivate static final ApplicableCodes.MATH_ATAN2private static final ApplicableCodes.MATH_COSprivate static final ApplicableCodes.MATH_COSHprivate static final ApplicableCodes.MATH_EXPprivate static final ApplicableCodes.MATH_LNprivate static final ApplicableCodes.MATH_LOG10private static final ApplicableCodes.MATH_POWprivate static final ApplicableCodes.MATH_SINprivate static final ApplicableCodes.MATH_SINHprivate static final ApplicableCodes.MATH_SQRTprivate static final ApplicableCodes.MATH_TANprivate static final ApplicableCodes.MATH_TANHprivate static final ApplicableCodes.NOTAn applicable that negates a boolean value.private static final ApplicableCodes.OP_CARETprivate static final ApplicableCodes.OP_CONSprivate static final ApplicableCodes.OP_DIVprivate static final ApplicableCodes.OP_ELEMprivate static final ApplicableCodes.OP_EQprivate static final ApplicableCodes.OP_EXCEPTprivate static final ApplicableCodes.OP_GEprivate static final ApplicableCodes.OP_GTprivate static final ApplicableCodes.OP_INTERSECTprivate static final ApplicableCodes.OP_LEprivate static final ApplicableCodes.OP_LTprivate static final ApplicableCodes.OP_MODprivate static final ApplicableCodes.OP_NEprivate static final ApplicableCodes.OP_NOT_ELEMprivate static final ApplicableCodes.OP_UNIONprivate static final ApplicableCodes.OPTION_APPprivate static final ApplicableCodes.OPTION_COMPOSEprivate static final ApplicableCodes.OPTION_COMPOSE_PARTIALprivate static final ApplicableCodes.OPTION_FILTERprivate static final ApplicableCodes.OPTION_GET_OPTprivate static final ApplicableCodes.OPTION_IS_SOMEprivate static final ApplicableCodes.OPTION_JOINprivate static final ApplicableCodes.OPTION_MAPprivate static final ApplicableCodes.OPTION_MAP_PARTIALprivate static final ApplicableCodes.OPTION_VAL_OFprivate static final ApplicableCodes.REAL_ABSprivate static final ApplicableCodes.REAL_CEILprivate static final ApplicableCodes.REAL_CHECK_FLOATprivate static final ApplicableCodes.REAL_COMPAREprivate static final ApplicableCodes.REAL_COPY_SIGNprivate static final ApplicableCodes.REAL_FLOORprivate static final ApplicableCodes.REAL_FROM_INTprivate static final ApplicableCodes.REAL_FROM_MAN_EXPprivate static final ApplicableCodes.REAL_FROM_STRINGprivate static final ApplicableCodes.REAL_IS_FINITEprivate static final ApplicableCodes.REAL_IS_NANprivate static final ApplicableCodes.REAL_IS_NORMALprivate static final ApplicableCodes.REAL_MAXprivate static final ApplicableCodes.REAL_MINprivate static final ApplicableCodes.REAL_REAL_CEILprivate static final ApplicableCodes.REAL_REAL_FLOORprivate static final ApplicableCodes.REAL_REAL_MODprivate static final ApplicableCodes.REAL_REAL_ROUNDprivate static final ApplicableCodes.REAL_REAL_TRUNCprivate static final ApplicableCodes.REAL_REMprivate static final ApplicableCodes.REAL_ROUNDprivate static final ApplicableCodes.REAL_SAME_SIGNprivate static final ApplicableCodes.REAL_SIGNprivate static final ApplicableCodes.REAL_SIGN_BITprivate static final ApplicableCodes.REAL_SPLITprivate static final ApplicableCodes.REAL_TO_MAN_EXPprivate static final ApplicableCodes.REAL_TO_STRINGprivate static final ApplicableCodes.REAL_TRUNCprivate static final ApplicableCodes.REAL_UNORDEREDprivate static final ApplicableCodes.RELATIONAL_COUNTprivate static final ApplicableCodes.RELATIONAL_EXISTSprivate static final ApplicableCodes.RELATIONAL_ITERATEprivate static final ApplicableCodes.RELATIONAL_MAXprivate static final ApplicableCodes.RELATIONAL_MINprivate static final ApplicableCodes.RELATIONAL_NOT_EXISTSprivate static final ApplicableCodes.RELATIONAL_ONLYprivate static final ApplicableCodes.STRING_CONCATprivate static final ApplicableCodes.STRING_CONCAT_WITHprivate static final ApplicableCodes.STRING_EXPLODEprivate static final ApplicableCodes.STRING_EXTRACTprivate static final ApplicableCodes.STRING_IMPLODEprivate static final ApplicableCodes.STRING_IS_PREFIXprivate static final ApplicableCodes.STRING_IS_SUBSTRINGprivate static final ApplicableCodes.STRING_IS_SUFFIXprivate static final ApplicableCodes.STRING_MAPprivate static final ApplicableCodes.STRING_SIZEprivate static final ApplicableCodes.STRING_STRprivate static final ApplicableCodes.STRING_SUBprivate static final ApplicableCodes.STRING_SUBSTRINGprivate static final ApplicableCodes.STRING_TRANSLATEprivate static final ApplicableCodes.SYS_PLANprivate static final ApplicableCodes.SYS_SETprivate static final ApplicableCodes.SYS_SHOWprivate static final ApplicableCodes.SYS_UNSETprivate static final ApplicableCodes.VECTOR_ALLprivate static final ApplicableCodes.VECTOR_APPprivate static final ApplicableCodes.VECTOR_APPIprivate static final ApplicableCodes.VECTOR_COLLATEprivate static final ApplicableCodes.VECTOR_CONCATprivate static final ApplicableCodes.VECTOR_EXISTSprivate static final ApplicableCodes.VECTOR_FINDprivate static final ApplicableCodes.VECTOR_FINDIprivate static final ApplicableCodes.VECTOR_FOLDLprivate static final ApplicableCodes.VECTOR_FOLDLIprivate static final ApplicableCodes.VECTOR_FOLDRprivate static final ApplicableCodes.VECTOR_FOLDRIprivate static final ApplicableCodes.VECTOR_FROM_LISTprivate static final ApplicableCodes.VECTOR_LENGTHprivate static final ApplicableCodes.VECTOR_MAPprivate static final ApplicableCodes.VECTOR_MAPIprivate static final ApplicableCodes.VECTOR_SUBprivate static final ApplicableCodes.VECTOR_TABULATEprivate static final ApplicableCodes.VECTOR_UPDATEprivate static final ApplicableCodes.Z_DIVIDE_INTImplementsCodes.OP_DIVIDEfor typeint.private static final ApplicableCodes.Z_DIVIDE_REALImplementsCodes.OP_DIVIDEfor typereal.private static final ApplicableCodes.Z_EXTENTprivate static final ApplicableCodes.Z_LISTprivate static final ApplicableCodes.Z_MINUS_INTImplementsCodes.OP_MINUSfor typeint.private static final ApplicableCodes.Z_MINUS_REALImplementsCodes.OP_MINUSfor typereal.private static final ApplicableCodes.Z_NEGATE_INTImplementsCodes.OP_NEGATEfor typeint.private static final ApplicableCodes.Z_NEGATE_REALImplementsCodes.OP_NEGATEfor typereal.private static final ApplicableCodes.Z_PLUS_INTImplementsCodes.OP_PLUSfor typeint.private static final ApplicableCodes.Z_PLUS_REALImplementsCodes.OP_PLUSfor typereal.private static final ApplicableCodes.Z_SUM_INTImplementsCodes.RELATIONAL_SUMfor typeint list.private static final ApplicableCodes.Z_SUM_REALImplementsCodes.RELATIONAL_SUMfor typereal list.private static final ApplicableCodes.Z_TIMES_INTImplementsCodes.OP_TIMESfor typeint.private static final ApplicableCodes.Z_TIMES_REALImplementsCodes.OP_TIMESfor typereal.Fields in net.hydromatic.morel.eval with type parameters of type ApplicableModifier and TypeFieldDescription(package private) final com.google.common.collect.ImmutableList<Applicable> Codes.GroupRowSink.aggregateCodesstatic final Map<Applicable, BuiltIn> Codes.BUILT_IN_MAPMethods in net.hydromatic.morel.eval that return ApplicableModifier and TypeMethodDescriptionstatic ApplicableCodes.aggregate(Environment env0, Code aggregateCode, List<String> names, @Nullable Code argumentCode) private static ApplicableCodes.collate(Applicable comparator) private static ApplicableCodes.find(Applicable f) private static Applicableprivate static ApplicableCodes.isSubstring(String s) private static Applicableprivate static ApplicableCodes.listAll(Applicable f) private static ApplicableCodes.listApp(Applicable consumer) private static ApplicableCodes.listExists(Applicable f) private static ApplicableCodes.listFilter(Applicable f) private static ApplicableCodes.listFold(boolean left, Applicable f) private static ApplicableCodes.listFold2(boolean left, Applicable f, Object init) private static ApplicableCodes.listMap(Applicable fn) private static ApplicableCodes.listMapPartial(Applicable f) private static ApplicableCodes.listPartition(Applicable f) static ApplicableCodes.nth(int slot) Returns an applicable that returns theslotth field of a tuple or record.private static ApplicableCodes.optionApp(Applicable f) ImplementsCodes.OPTION_APP.private static ApplicableCodes.optionCompose(Applicable f, Applicable g) ImplementsCodes.OPTION_COMPOSE.private static ApplicableCodes.optionComposePartial(Applicable f, Applicable g) ImplementsCodes.OPTION_COMPOSE_PARTIAL.private static ApplicableCodes.optionFilter(Applicable f) Implementation ofCodes.OPTION_FILTER.private static ApplicableCodes.optionMap(Applicable f) ImplementsCodes.OPTION_MAP.private static ApplicableCodes.optionMapPartial(Applicable f) ImplementsCodes.OPTION_MAP_PARTIAL.private static ApplicableCodes.stringMap(Applicable f) private static ApplicableCodes.translate(Applicable f) static ApplicableReturns an applicable that constructs an instance of a datatype.private static ApplicableCodes.vectorApp(Applicable f) ImplementsCodes.VECTOR_APP.private static ApplicableCodes.vectorAppi(Applicable f) ImplementsCodes.VECTOR_APPI.private static ApplicableCodes.vectorFindi(Applicable f) ImplementsCodes.VECTOR_FINDI.private static ApplicableCodes.vectorMap(Applicable f) ImplementsCodes.VECTOR_MAP.private static ApplicableCodes.vectorMapi(Applicable f) ImplementsCodes.VECTOR_MAPI.Methods in net.hydromatic.morel.eval that return types with arguments of type ApplicableMethods in net.hydromatic.morel.eval with parameters of type ApplicableModifier and TypeMethodDescriptionstatic CodeCodes.apply(Applicable fnValue, Code argCode) Generates the code for applying a function value to an argument.private static ApplicableCodes.collate(Applicable comparator) private static ApplicableCodes.find(Applicable f) private static ApplicableCodes.listAll(Applicable f) private static ApplicableCodes.listApp(Applicable consumer) private static ApplicableCodes.listExists(Applicable f) private static ApplicableCodes.listFilter(Applicable f) private static ApplicableCodes.listFold(boolean left, Applicable f) private static ApplicableCodes.listFold2(boolean left, Applicable f, Object init) private static ApplicableCodes.listMap(Applicable fn) private static ApplicableCodes.listMapPartial(Applicable f) private static ApplicableCodes.listPartition(Applicable f) private static ApplicableCodes.optionApp(Applicable f) ImplementsCodes.OPTION_APP.private static ApplicableCodes.optionCompose(Applicable f, Applicable g) ImplementsCodes.OPTION_COMPOSE.private static ApplicableCodes.optionComposePartial(Applicable f, Applicable g) ImplementsCodes.OPTION_COMPOSE_PARTIAL.private static ApplicableCodes.optionFilter(Applicable f) Implementation ofCodes.OPTION_FILTER.private static ApplicableCodes.optionMap(Applicable f) ImplementsCodes.OPTION_MAP.private static ApplicableCodes.optionMapPartial(Applicable f) ImplementsCodes.OPTION_MAP_PARTIAL.private static ApplicableCodes.stringMap(Applicable f) private static ApplicableCodes.translate(Applicable f) private static ApplicableCodes.vectorApp(Applicable f) ImplementsCodes.VECTOR_APP.private static ApplicableCodes.vectorAppi(Applicable f) ImplementsCodes.VECTOR_APPI.private static ApplicableCodes.vectorFindi(Applicable f) ImplementsCodes.VECTOR_FINDI.private static ApplicableCodes.vectorMap(Applicable f) ImplementsCodes.VECTOR_MAP.private static ApplicableCodes.vectorMapi(Applicable f) ImplementsCodes.VECTOR_MAPI.Method parameters in net.hydromatic.morel.eval with type arguments of type ApplicableModifier and TypeMethodDescriptionstatic Codes.RowSinkCodes.groupRowSink(Code keyCode, com.google.common.collect.ImmutableList<Applicable> aggregateCodes, com.google.common.collect.ImmutableList<String> inNames, com.google.common.collect.ImmutableList<String> keyNames, com.google.common.collect.ImmutableList<String> outNames, Codes.RowSink rowSink) Creates aCodes.RowSinkfor agroupclause.Constructors in net.hydromatic.morel.eval with parameters of type ApplicableConstructor parameters in net.hydromatic.morel.eval with type arguments of type ApplicableModifierConstructorDescription(package private)GroupRowSink(Code keyCode, com.google.common.collect.ImmutableList<Applicable> aggregateCodes, com.google.common.collect.ImmutableList<String> inNames, com.google.common.collect.ImmutableList<String> keyNames, com.google.common.collect.ImmutableList<String> outNames, Codes.RowSink rowSink)