com.hazelcast.nio.serialization
Interface PortableReader
- All Known Implementing Classes:
- DefaultPortableReader, MorphingPortableReader
public interface PortableReader
- Author:
- mdogan 12/28/12
getVersion
int getVersion()
hasField
boolean hasField(String fieldName)
getFieldNames
Set<String> getFieldNames()
getFieldType
FieldType getFieldType(String fieldName)
getFieldClassId
int getFieldClassId(String fieldName)
readInt
int readInt(String fieldName)
throws IOException
- Throws:
IOException
readLong
long readLong(String fieldName)
throws IOException
- Throws:
IOException
readUTF
String readUTF(String fieldName)
throws IOException
- Throws:
IOException
readBoolean
boolean readBoolean(String fieldName)
throws IOException
- Throws:
IOException
readByte
byte readByte(String fieldName)
throws IOException
- Throws:
IOException
readChar
char readChar(String fieldName)
throws IOException
- Throws:
IOException
readDouble
double readDouble(String fieldName)
throws IOException
- Throws:
IOException
readFloat
float readFloat(String fieldName)
throws IOException
- Throws:
IOException
readShort
short readShort(String fieldName)
throws IOException
- Throws:
IOException
readPortable
<P extends Portable> P readPortable(String fieldName)
throws IOException
- Throws:
IOException
readByteArray
byte[] readByteArray(String fieldName)
throws IOException
- Throws:
IOException
readCharArray
char[] readCharArray(String fieldName)
throws IOException
- Throws:
IOException
readIntArray
int[] readIntArray(String fieldName)
throws IOException
- Throws:
IOException
readLongArray
long[] readLongArray(String fieldName)
throws IOException
- Throws:
IOException
readDoubleArray
double[] readDoubleArray(String fieldName)
throws IOException
- Throws:
IOException
readFloatArray
float[] readFloatArray(String fieldName)
throws IOException
- Throws:
IOException
readShortArray
short[] readShortArray(String fieldName)
throws IOException
- Throws:
IOException
readPortableArray
Portable[] readPortableArray(String fieldName)
throws IOException
- Throws:
IOException
getRawDataInput
com.hazelcast.nio.ObjectDataInput getRawDataInput()
throws IOException
- Throws:
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.