Package org.teiid.internal.core.index
Class IndexBlock
- java.lang.Object
-
- org.teiid.internal.core.index.Block
-
- org.teiid.internal.core.index.IndexBlock
-
- Direct Known Subclasses:
GammaCompressedIndexBlock
public abstract class IndexBlock extends Block
An indexBlock stores wordEntries.
-
-
Constructor Summary
Constructors Constructor Description IndexBlock(int blockSize)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description WordEntryfindEntryPrefixedBy(char[] word, boolean isCaseSensitive)WordEntryfindExactEntry(char[] word)abstract booleanisEmpty()Returns whether the block is empty or not (if it doesn't contain any wordEntry).abstract booleannextEntry(WordEntry entry)Finds the next wordEntry and stores it in the given entry.voidreset()
-
-
-
Method Detail
-
findEntryPrefixedBy
public WordEntry findEntryPrefixedBy(char[] word, boolean isCaseSensitive)
-
findExactEntry
public WordEntry findExactEntry(char[] word)
-
isEmpty
public abstract boolean isEmpty()
Returns whether the block is empty or not (if it doesn't contain any wordEntry).
-
nextEntry
public abstract boolean nextEntry(WordEntry entry)
Finds the next wordEntry and stores it in the given entry.
-
reset
public void reset()
-
-