@Deprecated
public class UniquenessConstraintWithPrefix<K>
extends java.lang.Object
| Constructor and Description |
|---|
UniquenessConstraintWithPrefix(com.netflix.astyanax.Keyspace keyspace,
com.netflix.astyanax.model.ColumnFamily<K,java.lang.String> columnFamily)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
isUnique(K key)
Deprecated.
|
UniquenessConstraintWithPrefix<K> |
setColumnNameSupplier(com.google.common.base.Supplier<java.lang.String> uniqueColumnSupplier)
Deprecated.
|
UniquenessConstraintWithPrefix<K> |
setConsistencyLevel(com.netflix.astyanax.model.ConsistencyLevel consistencyLevel)
Deprecated.
|
UniquenessConstraintWithPrefix<K> |
setMonitor(UniquenessConstraintViolationMonitor<K,java.lang.String> monitor)
Deprecated.
|
UniquenessConstraintWithPrefix<K> |
setPrefix(java.lang.String prefix)
Deprecated.
|
UniquenessConstraintWithPrefix<K> |
setTtl(java.lang.Integer ttl)
Deprecated.
|
public UniquenessConstraintWithPrefix(com.netflix.astyanax.Keyspace keyspace,
com.netflix.astyanax.model.ColumnFamily<K,java.lang.String> columnFamily)
public UniquenessConstraintWithPrefix<K> setColumnNameSupplier(com.google.common.base.Supplier<java.lang.String> uniqueColumnSupplier)
public UniquenessConstraintWithPrefix<K> setPrefix(java.lang.String prefix)
public UniquenessConstraintWithPrefix<K> setTtl(java.lang.Integer ttl)
public UniquenessConstraintWithPrefix<K> setMonitor(UniquenessConstraintViolationMonitor<K,java.lang.String> monitor)
public UniquenessConstraintWithPrefix<K> setConsistencyLevel(com.netflix.astyanax.model.ConsistencyLevel consistencyLevel)
public java.lang.String isUnique(K key) throws com.netflix.astyanax.connectionpool.exceptions.ConnectionException
com.netflix.astyanax.connectionpool.exceptions.ConnectionException