public class PropertiesSettings extends Settings
Modifier and Type | Field and Description |
---|---|
protected java.util.Properties |
props |
Constructor and Description |
---|
PropertiesSettings() |
PropertiesSettings(java.util.Properties props) |
Modifier and Type | Method and Description |
---|---|
java.util.Properties |
asProperties() |
Settings |
copy() |
java.lang.String |
getProperty(java.lang.String name) |
java.io.InputStream |
loadResource(java.lang.String location) |
static Settings |
readFrom(java.lang.String ser) |
void |
setProperty(java.lang.String name,
java.lang.String value) |
getBatchFlushManual, getBatchRefreshAfterWrite, getBatchSizeInBytes, getBatchSizeInEntries, getBatchWriteRetryCount, getBatchWriteRetryPolicy, getBatchWriteRetryWait, getDataFrameWriteNullValues, getExcludeSource, getHeartBeatLead, getHttpRetries, getHttpTimeout, getIndexAutoCreate, getIndexReadAllowRedStatus, getIndexReadMissingAsEmpty, getIngestPipeline, getInputAsJson, getInternalVersionOrLatest, getInternalVersionOrThrow, getMappingConstantAutoQuote, getMappingDateRich, getMappingDefaultClassExtractor, getMappingExcludes, getMappingId, getMappingIdExtractorClassName, getMappingIncludes, getMappingIndexExtractorClassName, getMappingIndexFormatterClassName, getMappingJoin, getMappingJoinExtractorClassName, getMappingParamsExtractorClassName, getMappingParent, getMappingParentExtractorClassName, getMappingRouting, getMappingRoutingExtractorClassName, getMappingTimestamp, getMappingTimestampExtractorClassName, getMappingTtl, getMappingTtlExtractorClassName, getMappingVersion, getMappingVersionExtractorClassName, getMappingVersionType, getMaxDocsPerPartition, getNetworkHttpAuthPass, getNetworkHttpAuthUser, getNetworkHttpsUseSystemProperties, getNetworkHttpUseSystemProperties, getNetworkProxyHttpHost, getNetworkProxyHttpPass, getNetworkProxyHttpPort, getNetworkProxyHttpsHost, getNetworkProxyHttpsPass, getNetworkProxyHttpsPort, getNetworkProxyHttpsUser, getNetworkProxyHttpUser, getNetworkProxySocksHost, getNetworkProxySocksPass, getNetworkProxySocksPort, getNetworkProxySocksUser, getNetworkSocksUseSystemProperties, getNetworkSSLAcceptSelfSignedCert, getNetworkSSLEnabled, getNetworkSSLKeyStoreLocation, getNetworkSSLKeyStorePass, getNetworkSSLKeyStoreType, getNetworkSSLProtocol, getNetworkSSLTrustStoreLocation, getNetworkSSLTrustStorePass, getNodes, getNodesClientOnly, getNodesDataOnly, getNodesDiscovery, getNodesIngestOnly, getNodesPathPrefix, getNodesResolveHostnames, getNodesWANOnly, getOperation, getOutputAsJson, getPort, getProperty, getQuery, getReadFieldAsArrayExclude, getReadFieldAsArrayInclude, getReadFieldEmptyAsNull, getReadFieldExclude, getReadFieldExistanceValidation, getReadFieldInclude, getReadMappingMissingFieldsIgnore, getReadMetadata, getReadMetadataField, getReadMetadataVersion, getReadSourceFilter, getResource, getResourceRead, getResourceWrite, getScrollFields, getScrollKeepAlive, getScrollLimit, getScrollSize, getSerializerBytesConverterClassName, getSerializerValueReaderClassName, getSerializerValueWriterClassName, getTransportPoolingExpirationTimeout, getUpdateRetryOnConflict, getUpdateScript, getUpdateScriptLang, getUpdateScriptParams, getUpdateScriptParamsJson, hasMappingVersionType, hasUpdateScript, hasUpdateScriptParams, hasUpdateScriptParamsJson, load, merge, merge, save, setHosts, setInternalVersion, setMaxDocsPerPartition, setNodes, setPort, setQuery, setResourceRead, setResourceWrite
public PropertiesSettings()
public PropertiesSettings(java.util.Properties props)
public java.lang.String getProperty(java.lang.String name)
getProperty
in class Settings
public void setProperty(java.lang.String name, java.lang.String value)
setProperty
in class Settings
public java.io.InputStream loadResource(java.lang.String location)
loadResource
in class Settings
public java.util.Properties asProperties()
asProperties
in class Settings
public static Settings readFrom(java.lang.String ser)