public abstract static class SSTableLoader.Client
extends java.lang.Object
Constructor and Description |
---|
Client() |
Modifier and Type | Method and Description |
---|---|
protected void |
addRangeForEndpoint(Range<Token> range,
InetAddressAndPort endpoint) |
StreamConnectionFactory |
getConnectionFactory()
Provides connection factory.
|
java.util.Map<InetAddressAndPort,java.util.Collection<Range<Token>>> |
getEndpointToRangesMap() |
abstract TableMetadataRef |
getTableMetadata(java.lang.String tableName)
Validate that
keyspace is an existing keyspace and cfName one of its existing column family. |
abstract void |
init(java.lang.String keyspace)
Initialize the client.
|
void |
setTableMetadata(TableMetadataRef cfm) |
void |
stop()
Stop the client.
|
public abstract void init(java.lang.String keyspace)
public void stop()
public StreamConnectionFactory getConnectionFactory()
public abstract TableMetadataRef getTableMetadata(java.lang.String tableName)
keyspace
is an existing keyspace and cfName
one of its existing column family.public void setTableMetadata(TableMetadataRef cfm)
public java.util.Map<InetAddressAndPort,java.util.Collection<Range<Token>>> getEndpointToRangesMap()
protected void addRangeForEndpoint(Range<Token> range, InetAddressAndPort endpoint)
Copyright © 2009- The Apache Software Foundation