public class MorphingPortableReader extends DefaultPortableReader
cd
Constructor and Description |
---|
MorphingPortableReader(com.hazelcast.nio.serialization.PortableSerializer serializer,
BufferObjectDataInput in,
ClassDefinition cd) |
Modifier and Type | Method and Description |
---|---|
boolean |
readBoolean(String fieldName) |
byte |
readByte(String fieldName) |
byte[] |
readByteArray(String fieldName) |
char |
readChar(String fieldName) |
char[] |
readCharArray(String fieldName) |
double |
readDouble(String fieldName) |
double[] |
readDoubleArray(String fieldName) |
float |
readFloat(String fieldName) |
float[] |
readFloatArray(String fieldName) |
int |
readInt(String fieldName) |
int[] |
readIntArray(String fieldName) |
long |
readLong(String fieldName) |
long[] |
readLongArray(String fieldName) |
Portable |
readPortable(String fieldName) |
Portable[] |
readPortableArray(String fieldName) |
short |
readShort(String fieldName) |
short[] |
readShortArray(String fieldName) |
String |
readUTF(String fieldName) |
getFieldClassId, getFieldNames, getFieldType, getRawDataInput, getVersion, hasField
public MorphingPortableReader(com.hazelcast.nio.serialization.PortableSerializer serializer, BufferObjectDataInput in, ClassDefinition cd)
public int readInt(String fieldName) throws IOException
readInt
in interface PortableReader
readInt
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public long readLong(String fieldName) throws IOException
readLong
in interface PortableReader
readLong
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public String readUTF(String fieldName) throws IOException
readUTF
in interface PortableReader
readUTF
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public boolean readBoolean(String fieldName) throws IOException
readBoolean
in interface PortableReader
readBoolean
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public byte readByte(String fieldName) throws IOException
readByte
in interface PortableReader
readByte
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public char readChar(String fieldName) throws IOException
readChar
in interface PortableReader
readChar
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public double readDouble(String fieldName) throws IOException
readDouble
in interface PortableReader
readDouble
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public float readFloat(String fieldName) throws IOException
readFloat
in interface PortableReader
readFloat
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public short readShort(String fieldName) throws IOException
readShort
in interface PortableReader
readShort
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public byte[] readByteArray(String fieldName) throws IOException
readByteArray
in interface PortableReader
readByteArray
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public char[] readCharArray(String fieldName) throws IOException
readCharArray
in interface PortableReader
readCharArray
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public int[] readIntArray(String fieldName) throws IOException
readIntArray
in interface PortableReader
readIntArray
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public long[] readLongArray(String fieldName) throws IOException
readLongArray
in interface PortableReader
readLongArray
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public double[] readDoubleArray(String fieldName) throws IOException
readDoubleArray
in interface PortableReader
readDoubleArray
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public float[] readFloatArray(String fieldName) throws IOException
readFloatArray
in interface PortableReader
readFloatArray
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public short[] readShortArray(String fieldName) throws IOException
readShortArray
in interface PortableReader
readShortArray
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public Portable readPortable(String fieldName) throws IOException
readPortable
in interface PortableReader
readPortable
in class DefaultPortableReader
fieldName
- name of the fieldIOException
public Portable[] readPortableArray(String fieldName) throws IOException
readPortableArray
in interface PortableReader
readPortableArray
in class DefaultPortableReader
fieldName
- name of the fieldIOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.