Class InternalOrder.Parser
java.lang.Object
org.elasticsearch.search.aggregations.InternalOrder.Parser
- Enclosing class:
- InternalOrder
Contains logic for parsing a
BucketOrder
from a XContentParser
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BucketOrder
parseOrderParam(org.elasticsearch.common.xcontent.XContentParser parser)
Parse aBucketOrder
fromXContent
.
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
parseOrderParam
public static BucketOrder parseOrderParam(org.elasticsearch.common.xcontent.XContentParser parser) throws IOExceptionParse aBucketOrder
fromXContent
.- Parameters:
parser
- for parsingXContent
that contains the order.- Returns:
- bucket ordering strategy
- Throws:
IOException
- on error aXContent
parsing error.
-