Class BaseNativeQuery<T extends NativeQuery<?,?>,U>
java.lang.Object
org.flowable.common.engine.impl.query.BaseNativeQuery<T,U>
- All Implemented Interfaces:
Serializable,NativeQuery<T,U>
- Direct Known Subclasses:
AbstractNativeQuery
public abstract class BaseNativeQuery<T extends NativeQuery<?,?>,U>
extends Object
implements NativeQuery<T,U>, Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected BaseNativeQuery.ResultTypeprotected String -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.NativeQuery
count, list, listPage, singleResult
-
Field Details
-
maxResults
protected int maxResults -
firstResult
protected int firstResult -
resultType
-
parameters
-
sqlStatement
-
-
Constructor Details
-
BaseNativeQuery
public BaseNativeQuery()
-
-
Method Details
-
sql
Description copied from interface:NativeQueryHand in the SQL statement you want to execute. BEWARE: if you need a count you have to hand in a count() statement yourself, otherwise the result will be treated as lost of Flowable entities. If you need paging you have to insert the pagination code yourself. We skipped doing this for you as this is done really different on some databases (especially MS-SQL / DB2)- Specified by:
sqlin interfaceNativeQuery<T extends NativeQuery<?,?>, U>
-
parameter
Description copied from interface:NativeQueryAdd parameter to be replaced in query for index, e.g. :param1, :myParam, ...- Specified by:
parameterin interfaceNativeQuery<T extends NativeQuery<?,?>, U>
-
generateParameterMap
-
getParameters
-