public class TermPQuery extends ParseableQuery
| Modifier and Type | Field and Description |
|---|---|
static LiteralExpression |
FIELD_ATTR_NAME |
static QName |
TERM_QUERY_QNAME |
| Constructor and Description |
|---|
TermPQuery(org.apache.lucene.index.Term t) |
TermPQuery(org.apache.lucene.index.Term t,
float boost) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(ParseableQuery other) |
float |
getBoost() |
org.apache.lucene.index.Term |
getTerm() |
String |
toQueryString(String field,
IndexConfiguration config) |
ElementConstructor |
toXmlNode(String field,
IndexConfiguration config) |
protected ElementConstructor |
toXmlNode(String field,
QName elementName) |
hashCode, isMatchAll, isSpanCompatible, toStringpublic static final LiteralExpression FIELD_ATTR_NAME
public static final QName TERM_QUERY_QNAME
public TermPQuery(org.apache.lucene.index.Term t,
float boost)
public TermPQuery(org.apache.lucene.index.Term t)
public org.apache.lucene.index.Term getTerm()
public float getBoost()
public ElementConstructor toXmlNode(String field, IndexConfiguration config)
toXmlNode in class ParseableQueryfield - the prevailing field in the query's surrounding context.config - the index configurationprotected ElementConstructor toXmlNode(String field, QName elementName)
public String toQueryString(String field, IndexConfiguration config)
toQueryString in class ParseableQueryfield - the prevailing field in the query's surrounding context.config - the index configurationpublic boolean equals(ParseableQuery other)
equals in class ParseableQueryCopyright © 2013. All Rights Reserved.