|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AssociationIndexer<K,T>
Responsible for creating indices for associations used in queries
| Method Summary | |
|---|---|
PersistentEntity |
getIndexedEntity()
|
void |
index(K primaryKey,
List<T> foreignKeys)
Creates an index queryable via the primary key |
void |
index(T primaryKey,
K foreignKey)
Index a single foreign key |
List<T> |
query(K primaryKey)
Queries the given primary key and returns the foreign keys |
| Method Detail |
|---|
void index(K primaryKey,
List<T> foreignKeys)
primaryKey - The primary keyforeignKeys - The foreign keysList<T> query(K primaryKey)
primaryKey - The primary key
PersistentEntity getIndexedEntity()
void index(T primaryKey,
K foreignKey)
primaryKey - The primaryKeyforeignKey - The foreignKey
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||