src/java/org/apache/cassandra/streaming/StreamOut.java
/**
     * Low-level transfer of matching portions of a group of sstables from a single table to the target endpoint.
     * You should probably call transferRanges instead. This moreover assumes that references have been acquired on the sstables.
     */
Low-level transfer of matching portions of a group of sstables from a single table to the target endpoint.
You should probably call transferRanges instead. This moreover assumes that references have been acquired on the sstables.
Low - level transfer of matching portions of a group of sstables from a single table to the target endpoint . You should probably call transferRanges instead . This moreover assumes that references have been acquired on the sstables .
public static void transferSSTables(StreamOutSession session, Iterable<SSTableReader> sstables, Collection<Range<Token>> ranges, OperationType type) throws IOException
    {
        List<PendingFile> pending = createPendingFiles(sstables, ranges, type);
        session.addFilesToStream(pending);
        session.begin();
    }
public static void transferSSTables ( StreamOutSession session , Iterable < SSTableReader > sstables , Collection < Range < Token > > ranges , OperationType type ) throws IOException { List < PendingFile > pending = createPendingFiles ( sstables , ranges , type ) ; session . addFilesToStream ( pending ) ; session . begin ( ) ; }
Low-level transfer of matching portions of a group of sstables from a single table to the target endpoint.
Low - level transfer of matching portions of a group of sstables from a single table to the target endpoint .
// Even if the list of pending files is empty, we need to initiate the transfer otherwise // the remote end will hang in cases where this was a requested transfer.