public abstract class PlatformAbstractQueryCursor<T> extends PlatformAbstractTarget implements AutoCloseable
FALSE, log, platformCtx, TRUE| Constructor and Description |
|---|
PlatformAbstractQueryCursor(PlatformContext platformCtx,
QueryCursorEx<T> cursor,
int batchSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
iterator()
Get cursor iterator.
|
boolean |
iteratorHasNext()
Check whether next iterator entry exists.
|
protected void |
processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
protected abstract void |
write(BinaryRawWriterEx writer,
T val)
Write value to the stream.
|
convertException, currentFuture, futureWriter, inObjectStreamOutStream, inStreamOutLong, inStreamOutObject, inStreamOutStream, listenFuture, listenFutureAndGet, listenFutureForOperation, listenFutureForOperationAndGet, outLong, outObject, outStream, platformContext, processInObjectStreamOutStream, processInStreamOutLong, processInStreamOutObject, processInStreamOutStream, processOutLong, processOutObject, throwUnsupportedpublic PlatformAbstractQueryCursor(PlatformContext platformCtx, QueryCursorEx<T> cursor, int batchSize)
platformCtx - Context.cursor - Underlying cursor.batchSize - Batch size.protected void processOutStream(int type,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processOutStream in class PlatformAbstractTargettype - Type.writer - Binary writer.IgniteCheckedException - In case of exception.public void iterator()
public boolean iteratorHasNext()
True if exists.public void close()
throws Exception
close in interface AutoCloseableExceptionprotected abstract void write(BinaryRawWriterEx writer, T val)
writer - Writer.val - Value.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016