クラス ReactiveChildTemplate< T は co.elastic.clients.transport.Transport を継承します , CLIENT は co.elastic.clients.ApiClient<T, CLIENT> を継承します。 >
java.lang.ObjectSE
org.springframework.data.elasticsearch.client.elc.ReactiveChildTemplate<T,CLIENT>
- 既知の直属サブクラス
ReactiveClusterTemplate, ReactiveIndicesTemplate
public class ReactiveChildTemplate<T extends co.elastic.clients.transport.Transport, CLIENT extends co.elastic.clients.ApiClient<T,CLIENT>>
extends ObjectSE
ReactiveElasticsearchClient の子クライアントの 1 つを使用するリアクティブテンプレートの基本クラス。- 導入:
- 4.4
- 作成者:
- Peter-Josef Meisch
ネストされたクラスの概要
ネストされたクラス修飾子と型クラス説明static interfaceReactiveChildTemplate.ClientCallback<CLIENT, RESULT extends Publisher<?>>クライアント上で直接操作するためにexecute(ClientCallback)で使用されるコールバックインターフェース。フィールド概要
フィールド修飾子と型フィールド説明protected final CLIENTprotected final ElasticsearchConverterprotected final ElasticsearchExceptionTranslatorprotected final org.springframework.data.elasticsearch.client.elc.RequestConverterprotected final org.springframework.data.elasticsearch.client.elc.ResponseConverterコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明<RESULT> Publisher<RESULT> execute(ReactiveChildTemplate.ClientCallback<CLIENT, Publisher<RESULT>> callback) クライアントとのコールバックを実行し、例外の変換を提供します。
フィールドの詳細
client
elasticsearchConverter
requestConverter
protected final org.springframework.data.elasticsearch.client.elc.RequestConverter requestConverterresponseConverter
protected final org.springframework.data.elasticsearch.client.elc.ResponseConverter responseConverterexceptionTranslator
コンストラクターの詳細
ReactiveChildTemplate
方法の詳細
execute
public <RESULT> Publisher<RESULT> execute(ReactiveChildTemplate.ClientCallback<CLIENT, Publisher<RESULT>> callback) クライアントとのコールバックを実行し、例外の変換を提供します。- 型パラメーター:
RESULT- コールバックから返される型- パラメーター:
callback- 実行するコールバック。null であってはなりません- 戻り値:
- コールバック結果