org.elasticsearch.index.query.xcontent
Class MatchAllFilterBuilder

java.lang.Object
  extended by org.elasticsearch.index.query.xcontent.BaseFilterBuilder
      extended by org.elasticsearch.index.query.xcontent.MatchAllFilterBuilder
All Implemented Interfaces:
ToXContent, XContentFilterBuilder

public class MatchAllFilterBuilder
extends BaseFilterBuilder

A filter that simply wraps a query.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
MatchAllFilterBuilder()
          A filter that simply matches all docs.
 
Method Summary
protected  void doXContent(XContentBuilder builder, ToXContent.Params params)
           
 
Methods inherited from class org.elasticsearch.index.query.xcontent.BaseFilterBuilder
toXContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchAllFilterBuilder

public MatchAllFilterBuilder()
A filter that simply matches all docs.

Method Detail

doXContent

protected void doXContent(XContentBuilder builder,
                          ToXContent.Params params)
                   throws java.io.IOException
Specified by:
doXContent in class BaseFilterBuilder
Throws:
java.io.IOException