Package | Description |
---|---|
org.apache.cassandra.dht | |
org.apache.cassandra.streaming |
Constructor and Description |
---|
RangeStreamer(TokenMetadata metadata,
java.net.InetAddress address,
OperationType opType) |
Modifier and Type | Field and Description |
---|---|
OperationType |
PendingFile.type |
protected OperationType |
StreamRequest.type |
Modifier and Type | Method and Description |
---|---|
static OperationType |
OperationType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
OperationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
StreamIn.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 |
StreamIn.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.
|
static void |
StreamOut.transferRanges(java.net.InetAddress target,
Table table,
java.util.Collection<Range<Token>> ranges,
IStreamCallback callback,
OperationType type)
Stream the given ranges to the target endpoint from each CF in the given keyspace.
|
static void |
StreamOut.transferRanges(java.net.InetAddress target,
Table table,
java.lang.Iterable<ColumnFamilyStore> cfses,
java.util.Collection<Range<Token>> ranges,
IStreamCallback callback,
OperationType type)
Stream the given ranges to the target endpoint for provided CFs in the given keyspace.
|
static void |
StreamOut.transferRanges(StreamOutSession session,
java.lang.Iterable<ColumnFamilyStore> cfses,
java.util.Collection<Range<Token>> ranges,
OperationType type)
Stream the given ranges to the target endpoint from each of the given CFs.
|
static void |
StreamOut.transferRanges(StreamOutSession session,
java.lang.Iterable<ColumnFamilyStore> cfses,
java.util.Collection<Range<Token>> ranges,
OperationType type,
boolean flushTables)
Stream the given ranges to the target endpoint from each of the given CFs.
|
static void |
StreamOut.transferSSTables(StreamOutSession session,
java.lang.Iterable<SSTableReader> sstables,
java.util.Collection<Range<Token>> ranges,
OperationType type)
Low-level transfer of matching portions of a group of sstables from a single table to the target endpoint.
|
Constructor and Description |
---|
PendingFile(SSTableReader sstable,
Descriptor desc,
java.lang.String component,
java.util.List<Pair<java.lang.Long,java.lang.Long>> sections,
OperationType type) |
PendingFile(SSTableReader sstable,
Descriptor desc,
java.lang.String component,
java.util.List<Pair<java.lang.Long,java.lang.Long>> sections,
OperationType type,
long estimatedKeys,
CompressionInfo compressionInfo) |
Copyright © 2014 The Apache Software Foundation