Class GetAllSampleConfigurationAction.Response

All Implemented Interfaces:
Writeable, ChunkedToXContent, ChunkedToXContentObject, RefCounted
Enclosing class:
GetAllSampleConfigurationAction

public static class GetAllSampleConfigurationAction.Response extends ActionResponse implements ChunkedToXContentObject
Response object containing an index to sampling configuration map.

This response contains a map from index names to their associated sampling configurations. The response is designed to match the expected JSON format with an array containing objects with "index" and "configuration" fields.

  • Constructor Details

    • Response

      public Response(Map<String,SamplingConfiguration> indexToSamplingConfigMap)
      Constructs a new Response with the given index to sampling configuration map.
      Parameters:
      indexToSamplingConfigMap - the index to sampling configuration map
    • Response

      public Response(StreamInput in) throws IOException
      Constructs a new Response by deserializing from a StreamInput.
      Parameters:
      in - the stream input to read from
      Throws:
      IOException - if an I/O error occurs during deserialization
  • Method Details