public abstract class AbstractDistributedStorage extends java.lang.Object implements DistributedStorage
| Constructor and Description |
|---|
AbstractDistributedStorage(DatabaseConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected Get |
copyAndPrepareForDynamicFiltering(Get get) |
protected Scan |
copyAndPrepareForDynamicFiltering(Scan scan) |
protected Delete |
copyAndSetTargetToIfNot(Delete delete) |
protected Get |
copyAndSetTargetToIfNot(Get get) |
protected <T extends Mutation> |
copyAndSetTargetToIfNot(java.util.List<T> mutations) |
protected Put |
copyAndSetTargetToIfNot(Put put) |
protected Scan |
copyAndSetTargetToIfNot(Scan scan) |
java.util.Optional<java.lang.String> |
getNamespace()
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
java.util.Optional<java.lang.String> |
getTable()
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
void |
with(java.lang.String namespace,
java.lang.String tableName)
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
void |
withNamespace(java.lang.String namespace)
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
void |
withTable(java.lang.String tableName)
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
public AbstractDistributedStorage(DatabaseConfig config)
@Deprecated
public void with(java.lang.String namespace,
java.lang.String tableName)
DistributedStoragewith in interface DistributedStoragenamespace - default namespace to operate fortableName - default table name to operate for@Deprecated public void withNamespace(java.lang.String namespace)
DistributedStoragewithNamespace in interface DistributedStoragenamespace - default namespace to operate for@Deprecated public java.util.Optional<java.lang.String> getNamespace()
DistributedStoragegetNamespace in interface DistributedStorageOptional with the namespace@Deprecated public void withTable(java.lang.String tableName)
DistributedStoragewithTable in interface DistributedStoragetableName - default table name to operate for@Deprecated public java.util.Optional<java.lang.String> getTable()
DistributedStoragegetTable in interface DistributedStorageOptional with the table nameprotected <T extends Mutation> java.util.List<T> copyAndSetTargetToIfNot(java.util.List<T> mutations)