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