public class IndexIO extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexIO.DefaultIndexIOHandler |
static interface |
IndexIO.IndexIOHandler |
Modifier and Type | Field and Description |
---|---|
static ByteOrder |
BYTE_ORDER |
protected static ColumnConfig |
columnConfig |
static int |
CURRENT_VERSION_ID |
static byte |
V8_VERSION |
static byte |
V9_VERSION |
Constructor and Description |
---|
IndexIO() |
Modifier and Type | Method and Description |
---|---|
static void |
checkFileSize(File indexFile) |
static boolean |
convertSegment(File toConvert,
File converted) |
static int |
getVersionFromDir(File inDir) |
static boolean |
hasHandler() |
static QueryableIndex |
loadIndex(File inDir) |
static File |
makeDimFile(File dir,
String dimension) |
static File |
makeMetricFile(File dir,
String metricName,
ByteOrder order) |
static File |
makeTimeFile(File dir,
ByteOrder order) |
static MMappedIndex |
mapDir(File inDir)
Deprecated.
|
static void |
registerHandler(IndexIO.IndexIOHandler handler) |
public static final byte V8_VERSION
public static final byte V9_VERSION
public static final int CURRENT_VERSION_ID
public static final ByteOrder BYTE_ORDER
protected static final ColumnConfig columnConfig
@Deprecated public static MMappedIndex mapDir(File inDir) throws IOException
IOException
public static QueryableIndex loadIndex(File inDir) throws IOException
IOException
public static boolean hasHandler()
public static void registerHandler(IndexIO.IndexIOHandler handler)
public static int getVersionFromDir(File inDir) throws IOException
IOException
public static void checkFileSize(File indexFile) throws IOException
IOException
public static boolean convertSegment(File toConvert, File converted) throws IOException
IOException
Copyright © 2015. All rights reserved.