|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Index.UriKeys>
it.unimi.di.mg4j.index.Index.UriKeys
public static enum Index.UriKeys
Keys to be used (downcased) in specifiying additional parameters to a MG4J URI.
Enum Constant Summary | |
---|---|
INMEMORY
When set, forces loading a local index into core memory. |
|
MAPPED
When set, forces to map a local index into core memory. |
|
OFFSETSTEP
The step used for creating the offset SemiExternalOffsetList . |
|
SIZES
The name of a sizes file that will be loaded in case of an IndexCluster . |
|
SUCCINCTSIZES
When set, sizes are loaded in a succinct format (more precisely, using an Elias–Fano compressed list. |
Method Summary | |
---|---|
static Index.UriKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Index.UriKeys[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Index.UriKeys INMEMORY
public static final Index.UriKeys MAPPED
public static final Index.UriKeys OFFSETSTEP
SemiExternalOffsetList
. If
set to zero, the offset list will be entirely loaded into core memory. If negative, the list
will be memory-mapped, and the absolute value will be used as step.
public static final Index.UriKeys SUCCINCTSIZES
public static final Index.UriKeys SIZES
IndexCluster
.
Method Detail |
---|
public static Index.UriKeys[] values()
for (Index.UriKeys c : Index.UriKeys.values()) System.out.println(c);
public static Index.UriKeys valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |