Example usage for org.apache.cassandra.hadoop ConfigHelper setOutputKeyspace

List of usage examples for org.apache.cassandra.hadoop ConfigHelper setOutputKeyspace

Introduction

In this page you can find the example usage for org.apache.cassandra.hadoop ConfigHelper setOutputKeyspace.

Prototype

public static void setOutputKeyspace(Configuration conf, String keyspace) 

Source Link

Document

Set the keyspace for the output of this job.

Usage

From source file:com.spotify.hdfs2cass.crunch.CrunchConfigHelper.java

License:Open Source License

/**
 * Set the keyspace and column family for the output of this job.
 * <p>/*from   w  w w.j a  v a  2  s  .com*/
 * Use this instead of
 * {@link org.apache.cassandra.hadoop.ConfigHelper#setOutputColumnFamily(org.apache.hadoop.conf.Configuration, String, String)}
 * </p>
 */
public static void setOutputColumnFamily(Configuration conf, String keyspace, String columnFamily) {
    ConfigHelper.setOutputKeyspace(conf, keyspace);
    setOutputColumnFamily(conf, columnFamily);
}