クラス R2dbc

java.lang.ObjectSE
org.springframework.integration.r2dbc.dsl.R2dbc

public final class R2dbc extends ObjectSE
R2DBC コンポーネント用の JavaDSL ファクトリクラス。
導入:
5.4
作成者:
Artem Bilan
  • メソッドの詳細

    • inboundChannelAdapter

      public static R2dbcMessageSourceSpec inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, StringSE query)
      提供された R2dbcEntityOperations およびクエリ文字列の R2dbcMessageSourceSpec のインスタンスを作成します。
      パラメーター:
      r2dbcEntityOperations - 使用する R2dbcEntityOperations
      query - 実行するクエリ。
      戻り値:
      スペック。
    • inboundChannelAdapter

      public static R2dbcMessageSourceSpec inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, FunctionSE<R2dbcMessageSource.SelectCreator,org.springframework.data.r2dbc.core.StatementMapper.SelectSpec> selectFunction)
      提供された R2dbcEntityOperations の R2dbcMessageSourceSpec のインスタンスを作成し、StatementMapper.SelectSpec インスタンスを作成するように機能します。
      パラメーター:
      r2dbcEntityOperations - 使用する R2dbcEntityOperations
      selectFunction - クエリの実行を評価する式。
      戻り値:
      スペック。
    • inboundChannelAdapter

      public static R2dbcMessageSourceSpec inboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations, Expression queryExpression)
      クエリ用に提供された R2dbcEntityOperations および SpEL 式の R2dbcMessageSourceSpec のインスタンスを作成します。
      パラメーター:
      r2dbcEntityOperations - 使用する R2dbcEntityOperations
      queryExpression - クエリの実行を評価する式。
      戻り値:
      スペック。
    • outboundChannelAdapter

      public static R2dbcMessageHandlerSpec outboundChannelAdapter(org.springframework.data.r2dbc.core.R2dbcEntityOperations r2dbcEntityOperations)
      提供された R2dbcEntityOperationsR2dbcMessageHandlerSpec のインスタンスを作成します。
      パラメーター:
      r2dbcEntityOperations - 使用する R2dbcEntityOperations
      戻り値:
      スペック。