|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PrimaryKey(value="indexName") @Independent @Alias(value="CARBONADO_INDEX_INFO") public interface StoredIndexInfo
Stores basic information about the indexes managed by IndexedRepository.
Note: This storable cannot have indexes defined, since it is used to discover information about indexes. It would create a cyclic dependency.
| Method Summary | |
|---|---|
long |
getCreationTimestamp()
Returns the milliseconds from 1970-01-01T00:00:00Z when this record was created. |
byte[] |
getExtraData()
Since this record cannot evolve, this property allows it to be extended without conflicting with existing records. |
String |
getIndexName()
Returns the index name, which is also a valid index name descriptor. |
String |
getIndexTypeDescriptor()
Returns the types of the index properties. |
int |
getVersionNumber()
Record version number for this StoredIndexInfo instance. |
void |
setCreationTimestamp(long timestamp)
|
void |
setExtraData(byte[] data)
|
void |
setIndexName(String name)
|
void |
setIndexTypeDescriptor(String descriptor)
|
void |
setVersionNumber(int version)
|
| Methods inherited from interface com.amazon.carbonado.Storable |
|---|
copy, 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, writeTo |
| Method Detail |
|---|
String getIndexName()
StorableIndex. The name descriptor does not
contain type information.
void setIndexName(String name)
@Nullable String getIndexTypeDescriptor()
StorableIndex.
void setIndexTypeDescriptor(String descriptor)
long getCreationTimestamp()
void setCreationTimestamp(long timestamp)
@Version int getVersionNumber()
void setVersionNumber(int version)
@Nullable byte[] getExtraData()
void setExtraData(byte[] data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||