public static interface IndexDictionary.Browser
IndexDictionary.Browser
to seek a term in this IndexDictionary
and get its corresponding block file pointer in the block file.Modifier and Type | Method and Description |
---|---|
long |
getBlockFilePointer()
Returns the block file pointer associated with the key returned.
|
int |
getBlockPrefixLen()
Returns the number of characters of this block's key that is in common with all terms in this block.
|
BytesRef |
nextKey()
Returns the next block key and positions the browser at this key.
|
BytesRef |
peekKey()
Returns the next key without advancing.
|
long |
seekBlock(BytesRef term)
Seeks the given term in the
IndexDictionary and returns its corresponding
block file pointer. |
long seekBlock(BytesRef term)
IndexDictionary
and returns its corresponding
block file pointer.-1
if there is no floor block key because the searched
term precedes alphabetically the first block key of the dictionary.BytesRef nextKey()
BytesRef peekKey()
nextKey()
returns a non-null result.int getBlockPrefixLen()
nextKey()
returns a non-null result.long getBlockFilePointer()
nextKey()
returns a non-null result.Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.