public class StreamIn
extends java.lang.Object
Constructor and Description |
---|
StreamIn() |
Modifier and Type | Method and Description |
---|---|
static PendingFile |
getContextMapping(PendingFile remote)
Translates remote files to local files by creating a local sstable per remote sstable.
|
static void |
requestRanges(java.net.InetAddress source,
java.lang.String tableName,
java.util.Collection<ColumnFamilyStore> columnFamilies,
java.util.Collection<Range<Token>> ranges,
IStreamCallback callback,
OperationType type)
Request ranges to be transferred from specific CFs
|
static void |
requestRanges(java.net.InetAddress source,
java.lang.String tableName,
java.util.Collection<Range<Token>> ranges,
IStreamCallback callback,
OperationType type)
Request ranges for all column families in the given keyspace.
|
public static void requestRanges(java.net.InetAddress source, java.lang.String tableName, java.util.Collection<Range<Token>> ranges, IStreamCallback callback, OperationType type)
public static void requestRanges(java.net.InetAddress source, java.lang.String tableName, java.util.Collection<ColumnFamilyStore> columnFamilies, java.util.Collection<Range<Token>> ranges, IStreamCallback callback, OperationType type)
public static PendingFile getContextMapping(PendingFile remote) throws java.io.IOException
java.io.IOException
Copyright © 2013 The Apache Software Foundation