Class SystemIndices

java.lang.Object
org.elasticsearch.indices.SystemIndices

public class SystemIndices
extends java.lang.Object
This class holds the SystemIndexDescriptor objects that represent system indices the node knows about. Methods for determining if an index should be a system index are also provided to reduce the locations within the code that need to deal with SystemIndexDescriptors.
  • Constructor Summary

    Constructors 
    Constructor Description
    SystemIndices​(java.util.Map<java.lang.String,​java.util.Collection<SystemIndexDescriptor>> pluginAndModulesDescriptors)  
  • Method Summary

    Modifier and Type Method Description
    SystemIndexDescriptor findMatchingDescriptor​(java.lang.String name)
    Finds a single matching SystemIndexDescriptor, if any, for the given index name.
    boolean isSystemIndex​(java.lang.String indexName)
    Determines whether a given index is a system index by comparing its name to the collection of loaded SystemIndexDescriptors
    boolean isSystemIndex​(Index index)
    Determines whether a given index is a system index by comparing its name to the collection of loaded SystemIndexDescriptors

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait