Package com.flowable.indexing.config
Class CustomIndexConfiguration
java.lang.Object
com.flowable.indexing.config.CustomIndexConfiguration
A custom indexing configuration based on a list of types to be indexed within this index.
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected com.fasterxml.jackson.databind.JsonNode
protected String
protected Map<String,
IndexedField> protected IndexedDocumentTypeFilter
static final String
static final String
static final String
protected String
static final String
static final String
static final String
protected com.fasterxml.jackson.databind.node.ObjectNode
protected String
protected Map<String,
ConfigParameter> protected Map<String,
SortParameter> protected String
protected String
protected String
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
getKey()
com.fasterxml.jackson.databind.node.ObjectNode
getName()
getType()
int
boolean
void
initializeConfiguration
(IndexManager indexManager) Must be invoked after fully loading to be initialized.boolean
boolean
isIndex()
void
setCustomIndex
(String customIndex) void
setCustomIndexingFilter
(com.fasterxml.jackson.databind.JsonNode customIndexingFilter) void
setDescription
(String description) void
setFields
(Map<String, IndexedField> fields) void
setFilter
(IndexedDocumentTypeFilter filter) void
setIndexSettings
(Map<String, Object> indexSettings) void
void
setMappings
(com.fasterxml.jackson.databind.node.ObjectNode mappings) void
void
setParameters
(Map<String, ConfigParameter> parameters) void
setSortParameters
(Map<String, SortParameter> sortParameters) void
setSourceIndex
(String sourceIndex) void
setTemplateResource
(String templateResource) void
void
setVersion
(int version) void
-
Field Details
-
KEY_NUMBER_OF_SHARDS
- See Also:
-
KEY_NUMBER_OF_REPLICAS
- See Also:
-
KEY_REFRESH_INTERVAL
- See Also:
-
INDEX_TYPE_QUERY
- See Also:
-
INDEX_TYPE_ALIAS
- See Also:
-
INDEX_TYPE_DEFAULT
- See Also:
-
name
-
key
-
description
-
version
protected int version -
sourceIndex
-
customIndex
-
type
-
indexSettings
-
filter
-
fields
-
mappings
protected com.fasterxml.jackson.databind.node.ObjectNode mappings -
parameters
-
sortParameters
-
customIndexingFilter
protected com.fasterxml.jackson.databind.JsonNode customIndexingFilter -
templateResource
-
-
Constructor Details
-
CustomIndexConfiguration
public CustomIndexConfiguration()
-
-
Method Details
-
getName
-
setName
-
getKey
-
setKey
-
getDescription
-
setDescription
-
getCustomIndexingFilter
public com.fasterxml.jackson.databind.JsonNode getCustomIndexingFilter() -
setCustomIndexingFilter
public void setCustomIndexingFilter(com.fasterxml.jackson.databind.JsonNode customIndexingFilter) -
getTemplateResource
-
setTemplateResource
-
getType
-
setType
-
getParameters
-
setParameters
-
getSortParameters
-
setSortParameters
-
initializeConfiguration
Must be invoked after fully loading to be initialized. This method will also invoke the initialize method on all configured types and indexed fields. -
getPublicName
-
getIndexSettings
-
getVersion
public int getVersion() -
setVersion
public void setVersion(int version) -
setIndexSettings
-
hasIndexSettings
public boolean hasIndexSettings() -
getFilter
-
setFilter
-
setFields
-
isCustomAlias
public boolean isCustomAlias() -
isIndex
public boolean isIndex() -
getSourceIndex
-
setSourceIndex
-
getCustomIndex
-
setCustomIndex
-
getMappings
public com.fasterxml.jackson.databind.node.ObjectNode getMappings() -
setMappings
public void setMappings(com.fasterxml.jackson.databind.node.ObjectNode mappings) -
updateFields
public void updateFields() -
getFields
-