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,
java.net.InetAddress endpoint) |
StreamConnectionFactory |
getConnectionFactory()
Provides connection factory.
|
java.util.Map<java.net.InetAddress,java.util.Collection<Range<Token>>> |
getEndpointToRangesMap() |
abstract CFMetaData |
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(CFMetaData cfm) |
void |
stop()
Stop the client.
|
public abstract void init(java.lang.String keyspace)
public void stop()
public StreamConnectionFactory getConnectionFactory()
public abstract CFMetaData getTableMetadata(java.lang.String tableName)
keyspace
is an existing keyspace and cfName
one of its existing column family.public void setTableMetadata(CFMetaData cfm)
public java.util.Map<java.net.InetAddress,java.util.Collection<Range<Token>>> getEndpointToRangesMap()
Copyright © 2015 The Apache Software Foundation