R
- Class associated with a row in tablepublic abstract class ListSelectOperation<R> extends SelectOperation<R,java.util.List<R>>
Constructor and Description |
---|
ListSelectOperation(Table<R> table)
Constructs for a table to use primary key where condition.
|
ListSelectOperation(Table<R> table,
java.lang.String whereConditionName)
Constructs for a table and where condition.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
add(R row)
Implement to add row to collection created
SelectOperation.createReadAllCollection() . |
createReadAllCollection, getDefaultReadAllSize, getFetchSize, getResultSetType, getSelectedRows, prepareStatement, readAll, selectAll, selectAll, setDefaultReadAllSize, setFetchSize, setResultSetType, setWhere
addFilter, close, execute, getFilterPredicateMap, getMaximumRowsRead, getOrderByName, getOrderByTranslator, getResultSet, getRowsReadCount, getSql, initBaseSql, isExecuted, isLazySelectsCascades, isNotifyLazySelects, iterator, positionAbsolute, positionRelative, postRead, postReadCascade, prepareCascades, preRead, preReadCascade, readNext, removeFilter, resetRowsReadCount, select, select, setFilterPredicateMap, setMaximumRowsRead, setOrderBy, setOrderByTranslator, setParameters, setRowParameters, updateActiveFilterPredicate
cancel, cascade, closeCascades, closeStatement, createRowField, getBaseSql, getCascadeDepth, getConnection, getCustomSql, getNamedParameterMap, getNextParameter, getOperationTime, getParameter, getParameters, getPreparedSql, getPreparedStatement, getQueryTimeout, getRequiredCascades, getTable, getTargetTable, getTimingId, getWhereAnnotation, getWhereConditionName, getWhereTranslator, initOperationTime, isCached, isCascade, isCascading, isIncludeIdentityColumns, isPrimaryKey, isReadOnly, isRequiredCascade, isTimings, logTimings, prepare, prepareCascades, prepareCheck, setBaseSql, setCached, setCascade, setCascadeDepth, setCustomSql, setIncludeIdentityColumns, setNamedParameterMap, setNextParameter, setParameter, setQueryTimeout, setReadOnly, setRequiredCascades, setTimingId, setTimings, setWhereTranslator, writeColumns, writeParameter, writeParameters, writeWhere
public ListSelectOperation(Table<R> table) throws OperationException
SqlOperation
classes.
It is unlikely that you will want to use this constructor without also
changing the where condition since at most one row will be selected. Use
SelectOperation.setWhere(String)
or SqlOperation.setWhereTranslator(org.sormula.translator.AbstractWhereTranslator)
to change the default primary key where condition.
table
- select from this tableOperationException
- if errorpublic ListSelectOperation(Table<R> table, java.lang.String whereConditionName) throws OperationException
table
- select from this tablewhereConditionName
- name of where condition to use ("primaryKey" to select
by primary key; empty string to select all rows in table)OperationException
- if errorprotected boolean add(R row)
SelectOperation.createReadAllCollection()
.add
in class SelectOperation<R,java.util.List<R>>
row
- row to add