|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapDataDescriptor
MapSerializerPlugin
plug-ins create a MapDataDescriptor using the DataDescriptorFactory
to expose any relationships that it wants to expose to the eXtreme Scale runtime.
Field Summary | |
---|---|
static String |
DEFAULT_ADDRESSABLEKEYNAME
The default name used to identify the key for APIs that refer to maps. |
Method Summary | |
---|---|
String |
getAddressableKeyName()
Retrieves the addressable attribute name to use for accessing KeyDataSerializer data when using partial key lookups such as a query. |
Map<String,Association> |
getAssociations()
Returns the associations between this map and another map. |
void |
setAddressableKeyName(String addressableKeyName)
Identify the addressable attribute name to use for accessing KeyDataSerialier data when using partial key lookups such as a query. |
void |
setAssociations(Map<String,Association> associations)
Identifies any associations between this map and another map. |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.Initializable |
---|
initialize, isInitialized |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.Destroyable |
---|
destroy, isDestroyed |
Field Detail |
---|
static final String DEFAULT_ADDRESSABLEKEYNAME
Method Detail |
---|
String getAddressableKeyName()
void setAddressableKeyName(String addressableKeyName)
ValueDataDescriptor
, the key will have priority.
addressableKeyName
- the attribute name to use to identify the key, this value is required and must not be null.
IllegalStateException
- if the descriptor has been initialized.Map<String,Association> getAssociations()
If associations are part of an embedded attribute, then the association is represented as a series of Associated types with embedded Associated types.
Example: A one-to-one association to the grandchildkey:
parent/child/grandchildkeyBecomes:
OneToOne(name=parent, type=Embedded, tgtMap=GrandChildMap, EmbeddedType= <--- Path Association OneToOne(name=child, type=Embedded, tgtMap=GrandChildMap, EmbeddedType= <--- Path Association OneToOne(name=grandchildkey, tgtMap=GrandChildMap, type=EmbeddedType= <--- The Actual Association Key OneToOne(name=id, type=INT32))))If the MapDataDescriptor has been initialized, the Map will be read-only.
void setAssociations(Map<String,Association> associations)
associations
- a Map of association names to the Association definition, or null if no associations are defined.
IllegalStateException
- if the descriptor has been initialized.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |