@Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface NosqlTable
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
autoCreateTable
Flag that indicates if automatic creation of table is enabled.
|
String |
consistency
Sets the default consistency for all read operations applied to this
table.
|
int |
readUnits
Sets the read units when table is created.
|
int |
storageGB
Sets the storage units when table is created.
|
String |
tableName
Sets the name of the table to be used for this entity.
|
int |
timeout
Sets the default timeout in milliseconds for all operations applied on
this table.
|
int |
writeUnits
Sets the write units when table is created.
|
public abstract String tableName
Class.getSimpleName() is used.public abstract boolean autoCreateTable
Constants.DEFAULT_AUTO_CREATE_TABLE.public abstract int readUnits
TableLimits.public abstract int writeUnits
TableLimits.public abstract int storageGB
TableLimits.public abstract String consistency
Consistency.
If not set the default value for this is EVENTUAL.public abstract int timeout
NosqlRepository.setTimeout(int) take precedence over
the set here.Copyright © 2021 Oracle Corporation. All rights reserved.