public static enum IndexFactory.IndexType extends Enum<IndexFactory.IndexType>
Enum Constant and Description |
---|
INTERVAL_TREE |
LINEAR |
TABIX |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate() |
int |
getDefaultBinSize() |
IndexCreator |
getIndexCreator() |
Class |
getIndexType() |
static IndexFactory.IndexType |
getIndexType(BufferedInputStream is) |
int |
getMagicNumber() |
Integer |
getTribbleIndexType() |
static IndexFactory.IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexFactory.IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexFactory.IndexType LINEAR
public static final IndexFactory.IndexType INTERVAL_TREE
public static final IndexFactory.IndexType TABIX
public static IndexFactory.IndexType[] values()
for (IndexFactory.IndexType c : IndexFactory.IndexType.values()) System.out.println(c);
public static IndexFactory.IndexType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getDefaultBinSize()
public IndexCreator getIndexCreator()
public boolean canCreate()
public Integer getTribbleIndexType()
public Class getIndexType()
public int getMagicNumber()
public static IndexFactory.IndexType getIndexType(BufferedInputStream is)
is
- InputStream of index. This will be reset to location it was at when method was invoked.IndexType
based on the headerValue
TribbleException.UnableToCreateCorrectIndexType