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