public static enum IndexFactory.IndexType extends java.lang.Enum<IndexFactory.IndexType>
| Enum Constant and Description |
|---|
INTERVAL_TREE |
LINEAR |
TABIX |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreate() |
int |
getDefaultBinSize() |
IndexCreator |
getIndexCreator() |
java.lang.Class<Index> |
getIndexType() |
static IndexFactory.IndexType |
getIndexType(java.io.BufferedInputStream is) |
int |
getMagicNumber() |
java.lang.Integer |
getTribbleIndexType() |
static IndexFactory.IndexType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getDefaultBinSize()
public IndexCreator getIndexCreator()
public boolean canCreate()
public java.lang.Integer getTribbleIndexType()
public java.lang.Class<Index> getIndexType()
public int getMagicNumber()
public static IndexFactory.IndexType getIndexType(java.io.BufferedInputStream is)
is - InputStream of index. This will be reset to location it was at when method was invoked.IndexType based on the headerValueTribbleException.UnableToCreateCorrectIndexType