Package com.flowable.indexing.impl
Class ObjectNodeIndexedDataObject
java.lang.Object
com.flowable.indexing.impl.ObjectNodeIndexedDataObject
- All Implemented Interfaces:
IndexedDataObject
-
Field Summary
-
Constructor Summary
ConstructorDescriptionObjectNodeIndexedDataObject
(String index, String id, com.fasterxml.jackson.databind.node.ObjectNode objectNode) ObjectNodeIndexedDataObject
(String index, String id, com.fasterxml.jackson.databind.node.ObjectNode objectNode, com.fasterxml.jackson.databind.node.ObjectNode scriptNode) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNode
getData()
The json data, represented asObjectNode
that will be indexed in the index.getId()
The id of this data object to be indexed.getIndex()
The index where the data will be indexed.com.fasterxml.jackson.databind.node.ObjectNode
Update script
-
Field Details
-
index
-
objectNode
protected com.fasterxml.jackson.databind.node.ObjectNode objectNode -
id
-
scriptNode
protected com.fasterxml.jackson.databind.node.ObjectNode scriptNode
-
-
Constructor Details
-
ObjectNodeIndexedDataObject
-
ObjectNodeIndexedDataObject
-
-
Method Details
-
getIndex
Description copied from interface:IndexedDataObject
The index where the data will be indexed.- Specified by:
getIndex
in interfaceIndexedDataObject
-
getId
Description copied from interface:IndexedDataObject
The id of this data object to be indexed. This id is used for indexing and retrieval by id, so make sure it is unique at least within the index it is used.- Specified by:
getId
in interfaceIndexedDataObject
- Returns:
- the id of this indexed data object, which must be unique within at least the index it is used
-
getData
public com.fasterxml.jackson.databind.node.ObjectNode getData()Description copied from interface:IndexedDataObject
The json data, represented asObjectNode
that will be indexed in the index.- Specified by:
getData
in interfaceIndexedDataObject
-
getScript
public com.fasterxml.jackson.databind.node.ObjectNode getScript()Description copied from interface:IndexedDataObject
Update script- Specified by:
getScript
in interfaceIndexedDataObject
-