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()
ReadResultSet
readCount
in interface ReadResultSet<E>
public E get(int index)
ReadResultSet
get
in interface ReadResultSet<E>
index
- the indexpublic int getFactoryId()
Portable
getFactoryId
in interface Portable
public int getClassId()
Portable
getClassId
in interface Portable
public void writePortable(PortableWriter writer) throws IOException
Portable
writePortable
in interface Portable
writer
- PortableWriterIOException
public void readPortable(PortableReader reader) throws IOException
Portable
readPortable
in interface Portable
reader
- PortableReaderIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.