public abstract static class SSTableLoader.Client
extends java.lang.Object
Constructor and Description |
---|
SSTableLoader.Client() |
Modifier and Type | Method and Description |
---|---|
protected void |
addRangeForEndpoint(Range<Token> range,
java.net.InetAddress endpoint) |
abstract CFMetaData |
getCFMetaData(java.lang.String keyspace,
java.lang.String cfName)
Validate that
keyspace is an existing keyspace and cfName one of its existing column family. |
StreamConnectionFactory |
getConnectionFactory()
Provides connection factory.
|
java.util.Map<java.net.InetAddress,java.util.Collection<Range<Token>>> |
getEndpointToRangesMap() |
IPartitioner |
getPartitioner() |
abstract void |
init(java.lang.String keyspace)
Initialize the client.
|
protected void |
setPartitioner(IPartitioner partitioner) |
protected void |
setPartitioner(java.lang.String partclass) |
void |
stop()
Stop the client.
|
public abstract void init(java.lang.String keyspace)
public void stop()
public StreamConnectionFactory getConnectionFactory()
public abstract CFMetaData getCFMetaData(java.lang.String keyspace, java.lang.String cfName)
keyspace
is an existing keyspace and cfName
one of its existing column family.public java.util.Map<java.net.InetAddress,java.util.Collection<Range<Token>>> getEndpointToRangesMap()
protected void setPartitioner(java.lang.String partclass) throws ConfigurationException
ConfigurationException
protected void setPartitioner(IPartitioner partitioner)
public IPartitioner getPartitioner()
Copyright © 2015 The Apache Software Foundation