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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBaseNativeQuery.ResultType
-
Field Summary
Fields Modifier and Type Field Description protected intfirstResultprotected intmaxResultsprotected Map<String,Object>parametersprotected BaseNativeQuery.ResultTyperesultTypeprotected StringsqlStatement
-
Constructor Summary
Constructors Constructor Description BaseNativeQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>generateParameterMap()Map<String,Object>getParameters()Tparameter(String name, Object value)Tsql(String sqlStatement)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.query.NativeQuery
count, list, listPage, singleResult
-
-
-
-
Field Detail
-
maxResults
protected int maxResults
-
firstResult
protected int firstResult
-
resultType
protected BaseNativeQuery.ResultType resultType
-
sqlStatement
protected String sqlStatement
-
-
Method Detail
-
sql
public T sql(String sqlStatement)
- Specified by:
sqlin interfaceNativeQuery<T extends NativeQuery<?,?>,U>
-
parameter
public T parameter(String name, Object value)
- Specified by:
parameterin interfaceNativeQuery<T extends NativeQuery<?,?>,U>
-
-