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 JExpr
decodeExpr(JExpr input)
protected void
encodeExpr(JExpr output, JExpr value, JCompoundStatement addTo)
int
getEncodedFixedSize()
java.lang.Class<?>
getJavaClass()
protected JExpr
getNullLiteral()
JExpr
makeConstantExpr(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:
getJavaClass
in classQPrimitiveType<CharDataType>
-
getNullLiteral
protected JExpr getNullLiteral()
- Specified by:
getNullLiteral
in classQPrimitiveType<CharDataType>
- Returns:
- constant, which is the canonical NULL-value for the given DataType
-
makeConstantExpr
public JExpr makeConstantExpr(java.lang.Object obj)
- Overrides:
makeConstantExpr
in classQType<CharDataType>
-
getEncodedFixedSize
public int getEncodedFixedSize()
- Specified by:
getEncodedFixedSize
in classQType<CharDataType>
-
decodeExpr
protected JExpr decodeExpr(JExpr input)
- Overrides:
decodeExpr
in classQPrimitiveType<CharDataType>
-
encodeExpr
protected void encodeExpr(JExpr output, JExpr value, JCompoundStatement addTo)
- Overrides:
encodeExpr
in classQPrimitiveType<CharDataType>
-
-