Package org.qdl_lang.evaluate
Class SystemEvaluator.ReduceAll
- java.lang.Object
- 
- org.qdl_lang.util.aggregate.AbstractIdentityStemProcess
- 
- org.qdl_lang.util.aggregate.IdentityScalarImpl
- 
- org.qdl_lang.evaluate.SystemEvaluator.ReduceAll
 
 
 
- 
- All Implemented Interfaces:
- ProcessScalar,- ProcessStemValues,- Constants
 - Enclosing class:
- SystemEvaluator
 
 public static class SystemEvaluator.ReduceAll extends IdentityScalarImpl 
- 
- 
Field Summary- 
Fields inherited from interface org.qdl_lang.variables.ConstantsALL_INDICES_NAME, ALL_INDICES_TYPE, ARG_COUNT_TYPE, AXIS_RESTRICTION_NAME, AXIS_RESTRICTION_TYPE, BOOLEAN_NAME, BOOLEAN_TYPE, DECIMAL_NAME, DECIMAL_TYPE, DYADIC_FUNCTION_NAME, DYADIC_FUNCTION_TYPE, FUNCTION_NAME, FUNCTION_TYPE, INTEGER_TYPE, LIST_NAME, LIST_TYPE, LONG_NAME, LONG_TYPE, MODULE_NAME, MODULE_TYPE, NULL_NAME, NULL_TYPE, SET_NAME, SET_TYPE, STEM_NAME, STEM_TYPE, STRING_NAME, STRING_TYPE, UNKNOWN_NAME, UNKNOWN_TYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description ReduceAll(ExpressionImpl f, State state)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDefaultValue(List<Object> index, Object key, Object value)This is what makes this the identity function.- 
Methods inherited from class org.qdl_lang.util.aggregate.IdentityScalarImplgetDefaultValue, process, process, process, process, process, process, process, process
 - 
Methods inherited from class org.qdl_lang.util.aggregate.AbstractIdentityStemProcessprocess, process, process, process, process, process, process, process, process
 
- 
 
- 
- 
- 
Constructor Detail- 
ReduceAllpublic ReduceAll(ExpressionImpl f, State state) 
 
- 
 - 
Method Detail- 
getDefaultValuepublic Object getDefaultValue(List<Object> index, Object key, Object value) Description copied from class:AbstractIdentityStemProcessThis is what makes this the identity function. If you want/need a different default value for each call, override this.- Overrides:
- getDefaultValuein class- AbstractIdentityStemProcess
- Returns:
 
 
- 
 
-