public interface ActorHelper
Find more details at: http://spark.apache.org/docs/latest/streaming-custom-receivers.html
Modifier and Type | Method and Description |
---|---|
void |
store(java.nio.ByteBuffer bytes)
Store the bytes of received data as a data block into Spark's memory.
|
<T> void |
store(scala.collection.Iterator<T> iter)
Store an iterator of received data as a data block into Spark's memory.
|
<T> void |
store(T item)
Store a single item of received data to Spark's memory.
|
<T> void store(scala.collection.Iterator<T> iter)
void store(java.nio.ByteBuffer bytes)
<T> void store(T item)