org.apache.cassandra.cli
Class CliClient

java.lang.Object
  extended by org.apache.cassandra.cli.CliClient

public class CliClient
extends java.lang.Object


Constructor Summary
CliClient(CliSessionState css, org.apache.cassandra.service.Cassandra.Client thriftClient)
           
 
Method Summary
 void executeCLIStmt(java.lang.String stmt)
           
 void executeQueryOnServer(java.lang.String query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CliClient

public CliClient(CliSessionState css,
                 org.apache.cassandra.service.Cassandra.Client thriftClient)
Method Detail

executeCLIStmt

public void executeCLIStmt(java.lang.String stmt)
                    throws org.apache.thrift.TException,
                           org.apache.cassandra.service.NotFoundException,
                           org.apache.cassandra.service.InvalidRequestException,
                           org.apache.cassandra.service.UnavailableException
Throws:
org.apache.thrift.TException
org.apache.cassandra.service.NotFoundException
org.apache.cassandra.service.InvalidRequestException
org.apache.cassandra.service.UnavailableException

executeQueryOnServer

public void executeQueryOnServer(java.lang.String query)
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2009 The Apache Software Foundation