public abstract class

AbstractOperationImpl

extends Object
implements Operation<CL, R>
java.lang.Object
   ↳ com.netflix.astyanax.thrift.AbstractOperationImpl<R>
Known Direct Subclasses

Summary

Public Constructors
AbstractOperationImpl(CassandraOperationTracer tracer, Host host)
AbstractOperationImpl(CassandraOperationTracer tracer)
Public Methods
R execute(Cassandra.Client client)
String getKeyspace()
Return keyspace for this operation.
Host getPinnedHost()
Return the host to run on or null to select a host using the load blancer.
BigInteger getToken()
Return the unique key on which the operation is performed or null if the operation is performed on multiple keys.
Protected Methods
abstract R internalExecute(Cassandra.Client client)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.netflix.astyanax.connectionpool.Operation

Public Constructors

public AbstractOperationImpl (CassandraOperationTracer tracer, Host host)

public AbstractOperationImpl (CassandraOperationTracer tracer)

Public Methods

public R execute (Cassandra.Client client)

public String getKeyspace ()

Return keyspace for this operation. Return null if using the current keyspace, or a keyspace is not needed for the operation.

public Host getPinnedHost ()

Return the host to run on or null to select a host using the load blancer. Failover is disabled for this scenario.

public BigInteger getToken ()

Return the unique key on which the operation is performed or null if the operation is performed on multiple keys.

Protected Methods

protected abstract R internalExecute (Cassandra.Client client)

Throws
Exception