Package deltix.qsrv.hf.pub
Interface ReadableValue
-
- All Known Subinterfaces:
UnboundDecoder
- All Known Implementing Classes:
BooleanValueBean,DoubleValueBean,EmptyUnboundDecoder,FixedUnboundDecoderImpl,FloatValueBean,IntegerValueBean,PolyUnboundDecoderImpl,PropertySupport,StringValueBean,ValueBean
public interface ReadableValueRead access to a value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetArrayLength()voidgetBinary(int srcOffset, int length, byte[] dest, int destOffset)voidgetBinary(int offset, int length, java.io.OutputStream out)intgetBinaryLength()booleangetBoolean()bytegetByte()chargetChar()doublegetDouble()UnboundDecodergetFieldDecoder()Used to read nested objectsfloatgetFloat()intgetInt()longgetLong()shortgetShort()java.lang.StringgetString()booleanisNull()Always returnsfalsefor non-nullable field.ReadableValuenextReadableElement()java.io.InputStreamopenBinary()
-
-
-
Method Detail
-
isNull
boolean isNull()
Always returnsfalsefor non-nullable field.
-
getBoolean
boolean getBoolean() throws NullValueException- Throws:
NullValueException
-
getChar
char getChar() throws NullValueException- Throws:
NullValueException
-
getByte
byte getByte() throws NullValueException- Throws:
NullValueException
-
getShort
short getShort() throws NullValueException- Throws:
NullValueException
-
getInt
int getInt() throws NullValueException- Throws:
NullValueException
-
getLong
long getLong() throws NullValueException- Throws:
NullValueException
-
getFloat
float getFloat() throws NullValueException- Throws:
NullValueException
-
getDouble
double getDouble() throws NullValueException- Throws:
NullValueException
-
getString
java.lang.String getString() throws NullValueException- Throws:
NullValueException
-
getArrayLength
int getArrayLength() throws NullValueException- Throws:
NullValueException
-
nextReadableElement
ReadableValue nextReadableElement() throws NullValueException
- Throws:
NullValueException
-
getFieldDecoder
UnboundDecoder getFieldDecoder() throws NullValueException
Used to read nested objects- Throws:
NullValueException
-
getBinaryLength
int getBinaryLength() throws NullValueException- Throws:
NullValueException
-
getBinary
void getBinary(int offset, int length, java.io.OutputStream out) throws NullValueException- Throws:
NullValueException
-
getBinary
void getBinary(int srcOffset, int length, byte[] dest, int destOffset) throws NullValueException- Throws:
NullValueException
-
openBinary
java.io.InputStream openBinary() throws NullValueException- Throws:
NullValueException
-
-