クラスの使用
org.springframework.batch.item.Chunk
Chunk を使用するパッケージ
パッケージ
説明
ジョブ、ステップ、構成、実行の抽象化をカバーする Spring Batch のコアドメインコンテキスト。
コアバッチリスナーインターフェースの一般的な実装。
アイテム指向アプローチのステップに関する特定の実装。
アイテム処理を非同期的に実行し、処理が完了したときに結果を書き込むためのコンポーネント。
リモートチャンキングのコンポーネント。
インフラストラクチャインターフェースとアイテムの問題に対する主な依存関係。
プレーンオールド Java オブジェクト用のアダプター。
AMQP 関連のバッチコンポーネント。
Spring Data 関連のリーダーおよびライター。
データベースベースのアイテムリーダーおよびライターのインフラストラクチャ実装。
io ファイルに関するインフラストラクチャの実装。
JMS ベースのリーダー / ライターおよび関連コンポーネント。
JSON 入力および出力のインフラストラクチャ実装。
Java Mail ベースのコンポーネント。
JavaMail 関連のコンポーネント。
内部サポートパッケージ
xml 入出力のインフラストラクチャ実装。
org.springframework.batch.core 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.core のメソッド修飾子と型メソッド説明default voidItemWriteListener.afterWrite(Chunk<? extends S> items) ItemWriter.write(Chunk)の後に呼び出されます。default voidItemWriteListener.beforeWrite(Chunk<? extends S> items) ItemWriter.write(Chunk)の前に呼び出されますdefault voidItemWriteListener.onWriteError(ExceptionSE exception, Chunk<? extends S> items) 書き込みの試行中にエラーが発生した場合に呼び出されます。org.springframework.batch.core.listener 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.core.listener のメソッド修飾子と型メソッド説明voidCompositeItemWriteListener.afterWrite(Chunk<? extends S> items) 登録されたリスナーを逆の順序で呼び出し、Orderedを実装するリスナーを考慮して優先順位を付けます。voidMulticasterBatchListener.afterWrite(Chunk<? extends S> items) voidCompositeItemWriteListener.beforeWrite(Chunk<? extends S> items) Orderedを実装するリスナーを考慮し、優先順位を付けて、登録されたリスナーを順番に呼び出します。voidMulticasterBatchListener.beforeWrite(Chunk<? extends S> items) voidCompositeItemWriteListener.onWriteError(ExceptionSE ex, Chunk<? extends S> items) 登録されたリスナーを逆の順序で呼び出し、Orderedを実装するリスナーを考慮して優先順位を付けます。voidMulticasterBatchListener.onWriteError(ExceptionSE ex, Chunk<? extends S> items) org.springframework.batch.core.step.item 内の Chunk 使用
修飾子と型メソッド説明FaultTolerantChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) SimpleChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) 入力の追加保存データに基づいて出力を調整するサブクラスの拡張ポイント。ChunkProvider.provide(StepContribution contribution) SimpleChunkProvider.provide(StepContribution contribution) FaultTolerantChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) SimpleChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) 型 Chunk のパラメーターを持つ org.springframework.batch.core.step.item のメソッド修飾子と型メソッド説明protected final voidSimpleChunkProcessor.doAfterWrite(Chunk<O> items) リスナーの after write メソッドを呼び出します。protected final voidSimpleChunkProcessor.doOnWriteError(ExceptionSE e, Chunk<O> items) リスナーの writerError メソッドを呼び出します。protected final void実際の書き込み呼び出しをリスナーコールバックで囲みます。FaultTolerantChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) SimpleChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) 入力の追加保存データに基づいて出力を調整するサブクラスの拡張ポイント。protected intFaultTolerantChunkProcessor.getFilterCount(Chunk<I> inputs, Chunk<O> outputs) protected intSimpleChunkProcessor.getFilterCount(Chunk<I> inputs, Chunk<O> outputs) フィルターカウントを計算するためのサブクラスの拡張ポイント。protected voidFaultTolerantChunkProcessor.initializeUserData(Chunk<I> inputs) protected voidSimpleChunkProcessor.initializeUserData(Chunk<I> inputs) 後でアカウンティングの目的で必要になった場合に備えて、サブクラスが入力内容を記憶できるようにするサブクラスの拡張ポイント。protected booleanFaultTolerantChunkProcessor.isComplete(Chunk<I> inputs) protected booleanSimpleChunkProcessor.isComplete(Chunk<I> inputs) 入力に追加データを保存するサブクラスの拡張ポイント。voidDefaultItemFailureHandler.onWriteError(ExceptionSE ex, Chunk<?> item) voidChunkProvider.postProcess(StepContribution contribution, Chunk<T> chunk) voidFaultTolerantChunkProvider.postProcess(StepContribution contribution, Chunk<I> chunk) voidSimpleChunkProvider.postProcess(StepContribution contribution, Chunk<I> chunk) voidChunkProcessor.process(StepContribution contribution, Chunk<I> chunk) final voidSimpleChunkProcessor.process(StepContribution contribution, Chunk<I> inputs) protected IFaultTolerantChunkProvider.read(StepContribution contribution, Chunk<I> chunk) protected ISimpleChunkProvider.read(StepContribution contribution, Chunk<I> chunk) SimpleChunkProvider.doRead()へのデリゲート。FaultTolerantChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) SimpleChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) protected voidprotected void単純な実装はSimpleChunkProcessor.doWrite(Chunk)メソッドに委譲し、コントリビューションの書き込みカウントをインクリメントします。protected voidSimpleChunkProcessor.writeItems(Chunk<O> items) org.springframework.batch.integration.async 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.integration.async のメソッド修飾子と型メソッド説明void渡されたFutureSE の処理では、NULL はデリゲートに渡されません。これは、NULL がAsyncItemProcessorの委譲されたItemProcessorによって除外されたと見なされるためです。org.springframework.batch.integration.chunk 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.integration.chunk のメソッド修飾子と型メソッド説明<T> ChunkRequest<T>ChunkMessageChannelItemWriter.LocalState.getRequest(Chunk<? extends T> items) void型 Chunk のパラメーターを持つ org.springframework.batch.integration.chunk のコンストラクター修飾子コンストラクター説明ChunkRequest(int sequence, Chunk<? extends T> items, long jobId, StepContribution stepContribution) org.springframework.batch.item 内の Chunk 使用
Chunk を返す org.springframework.batch.item のメソッド型 Chunk のパラメーターを持つ org.springframework.batch.item のメソッドorg.springframework.batch.item.adapter 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.adapter のメソッドorg.springframework.batch.item.amqp 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.amqp のメソッドorg.springframework.batch.item.avro 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.avro のメソッドorg.springframework.batch.item.data 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.data のメソッド修飾子と型メソッド説明protected voidテンプレートを介してストアへの実際の書き込みを実行します。protected void使用すべきではありません。テンプレートを使用して実際の書き込みを実行します。protected voidリポジトリへの実際の書き込みを実行します。voidトランザクションがアクティブな場合、コミットの直前に書き込まれるアイテムをバッファリングします。void使用すべきではありません。すべてのアイテムをデータストアに書き込みます。voidSpring Data リポジトリを介してすべてのアイテムをデータストアに書き込みます。org.springframework.batch.item.database 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.database のメソッド修飾子と型メソッド説明protected void非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。Hibernate の API を使用して実際の書き込み操作を実行してください。protected void実際の書き込み操作を実行してください。void非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。現在の休止状態セッションにないエンティティを保存または更新してから、休止状態セッションをフラッシュします。voidvoid永続コンテキストにまだない提供されたすべてのアイテムをマージしてから、エンティティマネージャーをフラッシュします。org.springframework.batch.item.file 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.file のメソッドorg.springframework.batch.item.jms 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.jms のメソッドorg.springframework.batch.item.json 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.json のメソッドorg.springframework.batch.item.mail 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.mail のメソッドorg.springframework.batch.item.mail.javamail 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.mail.javamail のメソッドorg.springframework.batch.item.support 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.support のメソッド修飾子と型メソッド説明protected abstract StringSEアイテムの文字列に「改行」が続く文字列を書きます。改行区切りの形式は、基礎となるオペレーティングシステムによって決定されます。void文字列とそれに続く「改行」を書き出します。改行区切りの形式は、基になるオペレーティングシステムによって決定されます。voidClassifierによる分類に従って、注入されたItemWriterインスタンスへのデリゲート。voidvoidvoidこのメソッドは、delegateのwriteメソッドに委譲します。voidこのメソッドはデリゲートのwriteメソッドに委譲され、ロックと同期されます。org.springframework.batch.item.xml 内の Chunk 使用
型 Chunk のパラメーターを持つ org.springframework.batch.item.xml のメソッド