Package lumis.util.query
Class QuerySelect
- java.lang.Object
-
- lumis.util.query.QueryBase
-
- lumis.util.query.QuerySelect
-
@StableMinor(version="14.1", sinceVersion="4.0") public class QuerySelect extends QueryBase
Represents a select statement- Since:
- 4.0.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
-
-
Constructor Summary
Constructors Constructor Description QuerySelect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addJoin(QueryJoin join)
void
addSortOrder(QuerySortOrder querySortOrder)
Vector<QueryJoin>
getJoins()
int
getMaxRows()
Vector<QuerySortOrder>
getSortOrders()
int
getStartAt()
boolean
isDistinct()
void
setDistinct(boolean distinct)
void
setMaxRows(int maxRows)
void
setStartAt(int startAt)
-
Methods inherited from class lumis.util.query.QueryBase
addField, addFilter, addQueryAssignment, addTable, getFieldById, getFields, getFilters, getQueryAssignments, getTable, getTable, getTableByRelationId, getTables, setTable
-
-
-
-
Field Detail
-
maxRows
protected int maxRows
-
startAt
protected int startAt
-
distinct
protected boolean distinct
-
sortOrder
protected Vector<QuerySortOrder> sortOrder
-
-
Method Detail
-
addJoin
public void addJoin(QueryJoin join)
-
addSortOrder
public void addSortOrder(QuerySortOrder querySortOrder)
-
getSortOrders
public Vector<QuerySortOrder> getSortOrders()
-
setMaxRows
public void setMaxRows(int maxRows)
-
getMaxRows
public int getMaxRows()
-
setStartAt
public void setStartAt(int startAt)
-
getStartAt
public int getStartAt()
-
isDistinct
public boolean isDistinct()
- Returns:
- Returns the distinct.
-
setDistinct
public void setDistinct(boolean distinct)
- Parameters:
distinct
- The distinct to set.
-
-