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 |
protected static BitmapSerdeFactory |
CONFIGURED_BITMAP_SERDE_FACTORY
Deprecated.
|
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,
IndexSpec indexSpec) |
static boolean |
convertSegment(File toConvert,
File converted,
IndexSpec indexSpec,
boolean forceIfCurrent,
boolean validate) |
static int |
getVersionFromDir(File inDir) |
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 void |
validateRowValues(Rowboat rb1,
IndexableAdapter adapter1,
Rowboat rb2,
IndexableAdapter adapter2) |
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 protected static final BitmapSerdeFactory CONFIGURED_BITMAP_SERDE_FACTORY
public static QueryableIndex loadIndex(File inDir) throws IOException
IOException
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, IndexSpec indexSpec) throws IOException
IOException
public static boolean convertSegment(File toConvert, File converted, IndexSpec indexSpec, boolean forceIfCurrent, boolean validate) throws IOException
IOException
public static void validateRowValues(Rowboat rb1, IndexableAdapter adapter1, Rowboat rb2, IndexableAdapter adapter2)
Copyright © 2011–2015. All rights reserved.