Lines Matching refs:SK
38 * secondary key type (SK) to the entity type (E). In other words, entities
84 * <SK,PK,E>} or in the example {@code <String,Long,Employee>} while a {@link
104 * map from secondary key (SK) to entity (E), or in the example, from the
106 * itself, by implementing {@code EntityIndex<SK,E>}, provides this
110 * key (SK) to primary key (PK), or in the example, from the String department
119 * (SK). This mapping is provided by the {@link #subIndex} method. A
767 public class SecondaryIndex<SK,PK,E> extends BasicIndex<SK,E> {
773 private EntityIndex<SK,PK> keysIndex;
774 private SortedMap<SK,E> map;
807 Class<SK> secondaryKeyClass,
854 public Class<SK> getKeyClass() {
886 public synchronized EntityIndex<SK,PK> keysIndex()
905 keysIndex = new KeysIndex<SK,PK>
927 public EntityIndex<PK,E> subIndex(SK key)
938 public E get(SK key)
944 public E get(Transaction txn, SK key, LockMode lockMode)
962 public Map<SK,E> map() {
966 public synchronized SortedMap<SK,E> sortedMap() {