org.elasticsearch.index.query
Class WrapperFilterBuilder
java.lang.Object
org.elasticsearch.index.query.BaseFilterBuilder
org.elasticsearch.index.query.WrapperFilterBuilder
- All Implemented Interfaces:
- ToXContent, FilterBuilder
public class WrapperFilterBuilder
- extends BaseFilterBuilder
A Filter builder which allows building a filter thanks to a JSON string or binary data. This is useful when you want
to use the Java Builder API but still have JSON filter strings at hand that you want to combine with other
query builders.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperFilterBuilder
public WrapperFilterBuilder(String source)
WrapperFilterBuilder
public WrapperFilterBuilder(byte[] source,
int offset,
int length)
doXContent
protected void doXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
doXContent
in class BaseFilterBuilder
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.