类 GemfireItemWriter<K,V>
- java.lang.Object
- org.springframework.batch.item.KeyValueItemWriter<K,V>
- org.springframework.batch.item.data.GemfireItemWriter<K,V>
- 所有已实现的接口:
ItemWriter<V>
,org.springframework.beans.factory.InitializingBean
- 直接已知子类:
SpELMappingGemfireItemWriter
public class GemfireItemWriter<K,V> extends KeyValueItemWriter<K,V>
AnItemWriter
that stores items in GemFire- 从以下版本开始:
- 2.2
- 作者:
- David Turanski
字段概要
从类继承的字段 org.springframework.batch.item.KeyValueItemWriter
delete, itemKeyMapper
构造器概要
构造器 构造器 说明 GemfireItemWriter()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected void
init()
afterPropertiesSet() hookvoid
setTemplate(org.springframework.data.gemfire.GemfireTemplate gemfireTemplate)
protected void
writeKeyValue(K key, V value)
Subclasses implement this method to write each item to key value store从类继承的方法 org.springframework.batch.item.KeyValueItemWriter
afterPropertiesSet, setDelete, setItemKeyMapper, write
构造器详细资料
GemfireItemWriter
public GemfireItemWriter()
方法详细资料
setTemplate
public void setTemplate(org.springframework.data.gemfire.GemfireTemplate gemfireTemplate)
- 参数:
gemfireTemplate
- theGemfireTemplate
to set
writeKeyValue
protected void writeKeyValue(K key, V value)
从类复制的说明:KeyValueItemWriter
Subclasses implement this method to write each item to key value store- 指定者:
writeKeyValue
在类中KeyValueItemWriter<K,V>
- 参数:
key
- the keyvalue
- the item
init
protected void init()
从类复制的说明:KeyValueItemWriter
afterPropertiesSet() hook- 指定者:
init
在类中KeyValueItemWriter<K,V>