@PrimaryKey(value="databaseName") @Independent @Alias(value="CARBONADO_DATABASE_INFO") public abstract class StoredDatabaseInfo extends java.lang.Object implements Storable, Unevolvable, Unindexed
Note: This storable cannot have indexes defined, since it is used to discover information about indexes. It would create a cyclic dependency.
| Modifier and Type | Field and Description |
|---|---|
static int |
EVOLUTION_NONE
Evolution strategy code
|
static int |
EVOLUTION_STANDARD
Evolution strategy code
|
| Constructor and Description |
|---|
StoredDatabaseInfo() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
getCreationTimestamp()
Returns the milliseconds from 1970-01-01T00:00:00Z when this record was
created.
|
abstract java.lang.String |
getDatabaseName() |
abstract int |
getEvolutionStrategy()
Returns EVOLUTION_NONE if evolution of records is not supported.
|
abstract byte[] |
getExtraData()
Since this record cannot evolve, this property allows it to be extended
without conflicting with existing records.
|
abstract java.lang.String |
getIndexNameDescriptor()
Returns the index name descriptor for the keys of this database.
|
abstract java.lang.String |
getIndexTypeDescriptor()
Returns the types of the index properties.
|
abstract int |
getVersionNumber()
Record version number for this StoredDatabaseInfo instance.
|
abstract void |
setCreationTimestamp(long timestamp) |
abstract void |
setDatabaseName(java.lang.String name) |
abstract void |
setEvolutionStrategy(int strategy) |
abstract void |
setExtraData(byte[] data) |
abstract void |
setIndexNameDescriptor(java.lang.String descriptor) |
abstract void |
setIndexTypeDescriptor(java.lang.String descriptor) |
abstract void |
setVersionNumber(int version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopy, copyAllProperties, copyDirtyProperties, copyPrimaryKeyProperties, copyUnequalProperties, copyVersionProperty, delete, equalPrimaryKeys, equalProperties, equals, getPropertyValue, hasDirtyProperties, hashCode, insert, isPropertyClean, isPropertyDirty, isPropertySupported, isPropertyUninitialized, load, markAllPropertiesClean, markAllPropertiesDirty, markPropertiesClean, markPropertiesDirty, prepare, propertyMap, readFrom, setPropertyValue, storableType, toString, toStringKeyOnly, tryDelete, tryInsert, tryLoad, tryUpdate, update, writeTopublic static final int EVOLUTION_NONE
public static final int EVOLUTION_STANDARD
public abstract java.lang.String getDatabaseName()
public abstract void setDatabaseName(java.lang.String name)
@Nullable public abstract java.lang.String getIndexNameDescriptor()
StorableIndex, and
it does not contain type information.public abstract void setIndexNameDescriptor(java.lang.String descriptor)
@Nullable public abstract java.lang.String getIndexTypeDescriptor()
StorableIndex.public abstract void setIndexTypeDescriptor(java.lang.String descriptor)
public abstract int getEvolutionStrategy()
public abstract void setEvolutionStrategy(int strategy)
public abstract long getCreationTimestamp()
public abstract void setCreationTimestamp(long timestamp)
@Version public abstract int getVersionNumber()
public abstract void setVersionNumber(int version)
@Nullable public abstract byte[] getExtraData()
public abstract void setExtraData(byte[] data)
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.