Package org.qdl_lang.variables
Class QDLStem.SizeOf
- java.lang.Object
-
- org.qdl_lang.util.aggregate.AbstractIdentityStemProcess
-
- org.qdl_lang.util.aggregate.AxisRestrictionIdentity
-
- org.qdl_lang.variables.QDLStem.SizeOf
-
- All Implemented Interfaces:
ProcessStemAxisRestriction
,ProcessStemValues
,Constants
- Enclosing class:
- QDLStem
public static class QDLStem.SizeOf extends AxisRestrictionIdentity
-
-
Field Summary
-
Fields inherited from class org.qdl_lang.util.aggregate.AxisRestrictionIdentity
axis
-
Fields inherited from interface org.qdl_lang.variables.Constants
ALL_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
-
Fields inherited from interface org.qdl_lang.util.aggregate.ProcessStemAxisRestriction
ALL_AXES
-
-
Constructor Summary
Constructors Constructor Description SizeOf(int axis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDefaultValue(List<Object> index, Object key, Object value)
This is what makes this the identity function.Long
getSize()
-
Methods inherited from class org.qdl_lang.util.aggregate.AxisRestrictionIdentity
getAxis, process, process
-
Methods inherited from class org.qdl_lang.util.aggregate.AbstractIdentityStemProcess
process, process, process, process, process, process, process, process, process
-
-
-
-
Method Detail
-
getDefaultValue
public Object getDefaultValue(List<Object> index, Object key, Object value)
Description copied from class:AbstractIdentityStemProcess
This is what makes this the identity function. If you want/need a different default value for each call, override this.- Overrides:
getDefaultValue
in classAbstractIdentityStemProcess
- Returns:
-
getSize
public Long getSize()
-
-