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