Package org.basex.index.value
Class ValueIndex
- java.lang.Object
-
- org.basex.index.value.ValueIndex
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ValueIndex(Data data, IndexType type)
Constructor, initializing the index structure.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
add(ValueCache values)
Add entries to the index.abstract void
delete(ValueCache values)
Deletes entries from the index.abstract void
flush()
Flushes the buffered data.abstract int
size()
Returns the number of index entries.
-
-
-
Method Detail
-
size
public abstract int size()
Returns the number of index entries.- Returns:
- number of index entries
-
delete
public abstract void delete(ValueCache values)
Deletes entries from the index.- Parameters:
values
- value cache with [key, id-list] pairs
-
add
public abstract void add(ValueCache values)
Add entries to the index.- Parameters:
values
- value cache with [key, id-list] pairs
-
flush
public abstract void flush()
Flushes the buffered data.
-
-