public enum GlobalOrdinalsBuilder extends Enum<GlobalOrdinalsBuilder>
Modifier and Type | Method and Description |
---|---|
static IndexOrdinalsFieldData |
build(org.apache.lucene.index.IndexReader indexReader,
IndexOrdinalsFieldData indexFieldData,
Settings settings,
CircuitBreakerService breakerService,
ESLogger logger)
Build global ordinals for the provided
IndexReader . |
static IndexOrdinalsFieldData |
buildEmpty(Index index,
Settings settings,
org.apache.lucene.index.IndexReader indexReader,
IndexOrdinalsFieldData indexFieldData) |
static GlobalOrdinalsBuilder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobalOrdinalsBuilder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static GlobalOrdinalsBuilder[] values()
for (GlobalOrdinalsBuilder c : GlobalOrdinalsBuilder.values()) System.out.println(c);
public static GlobalOrdinalsBuilder 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 static IndexOrdinalsFieldData build(org.apache.lucene.index.IndexReader indexReader, IndexOrdinalsFieldData indexFieldData, Settings settings, CircuitBreakerService breakerService, ESLogger logger) throws IOException
IndexReader
.IOException
public static IndexOrdinalsFieldData buildEmpty(Index index, Settings settings, org.apache.lucene.index.IndexReader indexReader, IndexOrdinalsFieldData indexFieldData) throws IOException
IOException
Copyright © 2009–2017. All rights reserved.