Package deltix.qsrv.hf.pub.values
Class StringValueBean
- java.lang.Object
-
- deltix.qsrv.hf.pub.values.ValueBean
-
- deltix.qsrv.hf.pub.values.StringValueBean
-
- All Implemented Interfaces:
ReadableValue
,WritableValue
,java.io.Serializable
public final class StringValueBean extends ValueBean
Holds a VARCHAR value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringValueBean(VarcharDataType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
getBoxedValue()
java.lang.CharSequence
getRaw()
java.lang.String
getString()
boolean
isNull()
Always returnsfalse
for non-nullable field.void
writeNull()
void
writeString(java.lang.CharSequence s)
-
Methods inherited from class deltix.qsrv.hf.pub.values.ValueBean
checkNotNull, forType, getArrayLength, getBinary, getBinary, getBinaryLength, getBoolean, getByte, getChar, getDouble, getFieldDecoder, getFieldEncoder, getFloat, getInt, getLong, getShort, nextReadableElement, nextWritableElement, openBinary, setArrayLength, toString, writeBinary, writeBoolean, writeChar, writeDouble, writeFloat, writeInt, writeLong
-
-
-
-
Constructor Detail
-
StringValueBean
public StringValueBean(VarcharDataType type)
-
-
Method Detail
-
getRaw
public java.lang.CharSequence getRaw()
-
getString
public java.lang.String getString() throws NullValueException
- Throws:
NullValueException
-
isNull
public boolean isNull()
Description copied from interface:ReadableValue
Always returnsfalse
for non-nullable field.
-
writeNull
public void writeNull()
-
writeString
public void writeString(java.lang.CharSequence s)
-
getBoxedValue
protected java.lang.Object getBoxedValue()
- Specified by:
getBoxedValue
in classValueBean
-
-