Class GetFiltersRequest

java.lang.Object
org.elasticsearch.client.ml.GetFiltersRequest
All Implemented Interfaces:
Validatable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class GetFiltersRequest extends Object implements Validatable, org.elasticsearch.common.xcontent.ToXContentObject
A request to retrieve MlFilters
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static org.elasticsearch.common.xcontent.ObjectParser<GetFiltersRequest,​Void>
     

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS

    Fields inherited from interface org.elasticsearch.client.Validatable

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals​(Object obj)
     
     
     
     
    int
     
    void
    setFilterId​(String filterId)
    Sets the filter id
    void
    setFrom​(Integer from)
    Sets the number of filters to skip.
    void
    setSize​(Integer size)
    Sets the number of filters to return.
    org.elasticsearch.common.xcontent.XContentBuilder
    toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject

    isFragment

    Methods inherited from interface org.elasticsearch.client.Validatable

    validate
  • Field Details

    • PARSER

      public static final org.elasticsearch.common.xcontent.ObjectParser<GetFiltersRequest,​Void> PARSER
  • Constructor Details

    • GetFiltersRequest

      public GetFiltersRequest()
  • Method Details

    • getFilterId

      public String getFilterId()
    • getFrom

      public Integer getFrom()
    • getSize

      public Integer getSize()
    • setFilterId

      public void setFilterId(String filterId)
      Sets the filter id
      Parameters:
      filterId - the filter id
    • setFrom

      public void setFrom(Integer from)
      Sets the number of filters to skip.
      Parameters:
      from - set the `from` parameter
    • setSize

      public void setSize(Integer size)
      Sets the number of filters to return.
      Parameters:
      size - set the `size` parameter
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object