Example usage for org.apache.cassandra.transport Client main

List of usage examples for org.apache.cassandra.transport Client main

Introduction

In this page you can find the example usage for org.apache.cassandra.transport Client main.

Prototype

public static void main(String[] args) throws Exception 

Source Link

Usage

From source file:my.test.client.ClientTest.java

License:Apache License

/**
 * @param args/*from  ww  w  . j a  v  a 2  s  .  c o  m*/
 */
public static void main(String[] args) {
    try {
        Client.main(new String[] { "localhost", "9042" });
    } catch (Exception e) {
        e.printStackTrace();
    }
}