com.netflix.astyanax.thrift
Class AbstractKeyspaceOperationImpl<R>

java.lang.Object
  extended by com.netflix.astyanax.thrift.AbstractOperationImpl<R>
      extended by com.netflix.astyanax.thrift.AbstractKeyspaceOperationImpl<R>
All Implemented Interfaces:
Operation<org.apache.cassandra.thrift.Cassandra.Client,R>

public abstract class AbstractKeyspaceOperationImpl<R>
extends AbstractOperationImpl<R>


Constructor Summary
AbstractKeyspaceOperationImpl(CassandraOperationTracer tracer, Host pinnedHost, String keyspaceName)
           
AbstractKeyspaceOperationImpl(CassandraOperationTracer tracer, String keyspaceName)
           
 
Method Summary
 String getKeyspace()
          Return keyspace for this operation.
 
Methods inherited from class com.netflix.astyanax.thrift.AbstractOperationImpl
execute, getPinnedHost, getToken, internalExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractKeyspaceOperationImpl

public AbstractKeyspaceOperationImpl(CassandraOperationTracer tracer,
                                     Host pinnedHost,
                                     String keyspaceName)

AbstractKeyspaceOperationImpl

public AbstractKeyspaceOperationImpl(CassandraOperationTracer tracer,
                                     String keyspaceName)
Method Detail

getKeyspace

public String getKeyspace()
Description copied from interface: Operation
Return keyspace for this operation. Return null if using the current keyspace, or a keyspace is not needed for the operation.

Specified by:
getKeyspace in interface Operation<org.apache.cassandra.thrift.Cassandra.Client,R>
Overrides:
getKeyspace in class AbstractOperationImpl<R>
Returns:


Copyright © 2012. All Rights Reserved.