Class GetOverallBucketsAction.Request

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest, TransportRequest, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
Enclosing class:
GetOverallBucketsAction

public static class GetOverallBucketsAction.Request extends LegacyActionRequest implements org.elasticsearch.xcontent.ToXContentObject
  • Field Details

    • TOP_N

      public static final org.elasticsearch.xcontent.ParseField TOP_N
    • BUCKET_SPAN

      public static final org.elasticsearch.xcontent.ParseField BUCKET_SPAN
    • OVERALL_SCORE

      public static final org.elasticsearch.xcontent.ParseField OVERALL_SCORE
    • EXCLUDE_INTERIM

      public static final org.elasticsearch.xcontent.ParseField EXCLUDE_INTERIM
    • START

      public static final org.elasticsearch.xcontent.ParseField START
    • END

      public static final org.elasticsearch.xcontent.ParseField END
    • ALLOW_NO_MATCH

      public static final org.elasticsearch.xcontent.ParseField ALLOW_NO_MATCH
  • Constructor Details

  • Method Details

    • parseRequest

      public static GetOverallBucketsAction.Request parseRequest(String jobId, org.elasticsearch.xcontent.XContentParser parser)
    • getJobId

      public String getJobId()
    • getTopN

      public int getTopN()
    • setTopN

      public void setTopN(int topN)
    • getBucketSpan

      public org.elasticsearch.core.TimeValue getBucketSpan()
    • setBucketSpan

      public void setBucketSpan(org.elasticsearch.core.TimeValue bucketSpan)
    • setBucketSpan

      public void setBucketSpan(String bucketSpan)
    • getOverallScore

      public double getOverallScore()
    • setOverallScore

      public void setOverallScore(double overallScore)
    • isExcludeInterim

      public boolean isExcludeInterim()
    • setExcludeInterim

      public void setExcludeInterim(boolean excludeInterim)
    • getStart

      public Long getStart()
    • setStart

      public void setStart(Long start)
    • setStart

      public void setStart(String start)
    • getEnd

      public Long getEnd()
    • setEnd

      public void setEnd(Long end)
    • setEnd

      public void setEnd(String end)
    • allowNoMatch

      public boolean allowNoMatch()
    • setAllowNoMatch

      public void setAllowNoMatch(boolean allowNoMatch)
    • validate

      Specified by:
      validate in class ActionRequest
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class ActionRequest
      Throws:
      IOException
    • toXContent

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object