Package deltix.qsrv.hf.codec.cg
Class QType<T extends DataType>
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.QType<T>
-
- Direct Known Subclasses:
QPrimitiveType
public abstract class QType<T extends DataType> extends java.lang.ObjectThe superclass of any data value type.
-
-
Field Summary
Fields Modifier and Type Field Description Tdtstatic intSIZE_VARIABLE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidencodeNull(JExpr output, JCompoundStatement addTo)protected voidencodeNullImpl(JExpr output, JCompoundStatement addTo)static QTypeforDataType(DataType type)abstract intgetEncodedFixedSize()protected booleanhasConstraint()booleanisNullable()protected JExprmakeConstantExpr(java.lang.Object obj)voidskip(JExpr input, JCompoundStatement addTo)protected voidthrowNotImplemented()
-
-
-
Field Detail
-
SIZE_VARIABLE
public static final int SIZE_VARIABLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QType
protected QType(T dt)
-
-
Method Detail
-
skip
public void skip(JExpr input, JCompoundStatement addTo)
-
isNullable
public final boolean isNullable()
- Returns:
- the isNullable
-
getEncodedFixedSize
public abstract int getEncodedFixedSize()
-
hasConstraint
protected boolean hasConstraint()
-
makeConstantExpr
protected JExpr makeConstantExpr(java.lang.Object obj)
-
encodeNull
public void encodeNull(JExpr output, JCompoundStatement addTo)
-
encodeNullImpl
protected void encodeNullImpl(JExpr output, JCompoundStatement addTo)
-
throwNotImplemented
protected void throwNotImplemented()
-
-