|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sqlproc.engine.impl.SqlStandardControl
public class SqlStandardControl
The compound parameters controlling the META SQL execution.
For more info please see the Tutorials.
Field Summary | |
---|---|
private int |
firstResult
The first SQL execution output row to be returned in the case we need to skip some rows in the result set. |
private int |
maxResults
The max number of SQL execution output rows, which can be returned in the result list. |
private int |
maxTimeout
The max SQL execution time. |
private Map<String,Class<?>> |
moreResultClasses
More result classes used for the return values, like the collections classes or the collections items. |
private SqlOrder |
order
The ordering directive list. |
private Object |
staticInputValues
The object used for the SQL statement dynamic input values. |
Constructor Summary | |
---|---|
SqlStandardControl()
Standard constructor. |
|
SqlStandardControl(SqlControl sqlControl)
Merging constructor. |
Method Summary | |
---|---|
int |
getFirstResult()
Returns the first SQL execution output row to be returned in the case we need to skip some rows in the result set. |
int |
getMaxResults()
Returns the max number of SQL execution output rows, which can be returned in the result list. |
int |
getMaxTimeout()
Returns the max SQL execution time. |
Map<String,Class<?>> |
getMoreResultClasses()
Returns more result classes used for the return values, like the collections classes or the collections items. |
SqlOrder |
getOrder()
Returns the ordering directive list. |
Object |
getStaticInputValues()
Returns the object used for the SQL statement static input values. |
SqlStandardControl |
setAscOrder(int order)
Sets the ordering directive list. |
SqlStandardControl |
setDescOrder(int order)
Sets the ordering directive list. |
SqlStandardControl |
setFirstResult(int firstResult)
Sets the first SQL execution output row to be returned in the case we need to skip some rows in the result set. |
SqlStandardControl |
setMaxResults(int maxResults)
Sets the max number of SQL execution output rows, which can be returned in the result list. |
SqlStandardControl |
setMaxTimeout(int maxTimeout)
Sets the max SQL execution time. |
SqlStandardControl |
setMoreResultClasses(Map<String,Class<?>> moreResultClasses)
Sets more result classes used for the return values, like the collections classes or the collections items. |
SqlStandardControl |
setOrder(SqlOrder order)
Sets the ordering directive list. |
SqlStandardControl |
setStaticInputValues(Object staticInputValues)
Sets the object used for the SQL statement static input values. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Object staticInputValues
private int maxTimeout
private int firstResult
private int maxResults
private SqlOrder order
private Map<String,Class<?>> moreResultClasses
Constructor Detail |
---|
public SqlStandardControl()
public SqlStandardControl(SqlControl sqlControl)
Method Detail |
---|
public Object getStaticInputValues()
getStaticInputValues
in interface SqlControl
public SqlStandardControl setStaticInputValues(Object staticInputValues)
staticInputValues
- the object used for the SQL statement static input values
public int getMaxTimeout()
getMaxTimeout
in interface SqlControl
public SqlStandardControl setMaxTimeout(int maxTimeout)
maxTimeout
- the max SQL execution time
public int getFirstResult()
getFirstResult
in interface SqlControl
public SqlStandardControl setFirstResult(int firstResult)
firstResult
- the first SQL execution output row
public int getMaxResults()
getMaxResults
in interface SqlControl
public SqlStandardControl setMaxResults(int maxResults)
maxResults
- the max number of SQL execution output rows
public SqlOrder getOrder()
getOrder
in interface SqlControl
public SqlStandardControl setOrder(SqlOrder order)
order
- the ordering directive list
public SqlStandardControl setAscOrder(int order)
order
- the ordering directive
public SqlStandardControl setDescOrder(int order)
order
- the ordering directive
public Map<String,Class<?>> getMoreResultClasses()
getMoreResultClasses
in interface SqlControl
public SqlStandardControl setMoreResultClasses(Map<String,Class<?>> moreResultClasses)
moreResultClasses
- more result classes used for the return values
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |