com.neeve.query.index
Interface IdxUniqueIndex<T,ID>

Type Parameters:
T - The index key.
ID - The corresponding id for the given key.
All Superinterfaces:
IdxIndex<T,ID>

public interface IdxUniqueIndex<T,ID>
extends IdxIndex<T,ID>

Defines a unique index. A unique index is one such that there can only be a single key K for any ID being indexed.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.neeve.query.index.IdxIndex
IdxIndex.Stats<K>
 
Method Summary
 ID getId(T value)
          Returns the record ID associated with the indexed value.
 
Methods inherited from interface com.neeve.query.index.IdxIndex
allEntries, allIds, containsKey, getEntries, getField, getIds, getIds, getName, getStats, isUnique, put, remove, valueCount
 

Method Detail

getId

ID getId(T value)
Returns the record ID associated with the indexed value.

Parameters:
value - The index key.
Returns:
The id corresponding to the index key or if there is no corresponding ID.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.