Class BaseQuery
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseQuery
-
- All Implemented Interfaces:
Query
- Direct Known Subclasses:
LuceneQuery
public class BaseQuery extends Object implements Query
- Author:
- andyh
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Column>getColumns()Get the columns to return from the query This may not be null and must contain at least one entry.ConstraintgetConstraint()Get the constraints for the query.List<Ordering>getOrderings()Get any orderings (may be an empty list or null)SourcegetSource()Get the source for the query Must not be null.StringtoString()
-
-
-
Method Detail
-
getColumns
public List<Column> getColumns()
Description copied from interface:QueryGet the columns to return from the query This may not be null and must contain at least one entry. "*" "A.*" etc column specifications are not supported. These should have been previously expanded between any query parse and building the query model.- Specified by:
getColumnsin interfaceQuery
-
getConstraint
public Constraint getConstraint()
Description copied from interface:QueryGet the constraints for the query. This is as defined - with no hoisting etc. Hoisting is the problem of the implementation layer. May be null for unconstrained.- Specified by:
getConstraintin interfaceQuery- Returns:
- Constraint
-
getOrderings
public List<Ordering> getOrderings()
Description copied from interface:QueryGet any orderings (may be an empty list or null)- Specified by:
getOrderingsin interfaceQuery
-
getSource
public Source getSource()
Description copied from interface:QueryGet the source for the query Must not be null.
-
-