/** * Prepare a batch mutation object. It is possible to create multiple batch * mutations and later merge them into a single mutation by calling * mergeShallow on a batch mutation object. */ public MutationBatch prepareMutationBatch(ConsistencyLevel consistency) { return _astyanaxKeyspace.prepareMutationBatch().setConsistencyLevel(clamp(consistency)); }
/** * Starting point for constructing a query. From the column family the * client can perform all 4 types of queries: get column, get key slice, get * key range and and index query. */ public <K, C> ColumnFamilyQuery<K, C> prepareQuery(ColumnFamily<K, C> cf, ConsistencyLevel consistency) { return _astyanaxKeyspace.prepareQuery(cf).setConsistencyLevel(clamp(consistency)); }
/** * Mutation for a single column. */ public <K, C> ColumnMutation prepareColumnMutation(ColumnFamily<K, C> cf, K rowKey, C column, ConsistencyLevel consistency) { return _astyanaxKeyspace.prepareColumnMutation(cf, rowKey, column).setConsistencyLevel(clamp(consistency)); }
/** * Mutation for a single column. */ public <K, C> ColumnMutation prepareColumnMutation(ColumnFamily<K, C> cf, K rowKey, C column, ConsistencyLevel consistency) { return _astyanaxKeyspace.prepareColumnMutation(cf, rowKey, column).setConsistencyLevel(clamp(consistency)); }
/** * Prepare a batch mutation object. It is possible to create multiple batch * mutations and later merge them into a single mutation by calling * mergeShallow on a batch mutation object. */ public MutationBatch prepareMutationBatch(ConsistencyLevel consistency) { return _astyanaxKeyspace.prepareMutationBatch().setConsistencyLevel(clamp(consistency)); }
/** * Starting point for constructing a query. From the column family the * client can perform all 4 types of queries: get column, get key slice, get * key range and and index query. */ public <K, C> ColumnFamilyQuery<K, C> prepareQuery(ColumnFamily<K, C> cf, ConsistencyLevel consistency) { return _astyanaxKeyspace.prepareQuery(cf).setConsistencyLevel(clamp(consistency)); }