public class PlatformStreamReceiverImpl extends PlatformAbstractPredicate implements PlatformStreamReceiver
ctx, pred, ptr| Constructor and Description |
|---|
PlatformStreamReceiverImpl()
Constructor.
|
PlatformStreamReceiverImpl(Object pred,
long ptr,
boolean keepBinary,
PlatformContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(ObjectInput in) |
void |
receive(IgniteCache<Object,Object> cache,
Collection<Map.Entry<Object,Object>> collection)
Updates cache with batch of entries.
|
void |
setIgniteInstance(Ignite ignite) |
void |
writeExternal(ObjectOutput out) |
public PlatformStreamReceiverImpl()
public PlatformStreamReceiverImpl(Object pred, long ptr, boolean keepBinary, PlatformContext ctx)
pred - .Net binary receiver.ptr - Pointer to receiver in the native platform.ctx - Kernal context.public void receive(IgniteCache<Object,Object> cache, Collection<Map.Entry<Object,Object>> collection) throws IgniteException
receive in interface StreamReceiver<Object,Object>cache - Cache.collection - Collection of entries.IgniteException - If failed.@IgniteInstanceResource public void setIgniteInstance(Ignite ignite)
ignite - Ignite instance.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class PlatformAbstractPredicateIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class PlatformAbstractPredicateIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023