@Generated(value="org.jsonschema2pojo") public class ElasticsearchWriterConfiguration extends ElasticsearchConfiguration implements Serializable
Constructor and Description |
---|
ElasticsearchWriterConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Long |
getBatchBytes()
Number of bytes before flush
|
Long |
getBatchSize()
Item Count before flush
|
Boolean |
getBulk()
Index in large or small batches
|
Boolean |
getCleanupTags()
Whether to remove _percolator rules on shutdown
|
Boolean |
getForceUseConfig()
Whether or not we force the values that are set in the configuration
|
String |
getIndex()
Index to write to
|
Long |
getMaxTimeBetweenFlushMs()
Max time between flush (ms)
|
Boolean |
getRefresh()
Whether to refresh during cleanup
|
Boolean |
getReplaceTags()
Whether to overwrite _percolator rules on startup
|
String |
getScript()
Script to execute during index
|
Tags |
getTags()
Tags to apply during index
|
String |
getType()
Type to write as
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setBatchBytes(Long batchBytes)
Number of bytes before flush
|
void |
setBatchSize(Long batchSize)
Item Count before flush
|
void |
setBulk(Boolean bulk)
Index in large or small batches
|
void |
setCleanupTags(Boolean cleanupTags)
Whether to remove _percolator rules on shutdown
|
void |
setForceUseConfig(Boolean forceUseConfig)
Whether or not we force the values that are set in the configuration
|
void |
setIndex(String index)
Index to write to
|
void |
setMaxTimeBetweenFlushMs(Long maxTimeBetweenFlushMs)
Max time between flush (ms)
|
void |
setRefresh(Boolean refresh)
Whether to refresh during cleanup
|
void |
setReplaceTags(Boolean replaceTags)
Whether to overwrite _percolator rules on startup
|
void |
setScript(String script)
Script to execute during index
|
void |
setTags(Tags tags)
Tags to apply during index
|
void |
setType(String type)
Type to write as
|
String |
toString() |
ElasticsearchWriterConfiguration |
withAdditionalProperty(String name,
Object value) |
ElasticsearchWriterConfiguration |
withBatchBytes(Long batchBytes) |
ElasticsearchWriterConfiguration |
withBatchSize(Long batchSize) |
ElasticsearchWriterConfiguration |
withBulk(Boolean bulk) |
ElasticsearchWriterConfiguration |
withCleanupTags(Boolean cleanupTags) |
ElasticsearchWriterConfiguration |
withForceUseConfig(Boolean forceUseConfig) |
ElasticsearchWriterConfiguration |
withIndex(String index) |
ElasticsearchWriterConfiguration |
withMaxTimeBetweenFlushMs(Long maxTimeBetweenFlushMs) |
ElasticsearchWriterConfiguration |
withRefresh(Boolean refresh) |
ElasticsearchWriterConfiguration |
withReplaceTags(Boolean replaceTags) |
ElasticsearchWriterConfiguration |
withScript(String script) |
ElasticsearchWriterConfiguration |
withTags(Tags tags) |
ElasticsearchWriterConfiguration |
withType(String type) |
getClusterName, getHosts, getPort, setClusterName, setHosts, setPort, withClusterName, withHosts, withPort
@BeanProperty(value="index") public String getIndex()
@BeanProperty(value="index") public void setIndex(String index)
index
- The indexpublic ElasticsearchWriterConfiguration withIndex(String index)
@BeanProperty(value="type") public String getType()
@BeanProperty(value="type") public void setType(String type)
type
- The typepublic ElasticsearchWriterConfiguration withType(String type)
@BeanProperty(value="bulk") public Boolean getBulk()
@BeanProperty(value="bulk") public void setBulk(Boolean bulk)
bulk
- The bulkpublic ElasticsearchWriterConfiguration withBulk(Boolean bulk)
@BeanProperty(value="batchSize") public Long getBatchSize()
@BeanProperty(value="batchSize") public void setBatchSize(Long batchSize)
batchSize
- The batchSizepublic ElasticsearchWriterConfiguration withBatchSize(Long batchSize)
@BeanProperty(value="batchBytes") public Long getBatchBytes()
@BeanProperty(value="batchBytes") public void setBatchBytes(Long batchBytes)
batchBytes
- The batchBytespublic ElasticsearchWriterConfiguration withBatchBytes(Long batchBytes)
@BeanProperty(value="maxTimeBetweenFlushMs") public Long getMaxTimeBetweenFlushMs()
@BeanProperty(value="maxTimeBetweenFlushMs") public void setMaxTimeBetweenFlushMs(Long maxTimeBetweenFlushMs)
maxTimeBetweenFlushMs
- The maxTimeBetweenFlushMspublic ElasticsearchWriterConfiguration withMaxTimeBetweenFlushMs(Long maxTimeBetweenFlushMs)
@BeanProperty(value="script") public String getScript()
@BeanProperty(value="script") public void setScript(String script)
script
- The scriptpublic ElasticsearchWriterConfiguration withScript(String script)
@BeanProperty(value="tags") public Tags getTags()
@BeanProperty(value="tags") public void setTags(Tags tags)
tags
- The tagspublic ElasticsearchWriterConfiguration withTags(Tags tags)
@BeanProperty(value="replaceTags") public Boolean getReplaceTags()
@BeanProperty(value="replaceTags") public void setReplaceTags(Boolean replaceTags)
replaceTags
- The replaceTagspublic ElasticsearchWriterConfiguration withReplaceTags(Boolean replaceTags)
@BeanProperty(value="cleanupTags") public Boolean getCleanupTags()
@BeanProperty(value="cleanupTags") public void setCleanupTags(Boolean cleanupTags)
cleanupTags
- The cleanupTagspublic ElasticsearchWriterConfiguration withCleanupTags(Boolean cleanupTags)
@BeanProperty(value="forceUseConfig") public Boolean getForceUseConfig()
@BeanProperty(value="forceUseConfig") public void setForceUseConfig(Boolean forceUseConfig)
forceUseConfig
- The forceUseConfigpublic ElasticsearchWriterConfiguration withForceUseConfig(Boolean forceUseConfig)
@BeanProperty(value="refresh") public Boolean getRefresh()
@BeanProperty(value="refresh") public void setRefresh(Boolean refresh)
refresh
- The refreshpublic ElasticsearchWriterConfiguration withRefresh(Boolean refresh)
public String toString()
toString
in class ElasticsearchConfiguration
@BeanProperty(name="*") public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in class ElasticsearchConfiguration
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
setAdditionalProperty
in class ElasticsearchConfiguration
public ElasticsearchWriterConfiguration withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class ElasticsearchConfiguration
public int hashCode()
hashCode
in class ElasticsearchConfiguration
public boolean equals(Object other)
equals
in class ElasticsearchConfiguration
Copyright © 2018 The Apache Software Foundation. All rights reserved.