public class IndexIO extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexIO.DefaultIndexIOHandler |
| Modifier and Type | Field and Description |
|---|---|
static ByteOrder |
BYTE_ORDER |
static int |
CURRENT_VERSION_ID |
static BitmapSerdeFactory |
LEGACY_FACTORY |
static byte |
V8_VERSION |
static byte |
V9_VERSION |
| Constructor and Description |
|---|
IndexIO(com.fasterxml.jackson.databind.ObjectMapper mapper,
ColumnConfig columnConfig) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkFileSize(File indexFile) |
QueryableIndex |
loadIndex(File inDir) |
QueryableIndex |
loadIndex(File inDir,
boolean lazy) |
static File |
makeDimFile(File dir,
String dimension) |
static File |
makeMetricFile(File dir,
String metricName,
ByteOrder order) |
static File |
makeTimeFile(File dir,
ByteOrder order) |
void |
validateTwoSegments(File dir1,
File dir2) |
void |
validateTwoSegments(IndexableAdapter adapter1,
IndexableAdapter adapter2) |
public static final byte V8_VERSION
public static final byte V9_VERSION
public static final int CURRENT_VERSION_ID
public static final BitmapSerdeFactory LEGACY_FACTORY
public static final ByteOrder BYTE_ORDER
@Inject
public IndexIO(com.fasterxml.jackson.databind.ObjectMapper mapper,
ColumnConfig columnConfig)
public void validateTwoSegments(File dir1, File dir2) throws IOException
IOExceptionpublic void validateTwoSegments(IndexableAdapter adapter1, IndexableAdapter adapter2)
public QueryableIndex loadIndex(File inDir) throws IOException
IOExceptionpublic QueryableIndex loadIndex(File inDir, boolean lazy) throws IOException
IOExceptionpublic static void checkFileSize(File indexFile) throws IOException
IOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.