public class TestOperation extends java.lang.Object implements Operation<TestClient,java.lang.String>
| Constructor and Description |
|---|
TestOperation() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
execute(TestClient client,
ConnectionContext state)
Execute the operation on the client object and return the results.
|
java.lang.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.
|
java.nio.ByteBuffer |
getRowKey()
Return the unique key on which the operation is performed or null if the
operation is performed on multiple keys.
|
public java.nio.ByteBuffer getRowKey()
OperationgetRowKey in interface Operation<TestClient,java.lang.String>public java.lang.String getKeyspace()
OperationgetKeyspace in interface Operation<TestClient,java.lang.String>public Host getPinnedHost()
OperationgetPinnedHost in interface Operation<TestClient,java.lang.String>public java.lang.String execute(TestClient client, ConnectionContext state) throws ConnectionException
Operationexecute in interface Operation<TestClient,java.lang.String>client - - The client objectstate - - State and metadata specific to the connectionConnectionException