Package lumis.util.query
Class QuerySelect
- java.lang.Object
-
- lumis.util.query.QueryBase
-
- lumis.util.query.QuerySelect
-
@StableMinor(version="17.0", sinceVersion="4.0") public class QuerySelect extends QueryBase
Represents a select statement- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
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)
java.util.Vector<QueryJoin>
getJoins()
int
getMaxRows()
java.util.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
-
joins
protected java.util.Vector<QueryJoin> joins
-
maxRows
protected int maxRows
-
startAt
protected int startAt
-
distinct
protected boolean distinct
-
sortOrder
protected java.util.Vector<QuerySortOrder> sortOrder
-
-
Method Detail
-
addJoin
public void addJoin(QueryJoin join)
-
getJoins
public java.util.Vector<QueryJoin> getJoins()
-
addSortOrder
public void addSortOrder(QuerySortOrder querySortOrder)
-
getSortOrders
public java.util.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.
-
-