Class InternalOrder.Parser

java.lang.Object
org.elasticsearch.search.aggregations.InternalOrder.Parser
Enclosing class:
InternalOrder

public static class InternalOrder.Parser extends Object
Contains logic for parsing a BucketOrder from a XContentParser.
  • Constructor Details

    • Parser

      public Parser()
  • Method Details

    • parseOrderParam

      public static BucketOrder parseOrderParam(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException
      Parse a BucketOrder from XContent.
      Parameters:
      parser - for parsing XContent that contains the order.
      Returns:
      bucket ordering strategy
      Throws:
      IOException - on error a XContent parsing error.