Package aQute.lib.index
Class Index
java.lang.Object
aQute.lib.index.Index
- All Implemented Interfaces:
Iterable<byte[]>
0 -> 0, 122 -> 1 123 -> 123, 244 -> 2 245 -> 245, ...
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final LinkedHashMap<Integer,
Index.Page> (package private) final int
(package private) FileChannel
(package private) static final int
(package private) final int
(package private) static final int
(package private) static final int
(package private) static final int
private int
(package private) final int
(package private) final MappedByteBuffer
(package private) static final int
(package private) final int
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
LEAF
static final int LEAF- See Also:
-
INDEX
static final int INDEX- See Also:
-
SIGNATURE
static final int SIGNATURE- See Also:
-
MAGIC
static final int MAGIC- See Also:
-
KEYSIZE
static final int KEYSIZE- See Also:
-
file
FileChannel file -
pageSize
final int pageSize- See Also:
-
keySize
final int keySize -
valueSize
final int valueSize- See Also:
-
capacity
final int capacity -
root
-
cache
-
settings
-
nextPage
private int nextPage
-
-
Constructor Details
-
Index
- Throws:
IOException
-
-
Method Details
-
insert
- Throws:
Exception
-
search
- Throws:
Exception
-
allocate
- Throws:
IOException
-
getPage
- Throws:
IOException
-
toString
-
close
- Throws:
IOException
-
iterator
-