Class GeoIpStatsResponse

java.lang.Object
org.elasticsearch.client.GeoIpStatsResponse
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class GeoIpStatsResponse extends Object implements org.elasticsearch.xcontent.ToXContentObject
  • Constructor Details

    • GeoIpStatsResponse

      public GeoIpStatsResponse(int successfulDownloads, int failedDownloads, long totalDownloadTime, int databasesCount, int skippedDownloads, Map<String,GeoIpStatsResponse.NodeInfo> nodes)
  • Method Details

    • getSuccessfulDownloads

      public int getSuccessfulDownloads()
    • getFailedDownloads

      public int getFailedDownloads()
    • getTotalDownloadTime

      public long getTotalDownloadTime()
    • getDatabasesCount

      public int getDatabasesCount()
    • getSkippedDownloads

      public int getSkippedDownloads()
    • getNodes

    • fromXContent

      public static GeoIpStatsResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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