Class AbstractNativeQuery<T extends NativeQuery<?,?>,U>
java.lang.Object
org.flowable.common.engine.impl.query.BaseNativeQuery<T,U>
org.flowable.common.engine.impl.query.AbstractNativeQuery<T,U>
- All Implemented Interfaces:
Serializable,NativeQuery<T,,U> Command<Object>
public abstract class AbstractNativeQuery<T extends NativeQuery<?,?>,U>
extends BaseNativeQuery<T,U>
implements Command<Object>
Abstract superclass for all native query types.
- Author:
- Bernd Ruecker (camunda)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.query.BaseNativeQuery
BaseNativeQuery.ResultType -
Field Summary
FieldsFields inherited from class org.flowable.common.engine.impl.query.BaseNativeQuery
firstResult, maxResults, parameters, resultType, sqlStatement -
Constructor Summary
ConstructorsModifierConstructorDescriptionAbstractNativeQuery(CommandContext commandContext) protectedAbstractNativeQuery(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionlongcount()execute(CommandContext commandContext) abstract longexecuteCount(CommandContext commandContext, Map<String, Object> parameterMap) executeList(CommandContext commandContext, Map<String, Object> parameterMap) Executes the actual query to retrieve the list of results.executeSingleResult(CommandContext commandContext) list()listPage(int firstResult, int maxResults) setCommandExecutor(CommandExecutor commandExecutor) Methods inherited from class org.flowable.common.engine.impl.query.BaseNativeQuery
generateParameterMap, getParameters
-
Field Details
-
commandExecutor
-
commandContext
-
-
Constructor Details
-
AbstractNativeQuery
-
AbstractNativeQuery
-
-
Method Details
-
setCommandExecutor
-
sql
- Specified by:
sqlin interfaceNativeQuery<T extends NativeQuery<?,?>, U> - Overrides:
sqlin classBaseNativeQuery<T extends NativeQuery<?,?>, U>
-
parameter
- Specified by:
parameterin interfaceNativeQuery<T extends NativeQuery<?,?>, U> - Overrides:
parameterin classBaseNativeQuery<T extends NativeQuery<?,?>, U>
-
singleResult
- Specified by:
singleResultin interfaceNativeQuery<T extends NativeQuery<?,?>, U>
-
list
- Specified by:
listin interfaceNativeQuery<T extends NativeQuery<?,?>, U>
-
listPage
- Specified by:
listPagein interfaceNativeQuery<T extends NativeQuery<?,?>, U>
-
count
public long count()- Specified by:
countin interfaceNativeQuery<T extends NativeQuery<?,?>, U>
-
execute
- Specified by:
executein interfaceCommand<T extends NativeQuery<?,?>>
-
executeCount
-
executeList
Executes the actual query to retrieve the list of results.- Parameters:
commandContext-parameterMap-
-
executeSingleResult
-