Package org.qdl_lang.util
Class NoOpScalarImpl
- java.lang.Object
-
- org.qdl_lang.util.NoOpScalarImpl
-
- All Implemented Interfaces:
ProcessScalar
public class NoOpScalarImpl extends Object implements ProcessScalar
Basic implementation ofProcessScalar
that simply throws an exception for each argument. This is extended in the case that unknown values cause an exception, hence only explicitly allowed types are permitted. This is the most restrictive type of processing, cf.ProcessScalarImpl
which is the least restrictive.
-
-
Constructor Summary
Constructors Constructor Description NoOpScalarImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
process(Boolean booleanValue)
Object
process(Long longValue)
Object
process(Object key, Boolean booleanValue)
Object
process(Object key, Long longValue)
Object
process(Object key, String stringValue)
Object
process(Object key, BigDecimal decimalValue)
Object
process(Object key, DyadicFunctionReferenceNode dyadicFunctionReferenceNode)
Object
process(Object key, FunctionReferenceNode frValue)
Object
process(Object key, Module moduleValue)
Object
process(Object key, QDLNull nullValue)
Object
process(String stringValue)
Object
process(BigDecimal decimalValue)
Object
process(DyadicFunctionReferenceNode dyadicFunctionReferenceNode)
Object
process(FunctionReferenceNode frValue)
Object
process(Module moduleValue)
Object
process(QDLNull nullValue)
-
-
-
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
-
process
public Object process(Object key, Boolean booleanValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Object key, String stringValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Object key, Long longValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Object key, BigDecimal decimalValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Object key, QDLNull nullValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Object key, Module moduleValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Object key, FunctionReferenceNode frValue)
- Specified by:
process
in interfaceProcessScalar
-
process
public Object process(Object key, DyadicFunctionReferenceNode dyadicFunctionReferenceNode)
- Specified by:
process
in interfaceProcessScalar
-
-