public interface IncomingStream
OutgoingStream
on the receiving side.
Data streamed in can (and should) be persisted, but must not be included in the table's
live data set until added by StreamReceiver
. If the stream fails, the stream receiver will
delete the streamed data, but implementations still need to handle the case where it's process dies
during streaming, and it has data left around on startup, in which case it should be deleted.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
int |
getNumFiles() |
long |
getSize() |
TableId |
getTableId() |
void |
read(DataInputPlus inputPlus,
int version)
Read in the stream data.
|
StreamSession |
session() |
void read(DataInputPlus inputPlus, int version) throws java.io.IOException
java.io.IOException
java.lang.String getName()
long getSize()
int getNumFiles()
TableId getTableId()
StreamSession session()
Copyright © 2009- The Apache Software Foundation