Package deltix.qsrv.hf.codec.cg
Class QAlphanumericType
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.QType<T>
-
- deltix.qsrv.hf.codec.cg.QPrimitiveType<VarcharDataType>
-
- deltix.qsrv.hf.codec.cg.QAlphanumericType
-
public class QAlphanumericType extends QPrimitiveType<VarcharDataType>
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.codec.cg.QType
dt, SIZE_VARIABLE
-
-
Constructor Summary
Constructors Constructor Description QAlphanumericType(VarcharDataType dt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodeNullImpl(JExpr output, JCompoundStatement addTo)
int
getEncodedFixedSize()
java.lang.Class<?>
getJavaClass()
protected JExpr
getNullLiteral()
void
skip(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
-
QAlphanumericType
public QAlphanumericType(VarcharDataType dt)
-
-
Method Detail
-
getEncodedFixedSize
public int getEncodedFixedSize()
- Specified by:
getEncodedFixedSize
in classQType<VarcharDataType>
-
skip
public void skip(JExpr input, JCompoundStatement addTo)
- Overrides:
skip
in classQType<VarcharDataType>
-
encodeNullImpl
protected void encodeNullImpl(JExpr output, JCompoundStatement addTo)
- Overrides:
encodeNullImpl
in classQPrimitiveType<VarcharDataType>
-
getJavaClass
public java.lang.Class<?> getJavaClass()
- Specified by:
getJavaClass
in classQPrimitiveType<VarcharDataType>
-
getNullLiteral
protected JExpr getNullLiteral()
- Specified by:
getNullLiteral
in classQPrimitiveType<VarcharDataType>
- Returns:
- constant, which is the canonical NULL-value for the given DataType
-
-