Class SystemDataStreamDescriptor

java.lang.Object
org.elasticsearch.indices.SystemDataStreamDescriptor

public class SystemDataStreamDescriptor
extends java.lang.Object
Describes a DataStream that is reserved for use by a system component. The data stream will be managed by the system and also protected by the system against user modification so that system features are not broken by inadvertent user operations.
  • Constructor Details

    • SystemDataStreamDescriptor

      public SystemDataStreamDescriptor​(java.lang.String dataStreamName, java.lang.String description, SystemDataStreamDescriptor.Type type, ComposableIndexTemplate composableIndexTemplate, java.util.Map<java.lang.String,​ComponentTemplate> componentTemplates, java.util.List<java.lang.String> allowedElasticProductOrigins)
      Creates a new descriptor for a system data descriptor
      Parameters:
      dataStreamName - the name of the data stream. Must not be null
      description - a brief description of what the data stream is used for. Must not be null
      type - the SystemDataStreamDescriptor.Type of the data stream which determines how the data stream can be accessed. Must not be null
      composableIndexTemplate - the ComposableIndexTemplate that contains the mappings and settings for the data stream. Must not be null
      componentTemplates - a map that contains ComponentTemplate instances corresponding to those references in the ComposableIndexTemplate
      allowedElasticProductOrigins - a list of product origin values that are allowed to access this data stream if the type is SystemDataStreamDescriptor.Type.EXTERNAL. Must not be null
  • Method Details

    • getDataStreamName

      public java.lang.String getDataStreamName()
    • getDescription

      public java.lang.String getDescription()
    • getComposableIndexTemplate

      public ComposableIndexTemplate getComposableIndexTemplate()
    • isExternal

      public boolean isExternal()
    • getBackingIndexPattern

      public java.lang.String getBackingIndexPattern()
    • getAllowedElasticProductOrigins

      public java.util.List<java.lang.String> getAllowedElasticProductOrigins()
    • getComponentTemplates

      public java.util.Map<java.lang.String,​ComponentTemplate> getComponentTemplates()