| Constructor and Description |
|---|
Java7DaoImpl(com.datastax.driver.core.Session session,
String tablename) |
| Modifier and Type | Method and Description |
|---|---|
Deletion |
deleteWhere(com.datastax.driver.core.querybuilder.Clause... whereConditions) |
<T> Deletion |
deleteWithKey(ColumnName<T> keyName,
T keyValue) |
<T,E> Deletion |
deleteWithKey(ColumnName<T> keyName1,
T keyValue1,
ColumnName<E> keyName2,
E keyValue2) |
<T,E,F> Deletion |
deleteWithKey(ColumnName<T> keyName1,
T keyValue1,
ColumnName<E> keyName2,
E keyValue2,
ColumnName<F> keyName3,
F keyValue3) |
net.oneandone.troilus.DeleteQuery |
deleteWithKey(com.google.common.collect.ImmutableMap<String,Object> keyNameValuePairs) |
Deletion |
deleteWithKey(String keyName,
Object keyValue) |
Deletion |
deleteWithKey(String keyName1,
Object keyValue1,
String keyName2,
Object keyValue2) |
Deletion |
deleteWithKey(String keyName1,
Object keyValue1,
String keyName2,
Object keyValue2,
String keyName3,
Object keyValue3) |
net.oneandone.troilus.ListReadQuery |
readAll() |
<T> ListReadWithUnit<RecordList> |
readListWithKey(ColumnName<T> name,
T value) |
<T,E> ListReadWithUnit<RecordList> |
readListWithKey(ColumnName<T> composedKeyNamePart1,
T composedKeyValuePart1,
ColumnName<E> composedKeyNamePart2,
E composedKeyValuePart2) |
ListReadWithUnit<RecordList> |
readListWithKey(String composedKeyNamePart1,
Object composedKeyValuePart1) |
ListReadWithUnit<RecordList> |
readListWithKey(String composedKeyNamePart1,
Object composedKeyValuePart1,
String composedKeyNamePart2,
Object composedKeyValuePart2) |
net.oneandone.troilus.ListReadQuery |
readWhere(com.datastax.driver.core.querybuilder.Clause... clauses) |
<T> SingleReadWithUnit<Record> |
readWithKey(ColumnName<T> keyName,
T keyValue) |
<T,E> SingleReadWithUnit<Record> |
readWithKey(ColumnName<T> keyName1,
T keyValue1,
ColumnName<E> keyName2,
E keyValue2) |
<T,E,F> SingleReadWithUnit<Record> |
readWithKey(ColumnName<T> keyName1,
T keyValue1,
ColumnName<E> keyName2,
E keyValue2,
ColumnName<F> keyName3,
F keyValue3) |
SingleReadWithUnit<Record> |
readWithKey(com.google.common.collect.ImmutableMap<String,Object> composedkey) |
SingleReadWithUnit<Record> |
readWithKey(String keyName,
Object keyValue) |
SingleReadWithUnit<Record> |
readWithKey(String keyName1,
Object keyValue1,
String keyName2,
Object keyValue2) |
SingleReadWithUnit<Record> |
readWithKey(String keyName1,
Object keyValue1,
String keyName2,
Object keyValue2,
String keyName3,
Object keyValue3) |
<T> ListReadWithUnit<RecordList> |
readWithKeys(ColumnName<T> name,
com.google.common.collect.ImmutableList<T> values) |
<T,E,F> ListReadWithUnit<RecordList> |
readWithKeys(ColumnName<T> composedKeyNamePart1,
T composedKeyValuePart1,
ColumnName<E> composedKeyNamePart2,
E composedKeyValuePart2,
ColumnName<F> composedKeyNamePart3,
com.google.common.collect.ImmutableList<F> composedKeyValuesPart3) |
<T,E> ListReadWithUnit<RecordList> |
readWithKeys(ColumnName<T> composedKeyNamePart1,
T composedKeyValuePart1,
ColumnName<E> composedKeyNamePart2,
com.google.common.collect.ImmutableList<E> composedKeyValuesPart2) |
ListReadWithUnit<RecordList> |
readWithKeys(String name,
com.google.common.collect.ImmutableList<Object> values) |
ListReadWithUnit<RecordList> |
readWithKeys(String composedKeyNamePart1,
Object composedKeyValuePart1,
String composedKeyNamePart2,
com.google.common.collect.ImmutableList<Object> composedKeyValuesPart2) |
ListReadWithUnit<RecordList> |
readWithKeys(String composedKeyNamePart1,
Object composedKeyValuePart1,
String composedKeyNamePart2,
Object composedKeyValuePart2,
String composedKeyNamePart3,
com.google.common.collect.ImmutableList<Object> composedKeyValuesPart3) |
Dao |
withConsistency(com.datastax.driver.core.ConsistencyLevel consistencyLevel) |
Dao |
withInterceptor(QueryInterceptor queryInterceptor) |
Dao |
withoutTracking() |
Dao |
withRetryPolicy(com.datastax.driver.core.policies.RetryPolicy policy) |
Dao |
withSerialConsistency(com.datastax.driver.core.ConsistencyLevel consistencyLevel) |
Dao |
withTracking() |
Insertion |
writeEntity(Object entity) |
UpdateWithUnitAndCounter |
writeWhere(com.datastax.driver.core.querybuilder.Clause... clauses) |
<T> WriteWithCounter |
writeWithKey(ColumnName<T> keyName,
T keyValue) |
<T,E> WriteWithCounter |
writeWithKey(ColumnName<T> keyName1,
T keyValue1,
ColumnName<E> keyName2,
E keyValue2) |
<T,E,F> WriteWithCounter |
writeWithKey(ColumnName<T> keyName1,
T keyValue1,
ColumnName<E> keyName2,
E keyValue2,
ColumnName<F> keyName3,
F keyValue3) |
WriteWithCounter |
writeWithKey(com.google.common.collect.ImmutableMap<String,Object> composedKeyParts) |
WriteWithCounter |
writeWithKey(String keyName,
Object keyValue) |
WriteWithCounter |
writeWithKey(String keyName1,
Object keyValue1,
String keyName2,
Object keyValue2) |
WriteWithCounter |
writeWithKey(String keyName1,
Object keyValue1,
String keyName2,
Object keyValue2,
String keyName3,
Object keyValue3) |
public Java7DaoImpl(com.datastax.driver.core.Session session,
String tablename)
public Dao withConsistency(com.datastax.driver.core.ConsistencyLevel consistencyLevel)
withConsistency in interface DaoconsistencyLevel - the consistency level to usepublic Dao withSerialConsistency(com.datastax.driver.core.ConsistencyLevel consistencyLevel)
withSerialConsistency in interface DaoconsistencyLevel - the serial consistency level to usepublic Dao withTracking()
withTracking in interface Daopublic Dao withoutTracking()
withoutTracking in interface Daopublic Dao withRetryPolicy(com.datastax.driver.core.policies.RetryPolicy policy)
withRetryPolicy in interface Daopolicy - the retry policypublic Dao withInterceptor(QueryInterceptor queryInterceptor)
withInterceptor in interface DaoqueryInterceptor - the interceptorpublic Insertion writeEntity(Object entity)
writeEntity in interface Daoentity - the entity to writepublic UpdateWithUnitAndCounter writeWhere(com.datastax.driver.core.querybuilder.Clause... clauses)
writeWhere in interface Daoclauses - the clausespublic WriteWithCounter writeWithKey(com.google.common.collect.ImmutableMap<String,Object> composedKeyParts)
writeWithKey in interface DaocomposedKeyParts - the composed keypublic WriteWithCounter writeWithKey(String keyName, Object keyValue)
writeWithKey in interface DaokeyName - the key namekeyValue - the key valuepublic WriteWithCounter writeWithKey(String keyName1, Object keyValue1, String keyName2, Object keyValue2)
writeWithKey in interface DaokeyName1 - the composed key name 1keyValue1 - the composed key value 1keyName2 - the composed key name 2keyValue2 - the composed key value 2public WriteWithCounter writeWithKey(String keyName1, Object keyValue1, String keyName2, Object keyValue2, String keyName3, Object keyValue3)
writeWithKey in interface DaokeyName1 - the composed key name 1keyValue1 - the composed key value 1keyName2 - the composed key name 2keyValue2 - the composed key value 2keyName3 - the composed key name 3keyValue3 - the composed key value 3public <T> WriteWithCounter writeWithKey(ColumnName<T> keyName, T keyValue)
writeWithKey in interface DaoT - the name typekeyName - the key namekeyValue - the key valuepublic <T,E> WriteWithCounter writeWithKey(ColumnName<T> keyName1, T keyValue1, ColumnName<E> keyName2, E keyValue2)
writeWithKey in interface DaoT - the name 1 typeE - the name 2 typekeyName1 - the composed key name 1keyValue1 - the composed key value 1keyName2 - the composed key name 2keyValue2 - the composed key value 2public <T,E,F> WriteWithCounter writeWithKey(ColumnName<T> keyName1, T keyValue1, ColumnName<E> keyName2, E keyValue2, ColumnName<F> keyName3, F keyValue3)
writeWithKey in interface DaoT - the name 1 typeE - the name 2 typeF - the name 3 typekeyName1 - the composed key name 1keyValue1 - the composed key value 1keyName2 - the composed key name 2keyValue2 - the composed key value 2keyName3 - the composed key name 3keyValue3 - the composed key value 3public Deletion deleteWhere(com.datastax.driver.core.querybuilder.Clause... whereConditions)
deleteWhere in interface DaowhereConditions - the where conditionspublic Deletion deleteWithKey(String keyName, Object keyValue)
deleteWithKey in interface DaokeyName - the key namekeyValue - the key valuepublic Deletion deleteWithKey(String keyName1, Object keyValue1, String keyName2, Object keyValue2)
deleteWithKey in interface DaokeyName1 - the key name 1keyValue1 - the key value 1keyName2 - the key name 2keyValue2 - the key value 2public Deletion deleteWithKey(String keyName1, Object keyValue1, String keyName2, Object keyValue2, String keyName3, Object keyValue3)
deleteWithKey in interface DaokeyName1 - the key name 1keyValue1 - the key value 1keyName2 - the key name 2keyValue2 - the key value 2keyName3 - the key name 3keyValue3 - the key value 3public <T> Deletion deleteWithKey(ColumnName<T> keyName, T keyValue)
deleteWithKey in interface DaoT - the name typekeyName - the key namekeyValue - the key valuepublic <T,E> Deletion deleteWithKey(ColumnName<T> keyName1, T keyValue1, ColumnName<E> keyName2, E keyValue2)
deleteWithKey in interface DaoT - the name 1 typeE - the name 2 typekeyName1 - the key name 1keyValue1 - the key value 1keyName2 - the key name 2keyValue2 - the key value 2public <T,E,F> Deletion deleteWithKey(ColumnName<T> keyName1, T keyValue1, ColumnName<E> keyName2, E keyValue2, ColumnName<F> keyName3, F keyValue3)
deleteWithKey in interface DaoT - the name 1 typeE - the name 2 typeF - the name 3 typekeyName1 - the key name 1keyValue1 - the key value 1keyName2 - the key name 2keyValue2 - the key value 2keyName3 - the key name 3keyValue3 - the key value 3public net.oneandone.troilus.DeleteQuery deleteWithKey(com.google.common.collect.ImmutableMap<String,Object> keyNameValuePairs)
deleteWithKey in interface DaokeyNameValuePairs - the composed keypublic SingleReadWithUnit<Record> readWithKey(com.google.common.collect.ImmutableMap<String,Object> composedkey)
readWithKey in interface Daopublic SingleReadWithUnit<Record> readWithKey(String keyName, Object keyValue)
readWithKey in interface Daopublic SingleReadWithUnit<Record> readWithKey(String keyName1, Object keyValue1, String keyName2, Object keyValue2)
readWithKey in interface Daopublic SingleReadWithUnit<Record> readWithKey(String keyName1, Object keyValue1, String keyName2, Object keyValue2, String keyName3, Object keyValue3)
readWithKey in interface Daopublic <T> SingleReadWithUnit<Record> readWithKey(ColumnName<T> keyName, T keyValue)
readWithKey in interface Daopublic <T,E> SingleReadWithUnit<Record> readWithKey(ColumnName<T> keyName1, T keyValue1, ColumnName<E> keyName2, E keyValue2)
readWithKey in interface Daopublic <T,E,F> SingleReadWithUnit<Record> readWithKey(ColumnName<T> keyName1, T keyValue1, ColumnName<E> keyName2, E keyValue2, ColumnName<F> keyName3, F keyValue3)
readWithKey in interface Daopublic ListReadWithUnit<RecordList> readWithKeys(String name, com.google.common.collect.ImmutableList<Object> values)
readWithKeys in interface Daopublic ListReadWithUnit<RecordList> readWithKeys(String composedKeyNamePart1, Object composedKeyValuePart1, String composedKeyNamePart2, com.google.common.collect.ImmutableList<Object> composedKeyValuesPart2)
readWithKeys in interface Daopublic ListReadWithUnit<RecordList> readWithKeys(String composedKeyNamePart1, Object composedKeyValuePart1, String composedKeyNamePart2, Object composedKeyValuePart2, String composedKeyNamePart3, com.google.common.collect.ImmutableList<Object> composedKeyValuesPart3)
readWithKeys in interface Daopublic ListReadWithUnit<RecordList> readListWithKey(String composedKeyNamePart1, Object composedKeyValuePart1)
readListWithKey in interface Daopublic ListReadWithUnit<RecordList> readListWithKey(String composedKeyNamePart1, Object composedKeyValuePart1, String composedKeyNamePart2, Object composedKeyValuePart2)
readListWithKey in interface Daopublic <T> ListReadWithUnit<RecordList> readWithKeys(ColumnName<T> name, com.google.common.collect.ImmutableList<T> values)
readWithKeys in interface Daopublic <T,E> ListReadWithUnit<RecordList> readWithKeys(ColumnName<T> composedKeyNamePart1, T composedKeyValuePart1, ColumnName<E> composedKeyNamePart2, com.google.common.collect.ImmutableList<E> composedKeyValuesPart2)
readWithKeys in interface Daopublic <T,E,F> ListReadWithUnit<RecordList> readWithKeys(ColumnName<T> composedKeyNamePart1, T composedKeyValuePart1, ColumnName<E> composedKeyNamePart2, E composedKeyValuePart2, ColumnName<F> composedKeyNamePart3, com.google.common.collect.ImmutableList<F> composedKeyValuesPart3)
readWithKeys in interface Daopublic <T> ListReadWithUnit<RecordList> readListWithKey(ColumnName<T> name, T value)
readListWithKey in interface Daopublic <T,E> ListReadWithUnit<RecordList> readListWithKey(ColumnName<T> composedKeyNamePart1, T composedKeyValuePart1, ColumnName<E> composedKeyNamePart2, E composedKeyValuePart2)
readListWithKey in interface Daopublic net.oneandone.troilus.ListReadQuery readWhere(com.datastax.driver.core.querybuilder.Clause... clauses)
Copyright © 2012–2015 1&1. All rights reserved.