Interface IdentityAttributeIndex<A,O>
-
- All Superinterfaces:
AttributeIndex<A,O>
,Index<O>
,ModificationListener<O>
- All Known Implementing Classes:
SQLiteDiskIdentityIndex
,SQLiteIdentityIndex
,SQLiteOffHeapIdentityIndex
public interface IdentityAttributeIndex<A,O> extends AttributeIndex<A,O>
Implemented by indexes which persist serialized objects directly in the index instead of persisting foreign keys.- Author:
- niall.gallagher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleAttribute<A,O>
getForeignKeyAttribute()
Returns an attribute which given a primary key of a stored object can read (deserialize) the corresponding object from the identity index.-
Methods inherited from interface com.googlecode.cqengine.index.AttributeIndex
getAttribute
-
Methods inherited from interface com.googlecode.cqengine.index.Index
getEffectiveIndex, isMutable, isQuantized, retrieve, supportsQuery
-
-
-
-
Method Detail
-
getForeignKeyAttribute
SimpleAttribute<A,O> getForeignKeyAttribute()
Returns an attribute which given a primary key of a stored object can read (deserialize) the corresponding object from the identity index. This is called a foreign key attribute, because typically those keys will be stored in other indexes, referring to the primary keys of this index.
-
-