public enum ElasticsearchCollections extends Enum<ElasticsearchCollections>
Enum Constant and Description |
---|
ACCESS_CONTRACT
Access contract collection
|
ACCESSION_REGISTER_DETAIL
Accession Register detail Collection
|
ACCESSION_REGISTER_SUMMARY
Accession Register summary Collection
|
AGENCIES
Agency collection
|
CONTEXT
Context collection
|
FORMATS
Formats Collection
|
INGEST_CONTRACT
Ingest contract collection
|
OBJECTGROUP
ObjectGroup Collection
|
OPERATION
Operation Collection
|
PROFILE
Profile collection
|
RULES
Rules Collection
|
SECURITY_PROFILE
Security profile collection
|
UNIT
Unit Collection
|
Modifier and Type | Method and Description |
---|---|
String |
getIndexName() |
String |
getMapping() |
InputStream |
getMappingAsInputStream()
Retrieve Mapping as an inputStream
|
static ElasticsearchCollections |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElasticsearchCollections[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElasticsearchCollections UNIT
public static final ElasticsearchCollections OBJECTGROUP
public static final ElasticsearchCollections FORMATS
public static final ElasticsearchCollections RULES
public static final ElasticsearchCollections ACCESSION_REGISTER_SUMMARY
public static final ElasticsearchCollections ACCESSION_REGISTER_DETAIL
public static final ElasticsearchCollections INGEST_CONTRACT
public static final ElasticsearchCollections ACCESS_CONTRACT
public static final ElasticsearchCollections PROFILE
public static final ElasticsearchCollections AGENCIES
public static final ElasticsearchCollections CONTEXT
public static final ElasticsearchCollections SECURITY_PROFILE
public static final ElasticsearchCollections OPERATION
public static ElasticsearchCollections[] values()
for (ElasticsearchCollections c : ElasticsearchCollections.values()) System.out.println(c);
public static ElasticsearchCollections 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 String getIndexName()
public String getMapping()
public InputStream getMappingAsInputStream() throws FileNotFoundException
FileNotFoundException
Copyright © 2018 Vitam. All rights reserved.