T
- type of the object this mapper will producepublic interface QueryResultMapper<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
QueryResultMapper<T> |
forColumnMapping(Map<String,String> columnMapping)
Returns new instance of the mapper for given column mapping
|
String |
getName()
Returns unique name of this query result mapper implementation
|
Class<?> |
getType()
Returns type of the data produced by this mapper.
|
T |
map(Object result)
Based on raw data set returns mapped/transformed data.
|
static final String COLUMN_PROCESSINSTANCEID
static final String COLUMN_PROCESSID
static final String COLUMN_START
static final String COLUMN_END
static final String COLUMN_STATUS
static final String COLUMN_PARENTPROCESSINSTANCEID
static final String COLUMN_OUTCOME
static final String COLUMN_DURATION
static final String COLUMN_IDENTITY
static final String COLUMN_PROCESSVERSION
static final String COLUMN_PROCESSNAME
static final String COLUMN_CORRELATIONKEY
static final String COLUMN_EXTERNALID
static final String COLUMN_PROCESSINSTANCEDESCRIPTION
static final String COLUMN_VAR_NAME
static final String COLUMN_VAR_VALUE
static final String COLUMN_ACTIVATIONTIME
static final String COLUMN_ACTUALOWNER
static final String COLUMN_CREATEDBY
static final String COLUMN_CREATEDON
static final String COLUMN_DEPLOYMENTID
static final String COLUMN_DESCRIPTION
static final String COLUMN_DUEDATE
static final String COLUMN_NAME
static final String COLUMN_SUBJECT
static final String COLUMN_PARENTID
static final String COLUMN_PRIORITY
static final String COLUMN_TASK_PROCESSID
static final String COLUMN_TASK_PROCESSINSTANCEID
static final String COLUMN_TASK_STATUS
static final String COLUMN_TASKID
static final String COLUMN_WORKITEMID
static final String COLUMN_ORGANIZATIONAL_ENTITY
static final String COLUMN_TASK_VAR_NAME
static final String COLUMN_TASK_VAR_VALUE
static final String COLUMN_TASK_VAR_TYPE
static final String COLUMN_JOB_ID
static final String COLUMN_JOB_TIMESTAMP
static final String COLUMN_JOB_STATUS
static final String COLUMN_JOB_COMMANDNAME
static final String COLUMN_JOB_MESSAGE
static final String COLUMN_JOB_BUSINESSKEY
T map(Object result)
result
- raw data set in custom formatString getName()
Class<?> getType()
List<ProcessInstanceDesc> returned type should be ProcessInstanceDesc.class
QueryResultMapper<T> forColumnMapping(Map<String,String> columnMapping)
columnMapping
- provides column mapping (name to type) that can be
shipped to mapper for improved transformation - can be null (accepted types: string, long, integer, date, double)Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.