public class PortableReadResultSet<E> extends Object implements Portable, ReadResultSet<E>
| Constructor and Description |
|---|
PortableReadResultSet() |
PortableReadResultSet(int readCount,
List<Data> items) |
| Modifier and Type | Method and Description |
|---|---|
E |
get(int index)
Gets the item at the given index.
|
int |
getClassId()
Returns class identifier for this portable class.
|
List<Data> |
getDataItems() |
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
Iterator<E> |
iterator() |
int |
readCount()
Returns the number of items that have been read before filtering.
|
void |
readPortable(PortableReader reader)
Read portable fields using PortableReader
|
void |
setSerializationService(SerializationService serializationService) |
void |
writePortable(PortableWriter writer)
Serialize this portable object using PortableWriter
|
public void setSerializationService(SerializationService serializationService)
public int readCount()
ReadResultSetreadCount in interface ReadResultSet<E>public E get(int index)
ReadResultSetget in interface ReadResultSet<E>index - the indexpublic int getFactoryId()
PortablegetFactoryId in interface Portablepublic int getClassId()
PortablegetClassId in interface Portablepublic void writePortable(PortableWriter writer) throws IOException
PortablewritePortable in interface Portablewriter - PortableWriterIOExceptionpublic void readPortable(PortableReader reader) throws IOException
PortablereadPortable in interface Portablereader - PortableReaderIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.