Class CassandraIncomingFile
java.lang.Object
org.apache.cassandra.db.streaming.CassandraIncomingFile
- All Implemented Interfaces:
IncomingStream
used to receive the part(or whole) of a SSTable data file.
This class deserializes the data stream into partitions and rows, and writes that out as an sstable
-
Constructor Summary
ConstructorsConstructorDescriptionCassandraIncomingFile(ColumnFamilyStore cfs, StreamSession session, StreamMessageHeader header) -
Method Summary
-
Constructor Details
-
CassandraIncomingFile
public CassandraIncomingFile(ColumnFamilyStore cfs, StreamSession session, StreamMessageHeader header)
-
-
Method Details
-
session
- Specified by:
sessionin interfaceIncomingStream- Returns:
- stream session used to receive given file
-
read
Description copied from interface:IncomingStreamRead in the stream data.- Specified by:
readin interfaceIncomingStream- Throws:
Throwable
-
getName
- Specified by:
getNamein interfaceIncomingStream
-
getSize
public long getSize()- Specified by:
getSizein interfaceIncomingStream
-
getNumFiles
public int getNumFiles()- Specified by:
getNumFilesin interfaceIncomingStream
-
isEntireSSTable
public boolean isEntireSSTable() -
getTableId
- Specified by:
getTableIdin interfaceIncomingStream
-
toString
-
getSSTable
-
equals
-
hashCode
public int hashCode()
-