org.elasticsearch.action.explain
Class ExplainSourceBuilder
java.lang.Object
org.elasticsearch.action.explain.ExplainSourceBuilder
- All Implemented Interfaces:
- ToXContent
public class ExplainSourceBuilder
- extends Object
- implements ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExplainSourceBuilder
public ExplainSourceBuilder()
query
public ExplainSourceBuilder query(QueryBuilder query)
query
public ExplainSourceBuilder query(BytesReference queryBinary)
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
buildAsBytes
public BytesReference buildAsBytes(XContentType contentType)
throws SearchSourceBuilderException
- Throws:
SearchSourceBuilderException
Copyright © 2009-2012. All Rights Reserved.