|
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 Projector
The Projector is used to convert entities to Tuple objects.
Method Summary | |
---|---|
Tuple |
getTupleFromEntity(Object entity,
EntityMetadata emd,
boolean key)
Convert the specified entity object to a key or value Tuple using the specified EntityMetadata. |
Method Detail |
---|
Tuple getTupleFromEntity(Object entity, EntityMetadata emd, boolean key)
Key tuples should not be changed once retrieved. Multiple requests for a key tuple from the same entity instance may result in the same tuple instance.
Value tuples are always copies and the values within the tuples are also copies of the objects stored in the entities.
entity
- The entity to be convertedemd
- The EntityMetadata
for the entity.key
- if true, return a tuple that represents the key portion of the entity. If false, return the value portion of the entity.
Tuple
|
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 |