Returns metadata about all the known 'key' attributes for this table, such as primary and secondary index keys,
or any other attribute that forms part of the structure of the table.
Returns a custom metadata object. These objects are used by extensions to the library, therefore the type of
object stored is flexible and does not need to be known by the interface.
Type Parameters:
T - The flexible type for the object being returned. The compiler will typically infer this.
Parameters:
key - A unique key for the metadata object. This namespace is shared by all extensions, so it is
recommended best practice to qualify it with the name of your extension.
objectClass - The java class that the object will be cast to before returning. An exception will be
thrown if the stored object cannot be cast to this class.
Returns:
An optional containing custom metadata object or empty if the object was not found.
Returns all the names of attributes associated with any index (primary or secondary) known for this table.
Additionally any additional attributes that are deemed to be 'key-like' in how they should be treated will
also be returned. An example of a 'key-like' attribute that is not actually a key is one tagged as a 'version'
attribute when using the versioned record extension.
Returns:
A collection of all key attribute names for the table.
Returns all custom metadata for this table. These entries are used by extensions to the library, therefore the
value type of each metadata object stored in the map is not known and is provided as Object.
This method should not be used to inspect individual custom metadata objects, instead use
customMetadataObject(String, Class) ()} as that will perform a type-safety check on the
retrieved object.
Returns metadata about all the known 'key' attributes for this table, such as primary and secondary index keys,
or any other attribute that forms part of the structure of the table.
Returns an arbitrary constant that should be used as the primary index name. This pattern creates a
common abstraction and simplifies the implementation of operations that also work on secondary indices such as
scan() and query().
Returns:
An arbitrary constant that internally represents the primary index name.
keyAttributes()
instead.