public interface StorableInfo<S extends Storable>
Storable
type.StorableIntrospector
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias(int index)
Returns a specific alias for the Storable.
|
int |
getAliasCount()
Returns the count of aliases for the Storable.
|
java.lang.String[] |
getAliases()
Returns a new array with all the alias names in it.
|
java.util.Map<java.lang.String,? extends StorableProperty<S>> |
getAllProperties()
Returns all the storable properties in an unmodifiable map.
|
StorableKey<S> |
getAlternateKey(int index)
Returns a specific alternate key for the Storable.
|
int |
getAlternateKeyCount()
Returns the count of alternate keys for the Storable.
|
StorableKey<S>[] |
getAlternateKeys()
Returns a new array with all the alternate keys in it.
|
java.util.Map<java.lang.String,? extends StorableProperty<S>> |
getDataProperties()
Returns a subset of the storable properties in an unmodifiable map
that define the basic data properties.
|
StorableIndex<S> |
getIndex(int index)
Returns a specific index for the Storable.
|
int |
getIndexCount()
Returns the count of indexes defined for the Storable.
|
StorableIndex<S>[] |
getIndexes()
Returns a new array with all the indexes in it.
|
java.lang.String |
getName()
Returns the name of the Storable described by this StorableInfo,
which is an abbreviated form of the type's class name.
|
StorableKey<S> |
getPartitionKey()
Returns the partition key for the Storable, or null if none exists.
|
StorableKey<S> |
getPrimaryKey()
Returns the primary key for the Storable, never null.
|
java.util.Map<java.lang.String,? extends StorableProperty<S>> |
getPrimaryKeyProperties()
Returns a subset of the storable properties in an unmodifiable map
that define the primary key.
|
java.lang.Class<S> |
getStorableType()
Returns the type of Storable described by this StorableInfo.
|
StorableProperty<S> |
getVersionProperty()
Returns the designated version property, or null if none.
|
boolean |
isAuthoritative() |
boolean |
isIndependent() |
java.lang.String getName()
java.lang.Class<S> getStorableType()
java.util.Map<java.lang.String,? extends StorableProperty<S>> getAllProperties()
java.util.Map<java.lang.String,? extends StorableProperty<S>> getPrimaryKeyProperties()
java.util.Map<java.lang.String,? extends StorableProperty<S>> getDataProperties()
StorableProperty<S> getVersionProperty()
StorableKey<S> getPrimaryKey()
int getAlternateKeyCount()
StorableKey<S> getAlternateKey(int index)
StorableKey<S>[] getAlternateKeys()
StorableKey<S> getPartitionKey()
int getAliasCount()
java.lang.String getAlias(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
java.lang.String[] getAliases()
int getIndexCount()
StorableIndex<S> getIndex(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
StorableIndex<S>[] getIndexes()
boolean isIndependent()
Independent
boolean isAuthoritative()
Authoritative
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.