Package org.apache.cassandra.io.sstable.SSTableLoader

Examples of org.apache.cassandra.io.sstable.SSTableLoader.Client


     * Not multi-threaded intentionally.
     * @return
     */
    public Collection<PendingFile> stream(File directory) throws IOException, InterruptedException
    {
        Client client = new Client()
        {
            public boolean validateColumnFamily(String keyspace, String cfName)
            {
                return true;
            }

            public void init(String keyspace)
            {
            }
        };
        try {
      client.setPartitioner(config.getPartitioner());
  } catch (Exception e) {
      logger.error("Configuration Exception while setting partitioner", e);
  }
       
       
View Full Code Here

TOP

Related Classes of org.apache.cassandra.io.sstable.SSTableLoader.Client

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.