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.Object
The superclass of any data value type.
-
-
Field Summary
Fields Modifier and Type Field Description T
dt
static int
SIZE_VARIABLE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
encodeNull(JExpr output, JCompoundStatement addTo)
protected void
encodeNullImpl(JExpr output, JCompoundStatement addTo)
static QType
forDataType(DataType type)
abstract int
getEncodedFixedSize()
protected boolean
hasConstraint()
boolean
isNullable()
protected JExpr
makeConstantExpr(java.lang.Object obj)
void
skip(JExpr input, JCompoundStatement addTo)
protected void
throwNotImplemented()
-
-
-
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()
-
-