|
||||||||||
| 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 Map<String,Object> |
features
The optional features. |
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 | |
|---|---|
Map<String,Object> |
getFeatures()
Returns the optional features. |
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. |
void |
setFeature(String name,
Object value)
Sets the optional feature in the stament's execution scope. |
void |
setFeatures(Map<String,Object> features)
Sets the optional features. |
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()
|
void |
unsetFeatures(Set<String> names)
Clears the optional features in the stament's or execution scope. |
| 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
private Map<String,Object> features
| Constructor Detail |
|---|
public SqlStandardControl()
public SqlStandardControl(SqlControl sqlControl)
| Method Detail |
|---|
public Object getStaticInputValues()
getStaticInputValues in interface SqlControlpublic SqlStandardControl setStaticInputValues(Object staticInputValues)
staticInputValues - the object used for the SQL statement static input values
public int getMaxTimeout()
getMaxTimeout in interface SqlControlpublic SqlStandardControl setMaxTimeout(int maxTimeout)
maxTimeout - the max SQL execution time
public int getFirstResult()
getFirstResult in interface SqlControlpublic SqlStandardControl setFirstResult(int firstResult)
firstResult - the first SQL execution output row
public int getMaxResults()
getMaxResults in interface SqlControlpublic SqlStandardControl setMaxResults(int maxResults)
maxResults - the max number of SQL execution output rows
public SqlOrder getOrder()
getOrder in interface SqlControlpublic 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 SqlControlpublic SqlStandardControl setMoreResultClasses(Map<String,Class<?>> moreResultClasses)
moreResultClasses - more result classes used for the return values
public Map<String,Object> getFeatures()
getFeatures in interface SqlControlpublic void setFeatures(Map<String,Object> features)
features - the optional features
public void setFeature(String name,
Object value)
name - the name of the optional featurevalue - the value of the optional featurepublic void unsetFeatures(Set<String> names)
names - the names of the optional featurespublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||