|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> access >> [ trans overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.cayenne.access.trans
Class SelectQueryAssembler

java.lang.Objectorg.objectstyle.cayenne.access.QueryTranslator
org.objectstyle.cayenne.access.trans.QueryAssembler
org.objectstyle.cayenne.access.trans.SelectQueryAssembler
- public abstract class SelectQueryAssembler
- extends QueryAssembler
Abstract superclass of Query translators. Defines callback methods for helper classes that are delegated tasks of building query parts.
| Field Summary |
| Fields inherited from class org.objectstyle.cayenne.access.trans.QueryAssembler |
attributes, values |
| Fields inherited from class org.objectstyle.cayenne.access.QueryTranslator |
adapter, con, engine, query |
| Constructor Summary | |
SelectQueryAssembler()
|
|
| Method Summary | |
abstract int |
getFetchLimit()
Returns a maximum number of rows that the underlying query should fetch. |
abstract java.lang.String[] |
getResultTypes(java.sql.ResultSet rs)
Returns ordered array of Java class names that should be used for values in the ResultSet. |
abstract org.objectstyle.cayenne.map.DbAttribute[] |
getSnapshotDesc(java.sql.ResultSet rs)
Returns an ordered array of DbAttributes that describe the result columns in the in the ResultSet. |
| Methods inherited from class org.objectstyle.cayenne.access.trans.QueryAssembler |
addToParamList, aliasForTable, aliasForTable, createSqlString, createStatement, dbRelationshipAdded, initStatement, supportsTableAliases |
| Methods inherited from class org.objectstyle.cayenne.access.QueryTranslator |
getAdapter, getCon, getEngine, getQuery, getRootDbEntity, getRootEntity, setAdapter, setCon, setEngine, setQuery |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
SelectQueryAssembler
public SelectQueryAssembler()
| Method Detail |
getSnapshotDesc
public abstract org.objectstyle.cayenne.map.DbAttribute[] getSnapshotDesc(java.sql.ResultSet rs)
- Returns an ordered array of DbAttributes that describe the
result columns in the in the ResultSet.
getResultTypes
public abstract java.lang.String[] getResultTypes(java.sql.ResultSet rs)
- Returns ordered array of Java class names that should be used
for values in the ResultSet.
getFetchLimit
public abstract int getFetchLimit()
- Returns a maximum number of rows that the underlying
query should fetch. If the value is less than or equal to
zero, all rows will be returned.
|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> access >> [ trans overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC