org.exist.storage
Class OccurrenceList
java.lang.Object
org.exist.storage.OccurrenceList
public class OccurrenceList
- extends Object
Simple list of node ids and their offsets within the text sequence. Mainly used by
NativeTextEngine
during indexing.
OccurrenceList
public OccurrenceList()
add
public void add(NodeId id,
int offset)
getNode
public NodeId getNode(int pos)
getOffset
public int getOffset(int pos)
getSize
public int getSize()
getTermCount
public int getTermCount()
getOccurrences
public int getOccurrences(int start)
contains
public boolean contains(NodeId id)
sort
public void sort()
Copyright (C) Wolfgang Meier. All rights reserved.