- 関数インターフェース:
- これは関数インターフェースであるため、ラムダ式またはメソッド参照の割り当てターゲットとして使用できます。
Statement.setExecutionProfileName(String)
または Statement.setExecutionProfile(DriverExecutionProfile)
とともに使用される DriverExecutionProfile
のリゾルバー。
- 導入:
- 3.0
- 作成者:
- Mark Paluch
メソッドのサマリー
com.datastax.oss.driver.api.core.cql.Statement<?>
apply(com.datastax.oss.driver.api.core.cql.Statement<?> statement)
Statement
に基づいて実行プロファイルを適用します。
from(com.datastax.oss.driver.api.core.config.DriverExecutionProfile driverExecutionProfile)
メソッドの詳細
apply
com.datastax.oss.driver.api.core.cql.Statement<?> apply(com.datastax.oss.driver.api.core.cql.Statement<?> statement)
Statement
に基づいて実行プロファイルを適用します。
- パラメーター:
statement
- driver execution profile
をインスペクションして適用するステートメント。- 戻り値:
- プロファイルが適用されたステートメント。
from
static ExecutionProfileResolver from(com.datastax.oss.driver.api.core.config.DriverExecutionProfile driverExecutionProfile) - パラメーター:
driverExecutionProfile
- null であってはなりません。- 戻り値:
- 指定された
DriverExecutionProfile
を適用する ExecutionProfileResolver
。 - 関連事項:
Statement.setExecutionProfile(DriverExecutionProfile)
from
- パラメーター:
profileName
- null または空であってはなりません。- 戻り値:
- 指定された
profileName
を適用する ExecutionProfileResolver
。 - 関連事項:
Statement.setExecutionProfileName(String)