Class SSTableLoader.Client

    • Constructor Detail

      • Client

        public Client()
    • Method Detail

      • init

        public abstract void init​(java.lang.String keyspace)
        Initialize the client. Perform any step necessary so that after the call to the this method: * partitioner is initialized * getEndpointToRangesMap() returns a correct map This method is guaranteed to be called before any other method of a client.
      • stop

        public void stop()
        Stop the client.
      • getConnectionFactory

        public StreamingChannel.Factory getConnectionFactory()
        Provides connection factory. By default, it uses DefaultConnectionFactory.
        Returns:
        StreamConnectionFactory to use
      • getTableMetadata

        public abstract TableMetadataRef getTableMetadata​(java.lang.String tableName)
        Validate that keyspace is an existing keyspace and cfName one of its existing column family.