Class IndexAbstraction.DataStream
java.lang.Object
org.elasticsearch.cluster.metadata.IndexAbstraction.DataStream
- All Implemented Interfaces:
IndexAbstraction
- Enclosing interface:
- IndexAbstraction
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.metadata.IndexAbstraction
IndexAbstraction.Alias, IndexAbstraction.ConcreteIndex, IndexAbstraction.DataStream, IndexAbstraction.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DateFormatterstatic final org.elasticsearch.xcontent.XContentParserConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()getType()A write index is a dedicated concrete index, that accepts all the new documents that belong to an index abstraction.getWriteIndex(IndexRequest request, Metadata metadata) inthashCode()booleanbooleanisHidden()booleanisSystem()
-
Field Details
-
TS_EXTRACT_CONFIG
public static final org.elasticsearch.xcontent.XContentParserConfiguration TS_EXTRACT_CONFIG -
TIMESTAMP_FORMATTER
-
-
Constructor Details
-
DataStream
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceIndexAbstraction- Returns:
- the name of the index abstraction
-
getType
- Specified by:
getTypein interfaceIndexAbstraction- Returns:
- the type of the index abstraction
-
getIndices
- Specified by:
getIndicesin interfaceIndexAbstraction- Returns:
- All
Indexof all concrete indices this index abstraction is referring to.
-
getWriteIndex
Description copied from interface:IndexAbstractionA write index is a dedicated concrete index, that accepts all the new documents that belong to an index abstraction.A write index may also be a regular concrete index of a index abstraction and may therefore also be returned by
IndexAbstraction.getIndices(). An index abstraction may also not have a dedicated write index.- Specified by:
getWriteIndexin interfaceIndexAbstraction- Returns:
- the write index of this index abstraction or
nullif this index abstraction doesn't have a write index.
-
getWriteIndex
- Specified by:
getWriteIndexin interfaceIndexAbstraction
-
getParentDataStream
- Specified by:
getParentDataStreamin interfaceIndexAbstraction- Returns:
- the data stream to which this index belongs or
nullif this is not a concrete index or if it is a concrete index that does not belong to a data stream.
-
isHidden
public boolean isHidden()- Specified by:
isHiddenin interfaceIndexAbstraction- Returns:
- whether this index abstraction is hidden or not
-
isSystem
public boolean isSystem()- Specified by:
isSystemin interfaceIndexAbstraction- Returns:
- whether this index abstraction should be treated as a system index or not
-
isDataStreamRelated
public boolean isDataStreamRelated()- Specified by:
isDataStreamRelatedin interfaceIndexAbstraction- Returns:
- whether this index abstraction is related to data streams
-
getAliases
- Specified by:
getAliasesin interfaceIndexAbstraction- Returns:
- the names of aliases referring to this instance.
Returns
nullif aliases can't point to this instance.
-
getDataStream
-
equals
-
hashCode
public int hashCode()
-