public class BSTIndex extends Object implements IndexMethod
Modifier and Type | Class and Description |
---|---|
class |
BSTIndex.BSTIndexReader
BSTIndexReader is thread-safe.
|
class |
BSTIndex.BSTIndexWriter |
Modifier and Type | Field and Description |
---|---|
static int |
ONE_LEVEL_INDEX |
static int |
TWO_LEVEL_INDEX |
Constructor and Description |
---|
BSTIndex(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
BSTIndex.BSTIndexReader |
getIndexReader(org.apache.hadoop.fs.Path fileName) |
BSTIndex.BSTIndexReader |
getIndexReader(org.apache.hadoop.fs.Path fileName,
Schema keySchema,
TupleComparator comparator) |
BSTIndex.BSTIndexWriter |
getIndexWriter(org.apache.hadoop.fs.Path fileName,
int level,
Schema keySchema,
TupleComparator comparator) |
public static final int ONE_LEVEL_INDEX
public static final int TWO_LEVEL_INDEX
public BSTIndex.BSTIndexWriter getIndexWriter(org.apache.hadoop.fs.Path fileName, int level, Schema keySchema, TupleComparator comparator) throws IOException
getIndexWriter
in interface IndexMethod
IOException
public BSTIndex.BSTIndexReader getIndexReader(org.apache.hadoop.fs.Path fileName, Schema keySchema, TupleComparator comparator) throws IOException
getIndexReader
in interface IndexMethod
IOException
public BSTIndex.BSTIndexReader getIndexReader(org.apache.hadoop.fs.Path fileName) throws IOException
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.