lux.query
Class MatchAllPQuery

java.lang.Object
  extended by lux.query.ParseableQuery
      extended by lux.query.MatchAllPQuery

public final class MatchAllPQuery
extends ParseableQuery


Field Summary
static ElementConstructor INSTANCE_ELEMENT_CONSTRUCTOR
           
 
Constructor Summary
MatchAllPQuery()
           
 
Method Summary
static MatchAllPQuery getInstance()
           
 String toQueryString(String field, IndexConfiguration config)
           
 ElementConstructor toXmlNode(String field, IndexConfiguration config)
           
 
Methods inherited from class lux.query.ParseableQuery
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE_ELEMENT_CONSTRUCTOR

public static final ElementConstructor INSTANCE_ELEMENT_CONSTRUCTOR
Constructor Detail

MatchAllPQuery

public MatchAllPQuery()
Method Detail

getInstance

public static MatchAllPQuery getInstance()

toXmlNode

public ElementConstructor toXmlNode(String field,
                                    IndexConfiguration config)
Specified by:
toXmlNode in class ParseableQuery
Parameters:
field - the prevailing field in the query's surrounding context.
config - the index configuration
Returns:
an xml object representation of the query, in a format suitable for parsing by one the Lucene XML Query Parser

toQueryString

public String toQueryString(String field,
                            IndexConfiguration config)
Specified by:
toQueryString in class ParseableQuery
Parameters:
field - the prevailing field in the query's surrounding context.
config - the index configuration
Returns:
a String representation of the query, in the Surround Query Parser dialect


Copyright © 2013. All Rights Reserved.