public enum DirectoryType extends Enum<DirectoryType>
Modifier and Type | Method and Description |
---|---|
abstract LuceneIndex |
newIndex(KCluster cluster,
org.apache.lucene.index.IndexWriterConfig config) |
static DirectoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirectoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectoryType INMEMORY
public static final DirectoryType NIO
public static final DirectoryType MMAP
public static DirectoryType[] values()
for (DirectoryType c : DirectoryType.values()) System.out.println(c);
public static DirectoryType 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 abstract LuceneIndex newIndex(KCluster cluster, org.apache.lucene.index.IndexWriterConfig config)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.