Sha256: f488cb0ff98039c58817a475c2be081059a1cc205135341f145fac6c87d1b794

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 KB

Contents

module Elasticsearch
  module API
    module Cat
      module Actions

        # Display custom node attributes
        #
        # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
        # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
        # @option arguments [List] :h Comma-separated list of column names to display
        # @option arguments [Boolean] :help Return help information
        # @option arguments [Boolean] :v Verbose mode. Display column headers
        #
        # @see http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html
        #
        def nodeattrs(arguments={})
          Utils.__report_unsupported_method(__method__)

          valid_params = [
            :local,
            :master_timeout,
            :h,
            :help,
            :v ]

          method = 'GET'
          path   = "_cat/nodeattrs"
          params = Utils.__validate_and_extract_params arguments, valid_params
          body   = nil

          perform_request(method, path, params, body).body
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
elasticsearch-api-1.1.3 lib/elasticsearch/api/actions/cat/nodeattrs.rb
elasticsearch-api-1.1.2 lib/elasticsearch/api/actions/cat/nodeattrs.rb
elasticsearch-api-1.1.1 lib/elasticsearch/api/actions/cat/nodeattrs.rb
elasticsearch-api-1.1.0 lib/elasticsearch/api/actions/cat/nodeattrs.rb
elasticsearch-api-1.1.pre lib/elasticsearch/api/actions/cat/nodeattrs.rb