|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.lql.LQLFilterCollection
public class LQLFilterCollection
Used to collect the generated LQL AST fragments created by all the QueryFunction
s
in the current QueryState
, then combine those fragments into a single clause to
be sent to the MDEX Engine.
Constructor Summary | |
---|---|
LQLFilterCollection()
|
Method Summary | |
---|---|
boolean |
addDataSourceFilterExpression(com.endeca.mdex.lql_parser.types.ExpressionBase expr)
Add a LQL AST expression fragment to the collection of data source expressions |
boolean |
addSelectionFilterExpression(com.endeca.mdex.lql_parser.types.ExpressionBase expr)
Add a LQL AST expression fragment to the collection of selection expressions |
com.endeca.mdex.lql_parser.types.StandaloneFilter |
getCombinedDataSourceFilter()
Returns the StandaloneFilter created by AND-ing together all of the data source filter fragments previously populated into this class |
com.endeca.mdex.lql_parser.types.StandaloneFilter |
getCombinedSelectionFilter()
Returns the StandaloneFilter created by AND-ing together all of the selection filter fragments previously populated into this class |
boolean |
hasDataSourceFilterExpressions()
Convenience to check if this collection contains any data source expressions |
boolean |
hasSelectionFilterExpressions()
Convenience to check if this collection contains any selection expressions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LQLFilterCollection()
Method Detail |
---|
public boolean addSelectionFilterExpression(com.endeca.mdex.lql_parser.types.ExpressionBase expr)
expr
- the LQL AST expression fragment
ArrayList.add(Object)
public boolean addDataSourceFilterExpression(com.endeca.mdex.lql_parser.types.ExpressionBase expr)
expr
- the LQL AST expression fragment
ArrayList.add(Object)
public boolean hasSelectionFilterExpressions()
ArrayList.isEmpty()
public boolean hasDataSourceFilterExpressions()
ArrayList.isEmpty()
public com.endeca.mdex.lql_parser.types.StandaloneFilter getCombinedSelectionFilter()
public com.endeca.mdex.lql_parser.types.StandaloneFilter getCombinedDataSourceFilter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |