Interface Query
-
- All Known Implementing Classes:
BaseQuery
,LuceneQuery
public interface Query
- Author:
- andyh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Column>
getColumns()
Get the columns to return from the query This may not be null and must contain at least one entry.Constraint
getConstraint()
Get the constraints for the query.java.util.List<Ordering>
getOrderings()
Get any orderings (may be an empty list or null)Source
getSource()
Get the source for the query Must not be null.
-
-
-
Method Detail
-
getColumns
java.util.List<Column> getColumns()
Get 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.
-
getConstraint
Constraint getConstraint()
Get 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.- Returns:
- Constraint
-
getOrderings
java.util.List<Ordering> getOrderings()
Get any orderings (may be an empty list or null)
-
getSource
Source getSource()
Get the source for the query Must not be null.- Returns:
- Source
-
-