Class ElasticSearchConfig
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<ElasticSearchParam.ParameterEnum,java.lang.String>
-
- org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchParam
-
- org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchConfig
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<ElasticSearchParam.ParameterEnum,java.lang.String>
public class ElasticSearchConfig extends ElasticSearchParam
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchParam
ElasticSearchParam.ParameterEnum
-
-
Constructor Summary
Constructors Constructor Description ElasticSearchConfig(org.apache.manifoldcf.core.interfaces.ConfigParams params)
Build a set of ElasticSearchParameters by reading ConfigParams.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
contextToConfig(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IPostParameters variableContext, org.apache.manifoldcf.core.interfaces.ConfigParams parameters)
java.lang.String
getContentAttributeName()
java.lang.String
getCreatedDateAttributeName()
java.lang.String
getElasticSearchConnectionTimeout()
java.lang.String
getElasticSearchSocketTimeout()
java.lang.String
getIndexingDateAttributeName()
java.lang.String
getIndexName()
java.lang.String
getIndexType()
java.lang.String
getMimeTypeAttributeName()
java.lang.String
getModifiedDateAttributeName()
java.lang.String
getPassword()
java.lang.String
getPipelineName()
java.lang.String
getServerLocation()
org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManager
getSSLKeystore()
java.lang.String
getUniqueIndexIdentifier()
java.lang.String
getUriAttributeName()
java.lang.Boolean
getUseIngestAttachment()
java.lang.Boolean
getUseMapperAttachments()
java.lang.String
getUserName()
-
Methods inherited from class org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchParam
buildMap
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getUniqueIndexIdentifier
public java.lang.String getUniqueIndexIdentifier()
- Returns:
- a unique identifier for one index on one ElasticSearch instance.
-
contextToConfig
public static final java.lang.String contextToConfig(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IPostParameters variableContext, org.apache.manifoldcf.core.interfaces.ConfigParams parameters) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getServerLocation
public final java.lang.String getServerLocation()
-
getUserName
public final java.lang.String getUserName()
-
getPassword
public final java.lang.String getPassword()
-
getSSLKeystore
public final org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManager getSSLKeystore() throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getElasticSearchSocketTimeout
public final java.lang.String getElasticSearchSocketTimeout()
-
getElasticSearchConnectionTimeout
public final java.lang.String getElasticSearchConnectionTimeout()
-
getIndexName
public final java.lang.String getIndexName()
-
getIndexType
public final java.lang.String getIndexType()
-
getUseIngestAttachment
public final java.lang.Boolean getUseIngestAttachment()
-
getUseMapperAttachments
public final java.lang.Boolean getUseMapperAttachments()
-
getPipelineName
public final java.lang.String getPipelineName()
-
getContentAttributeName
public final java.lang.String getContentAttributeName()
-
getUriAttributeName
public final java.lang.String getUriAttributeName()
-
getCreatedDateAttributeName
public final java.lang.String getCreatedDateAttributeName()
-
getModifiedDateAttributeName
public final java.lang.String getModifiedDateAttributeName()
-
getIndexingDateAttributeName
public final java.lang.String getIndexingDateAttributeName()
-
getMimeTypeAttributeName
public final java.lang.String getMimeTypeAttributeName()
-
-