public interface Index
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the index.
|
int |
costs(IndexToken token)
Returns a cost estimation for searching the specified token.
|
boolean |
drop()
Drops the index.
|
EntryIterator |
entries(IndexEntries entries)
Returns all entries that match the specified token.
|
byte[] |
info(MainOptions options)
Returns information on the index structure.
|
void |
init()
Initializes the index.
|
IndexIterator |
iter(IndexToken token)
Returns an iterator for the index results.
|
void init()
byte[] info(MainOptions options)
options
- main optionsEntryIterator entries(IndexEntries entries)
entries
- index entriesIndexIterator iter(IndexToken token)
token
- token to be foundint costs(IndexToken token)
token
- token to be foundvoid close()
boolean drop()
Copyright © 2005–2015 BaseX Team. All rights reserved.