Package org.qdl_lang.util.aggregate
Class IdentityScalarImpl
- java.lang.Object
-
- org.qdl_lang.util.aggregate.AbstractIdentityStemProcess
-
- org.qdl_lang.util.aggregate.IdentityScalarImpl
-
- All Implemented Interfaces:
ProcessScalar
,ProcessStemValues
- Direct Known Subclasses:
Crypto.DoJWTVerify
,Crypto.IdentityEncryptDecrypt
,Crypto.IdentityJWT
,Crypto.IdentitySymmetricDeorEncrypt
,Crypto.ReadOID.IdentityOIDS
,SystemEvaluator.ReduceAll
public class IdentityScalarImpl extends AbstractIdentityStemProcess implements ProcessScalar
Basic (identity) implementation ofProcessScalar
, simply returns each argument unchanged. The default is that the dyadic calls (for stems) just call the monadic ones, so you can usually just get away with implementing one method for any type. If you want some specific error message, you have enough information for that too. This is the most permissive type of processing. This class is designed to do 95% of the work for handling aggregates and is really redundant and boring. Again, you should only need to override those things that change.
-
-
Constructor Summary
Constructors Constructor Description IdentityScalarImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDefaultValue(Object value)
Since the assumption is that this is being called resolving nested sets (which are unordered hence unindexed) there is no index or key really possible.Object
process(Boolean booleanValue)
Object
process(Long longValue)
Object
process(String stringValue)
Object
process(BigDecimal decimalValue)
Object
process(DyadicFunctionReferenceNode dyadicFunctionReferenceNode)
Object
process(FunctionReferenceNode frValue)
Object
process(Module moduleValue)
Object
process(QDLNull nullValue)
-
Methods inherited from class org.qdl_lang.util.aggregate.AbstractIdentityStemProcess
getDefaultValue, process, process, process, process, process, process, process, process
-
-
-
-
Method Detail
-
process
public Object process(String stringValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Long longValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(BigDecimal decimalValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(QDLNull nullValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Boolean booleanValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Module moduleValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(FunctionReferenceNode frValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(DyadicFunctionReferenceNode dyadicFunctionReferenceNode)
- Specified by:
process
in interfaceProcessScalar
-
-