public class SearchCall extends FunCall
AbstractExpression.TypeFN_COLLECTION, FN_CONTAINS, FN_COUNT, FN_DATA, FN_EMPTY, FN_EXISTS, FN_LAST, FN_MAX, FN_MIN, FN_NAMESPACE, FN_NOT, FN_ROOT, FN_STRING_JOIN, FN_SUBSEQUENCE, FN_UNORDERED, LastExpression, LOCAL_NAMESPACE, LUX_COUNT, LUX_EXISTS, LUX_FIELD_VALUES, LUX_KEY, LUX_NAMESPACE, LUX_SEARCH, XS_NAMESPACEsubs, sup| Constructor and Description |
|---|
SearchCall(AbstractExpression abstractExpression)
used to convert a generic lux:search FunCall into a SearchCall
|
SearchCall(XPathQuery query,
IndexConfiguration config)
creates a call to lux:search that encodes information provided by the optimizer, enabling combination
with additional filters and sorting criteria
|
| Modifier and Type | Method and Description |
|---|---|
void |
combineQuery(XPathQuery additionalQuery,
IndexConfiguration config) |
XPathQuery |
getQuery() |
SearchCall |
getRoot() |
boolean |
isFnCollection() |
boolean |
isGenerated() |
void |
setFnCollection(boolean isFnCollection) |
accept, equivHash, getLastContextStep, getName, getPrecedence, getReturnType, isDocumentOrdered, isRestrictive, propEquals, setArguments, toStringacceptSubs, appendSub, deepEquals, equivalent, geq, getBindingContext, getHead, getSubs, getSuper, getTail, getType, isAbsolute, matchDown, propGreaterEqual, replaceRoot, setSubs, toStringpublic SearchCall(XPathQuery query, IndexConfiguration config)
query - containing the information compiled by the optimizerconfig - used to determine the default field namepublic SearchCall(AbstractExpression abstractExpression)
abstractExpression - the query, as a string to be parsed by LuxQueryParser,
or as a node to be parsed by XmlQueryParser.public boolean isGenerated()
public void combineQuery(XPathQuery additionalQuery, IndexConfiguration config)
public boolean isFnCollection()
public void setFnCollection(boolean isFnCollection)
public SearchCall getRoot()
public XPathQuery getQuery()
Copyright © 2013. All Rights Reserved.