Class GetIndexRequest

  • All Implemented Interfaces:
    Validatable

    public class GetIndexRequest
    extends TimedRequest
    A request to retrieve information about an index.
    • Constructor Detail

      • GetIndexRequest

        public GetIndexRequest​(java.lang.String... indices)
    • Method Detail

      • indices

        public java.lang.String[] indices()
        The indices into which the mappings will be put.
      • local

        public final boolean local()
        Return local information, do not retrieve the state from master node (default: false).
        Returns:
        true if local information is to be returned; false if information is to be retrieved from master node (default).
      • humanReadable

        public GetIndexRequest humanReadable​(boolean humanReadable)
      • humanReadable

        public boolean humanReadable()
      • includeDefaults

        public GetIndexRequest includeDefaults​(boolean includeDefaults)
        Sets the value of "include_defaults".
        Parameters:
        includeDefaults - value of "include_defaults" to be set.
        Returns:
        this request
      • includeDefaults

        public boolean includeDefaults()
        Whether to return all default settings for each of the indices.
        Returns:
        true if defaults settings for each of the indices need to returned; false otherwise.