类 GetIndexResponse

java.lang.Object
org.easysearch.client.indices.GetIndexResponse

public class GetIndexResponse
extends java.lang.Object
A client side response for a get index action.
  • 方法概要

    修饰符和类型 方法 说明
    static GetIndexResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser)  
    java.util.Map<java.lang.String,​java.util.List<org.easysearch.cluster.metadata.AliasMetadata>> getAliases()  
    java.util.Map<java.lang.String,​java.lang.String> getDataStreams()  
    java.util.Map<java.lang.String,​org.easysearch.common.settings.Settings> getDefaultSettings()
    If the originating GetIndexRequest object was configured to include defaults, this will contain a mapping of index name to Settings objects.
    java.lang.String[] getIndices()  
    java.util.Map<java.lang.String,​org.easysearch.cluster.metadata.MappingMetadata> getMappings()  
    java.lang.String getSetting​(java.lang.String index, java.lang.String setting)
    Returns the string value for the specified index and setting.
    java.util.Map<java.lang.String,​org.easysearch.common.settings.Settings> getSettings()  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • getIndices

      public java.lang.String[] getIndices()
    • getMappings

      public java.util.Map<java.lang.String,​org.easysearch.cluster.metadata.MappingMetadata> getMappings()
    • getAliases

      public java.util.Map<java.lang.String,​java.util.List<org.easysearch.cluster.metadata.AliasMetadata>> getAliases()
    • getDefaultSettings

      public java.util.Map<java.lang.String,​org.easysearch.common.settings.Settings> getDefaultSettings()
      If the originating GetIndexRequest object was configured to include defaults, this will contain a mapping of index name to Settings objects. The returned Settings objects will contain only those settings taking effect as defaults. Any settings explicitly set on the index will be available via getSettings(). See also GetIndexRequest.includeDefaults(boolean)
    • getSettings

      public java.util.Map<java.lang.String,​org.easysearch.common.settings.Settings> getSettings()
    • getDataStreams

      public java.util.Map<java.lang.String,​java.lang.String> getDataStreams()
    • getSetting

      public java.lang.String getSetting​(java.lang.String index, java.lang.String setting)
      Returns the string value for the specified index and setting. If the includeDefaults flag was not set or set to false on the GetIndexRequest, this method will only return a value where the setting was explicitly set on the index. If the includeDefaults flag was set to true on the GetIndexRequest, this method will fall back to return the default value if the setting was not explicitly set.
    • fromXContent

      public static GetIndexResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException
      抛出:
      java.io.IOException