lumis.util.query
Class QuerySelect

Package class diagram package QuerySelect
java.lang.Object
  extended by lumis.util.query.QueryBase
      extended by lumis.util.query.QuerySelect

@StableMinor(version="6.2",
             sinceVersion="4.0")
public class QuerySelect
extends QueryBase

Represents a select statement

Since:
4.0.0

Field Summary
protected  boolean distinct
           
protected  Vector<QueryJoin> joins
           
protected  int maxRows
           
protected  Vector<QuerySortOrder> sortOrder
           
protected  int startAt
           
 
Fields inherited from class lumis.util.query.QueryBase
fields, filters, mainTable, queryAssignments, tables
 
Constructor Summary
QuerySelect()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

joins

protected Vector<QueryJoin> joins

maxRows

protected int maxRows

startAt

protected int startAt

distinct

protected boolean distinct

sortOrder

protected Vector<QuerySortOrder> sortOrder
Constructor Detail

QuerySelect

public QuerySelect()
Method Detail

addJoin

public void addJoin(QueryJoin join)

getJoins

public Vector<QueryJoin> getJoins()

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.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.