public class AvroItemWriterBuilder<T>
extends java.lang.Object
AvroItemWriter
のビルダー実装。コンストラクターと説明 |
---|
AvroItemWriterBuilder() |
修飾子と型 | メソッドと説明 |
---|---|
AvroItemWriter<T> | build() AvroItemWriter のインスタンスをビルドします。 |
AvroItemWriterBuilder<T> | name(java.lang.String name) ExecutionContext 内でキーを計算するために使用される名前。 |
AvroItemWriterBuilder<T> | resource(org.springframework.core.io.WritableResource resource) |
AvroItemWriterBuilder<T> | schema(org.springframework.core.io.Resource schema) |
AvroItemWriterBuilder<T> | schema(java.lang.String schemaString) |
AvroItemWriterBuilder<T> | type(java.lang.Class<T> type) |
public AvroItemWriterBuilder<T> resource(org.springframework.core.io.WritableResource resource)
resource
- 直列化されたデータの書き込みに使用される WritableResource
public AvroItemWriterBuilder<T> schema(org.springframework.core.io.Resource schema)
schema
- 出力の直列化に使用されるスキーマ JSON を含むリソース。public AvroItemWriterBuilder<T> schema(java.lang.String schemaString)
schemaString
- 出力の直列化に使用されるスキーマ JSON を含む文字列。public AvroItemWriterBuilder<T> type(java.lang.Class<T> type)
type
- 直列化されるオブジェクトのクラス。public AvroItemWriterBuilder<T> name(java.lang.String name)
ExecutionContext
内でキーを計算するために使用される名前。name
- リーダーインスタンスの名前 ItemStreamSupport.setName(String)
public AvroItemWriter<T> build()
AvroItemWriter
のインスタンスをビルドします。