Package deltix.qsrv.hf.codec.cg
Class QClassType
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.QType<T>
-
- deltix.qsrv.hf.codec.cg.QPrimitiveType<ClassDataType>
-
- deltix.qsrv.hf.codec.cg.QClassType
-
public class QClassType extends QPrimitiveType<ClassDataType>
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.codec.cg.QType
dt, SIZE_VARIABLE
-
-
Constructor Summary
Constructors Constructor Description QClassType(ClassDataType dt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEncodedFixedSize()
java.lang.Class<?>
getJavaClass()
protected JExpr
getNullLiteral()
void
skip(JExpr input, JCompoundStatement addTo)
-
Methods inherited from class deltix.qsrv.hf.codec.cg.QPrimitiveType
checkNull, decodeExpr, encodeExpr, encodeNullImpl
-
Methods inherited from class deltix.qsrv.hf.codec.cg.QType
encodeNull, forDataType, hasConstraint, isNullable, makeConstantExpr, throwNotImplemented
-
-
-
-
Constructor Detail
-
QClassType
public QClassType(ClassDataType dt)
-
-
Method Detail
-
getEncodedFixedSize
public int getEncodedFixedSize()
- Specified by:
getEncodedFixedSize
in classQType<ClassDataType>
-
getJavaClass
public java.lang.Class<?> getJavaClass()
- Specified by:
getJavaClass
in classQPrimitiveType<ClassDataType>
-
skip
public void skip(JExpr input, JCompoundStatement addTo)
- Overrides:
skip
in classQType<ClassDataType>
-
getNullLiteral
protected JExpr getNullLiteral()
- Specified by:
getNullLiteral
in classQPrimitiveType<ClassDataType>
- Returns:
- constant, which is the canonical NULL-value for the given DataType
-
-