org.apache.cassandra.thrift
Class ThriftClientState

java.lang.Object
  extended by org.apache.cassandra.service.ClientState
      extended by org.apache.cassandra.thrift.ThriftClientState

public class ThriftClientState
extends ClientState

ClientState used by thrift that also provide a QueryState. Thrift is intrinsically synchronous so there could be only one query per client at a given time. So ClientState and QueryState can be merge into the same object.


Field Summary
 
Fields inherited from class org.apache.cassandra.service.ClientState
DEFAULT_CQL_VERSION
 
Constructor Summary
ThriftClientState()
           
 
Method Summary
 java.util.Map<java.lang.Integer,CQLStatement> getPrepared()
           
 QueryState getQueryState()
           
 java.lang.String getSchedulingValue()
           
 
Methods inherited from class org.apache.cassandra.service.ClientState
ensureHasPermission, ensureNotAnonymous, getCQLSupportedVersion, getCQLVersion, getKeyspace, getRawKeyspace, getUser, hasAllKeyspacesAccess, hasColumnFamilyAccess, hasKeyspaceAccess, login, setCQLVersion, setKeyspace, validateLogin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftClientState

public ThriftClientState()
Method Detail

getQueryState

public QueryState getQueryState()

getPrepared

public java.util.Map<java.lang.Integer,CQLStatement> getPrepared()

getSchedulingValue

public java.lang.String getSchedulingValue()


Copyright © 2012 The Apache Software Foundation