public class IndexHelper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexHelper.IndexInfo |
| Constructor and Description |
|---|
IndexHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
indexFor(ClusteringPrefix name,
java.util.List<IndexHelper.IndexInfo> indexList,
ClusteringComparator comparator,
boolean reversed,
int lastIndex)
The index of the IndexInfo in which a scan starting with @name should begin.
|
static void |
skipBloomFilter(java.io.DataInput in) |
static void |
skipIndex(java.io.DataInput in)
Skip the index
|
public static void skipBloomFilter(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic static void skipIndex(java.io.DataInput in)
throws java.io.IOException
in - the data input from which the index should be skippedjava.io.IOException - if an I/O error occurs.public static int indexFor(ClusteringPrefix name, java.util.List<IndexHelper.IndexInfo> indexList, ClusteringComparator comparator, boolean reversed, int lastIndex)
name - name to search forindexList - list of the indexInfo objectscomparator - the comparator to usereversed - whether or not the search is reversed, i.e. we scan forward or backward from namelastIndex - where to start the search from in indexListCopyright © 2015 The Apache Software Foundation