public class PlatformDataStreamer extends PlatformAbstractTarget
ERROR, FALSE, log, platformCtx, TRUE
Constructor and Description |
---|
PlatformDataStreamer(PlatformContext platformCtx,
String cacheName,
DataStreamerImpl ldr,
boolean keepBinary)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowOverwrite() |
void |
allowOverwrite(boolean val) |
int |
perNodeBufferSize() |
void |
perNodeBufferSize(int val) |
int |
perNodeParallelOperations() |
void |
perNodeParallelOperations(int val) |
long |
processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
boolean |
skipStore() |
void |
skipStore(boolean skipStore) |
convertException, platformContext, processInObjectStreamOutObjectStream, processInStreamAsync, processInStreamOutLong, processInStreamOutObject, processInStreamOutStream, processOutObject, processOutStream, readAndListenFuture, readAndListenFuture, readAndListenFuture, readAndListenFuture, wrapListenable
public PlatformDataStreamer(PlatformContext platformCtx, String cacheName, DataStreamerImpl ldr, boolean keepBinary)
platformCtx
- Context.ldr
- Data streamer.public long processInStreamOutLong(int type, BinaryRawReaderEx reader) throws IgniteCheckedException
processInStreamOutLong
in interface PlatformTarget
processInStreamOutLong
in class PlatformAbstractTarget
type
- Type.reader
- Binary reader.IgniteCheckedException
- In case of exception.public long processInLongOutLong(int type, long val) throws IgniteCheckedException
processInLongOutLong
in interface PlatformTarget
processInLongOutLong
in class PlatformAbstractTarget
type
- Type.val
- Value.IgniteCheckedException
- In case of exception.public boolean allowOverwrite()
public void allowOverwrite(boolean val)
val
- Allow-overwrite flag.public boolean skipStore()
public void skipStore(boolean skipStore)
skipStore
- Skip store flag.public int perNodeBufferSize()
public void perNodeBufferSize(int val)
val
- Per-node buffer size.public int perNodeParallelOperations()
public void perNodeParallelOperations(int val)
val
- Per-node parallel load operations.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017