I - The Row Key TypeT - The TransportObject object type.public interface CfQueryOperations<I extends Serializable,T extends TransportObject<? super T,I>>
| Modifier and Type | Method and Description |
|---|---|
void |
prepareDelete(T id,
DataStoreContext context)
prepareDelete(T, com.h3c.util.persistence.cassandra.DataStoreContext) implements the Delete
operation for every CF |
void |
prepareMutation(T transportable,
DataStoreContext context)
prepareMutation(T, com.h3c.util.persistence.cassandra.DataStoreContext) mandates the implementation
of preparation of Write operation for every Column Family
implementing this interface. |
void |
prepareTransaction(T transportable,
DataStoreContext context) |
void |
prepareUpdate(T oldT,
T newT,
DataStoreContext context)
prepareMutation(T, com.h3c.util.persistence.cassandra.DataStoreContext) mandates the implementation
of preparation of Write operation for every Column Family
implementing this interface. |
void prepareMutation(T transportable, DataStoreContext context) throws Exception
prepareMutation(T, com.h3c.util.persistence.cassandra.DataStoreContext) mandates the implementation
of preparation of Write operation for every Column Family
implementing this interface.transportable - The input transportable object to work on.context - The DataStoreContext The results of the operation will be
added to the Operation Batch in the EntityManager using
this contextException - error occurredvoid prepareUpdate(T oldT, T newT, DataStoreContext context) throws Exception
prepareMutation(T, com.h3c.util.persistence.cassandra.DataStoreContext) mandates the implementation
of preparation of Write operation for every Column Family
implementing this interface.oldT - The object as read from database.newT - The object with latest values.context - The DataStoreContext The results of the operation will be
added to the Operation Batch in the EntityManager using
this contextException - error occurredvoid prepareDelete(T id, DataStoreContext context) throws Exception
prepareDelete(T, com.h3c.util.persistence.cassandra.DataStoreContext) implements the Delete
operation for every CFid - The input to work on.context - The DataStoreContext The results of the operation will be
added to the Operation Batch in the EntityManager using
this contextException - error occurredvoid prepareTransaction(T transportable, DataStoreContext context) throws Exception
ExceptionCopyright © 2014. All Rights Reserved.