public class FieldSetConverter
extends java.lang.Object
implements org.springframework.core.convert.converter.Converter<org.springframework.batch.item.file.transform.FieldSet,com.mongodb.DBObject>
FieldSet
world to Mongo's DBObject
. A field named id
will be mapped to Mongo's _id
.Constructor and Description |
---|
FieldSetConverter() |
Modifier and Type | Method and Description |
---|---|
com.mongodb.DBObject |
convert(org.springframework.batch.item.file.transform.FieldSet fieldSet) |