クラス QueryMapper
java.lang.ObjectSE
org.springframework.data.r2dbc.query.QueryMapper
- 既知の直属サブクラス
UpdateMapper
マッピングメタデータとダイアレクト固有の変換を考慮して、
CriteriaDefinition オブジェクトと Sort オブジェクトをマップします。- 作成者:
- Mark Paluch, Roman Chigvintsev, Manousos Mathioudakis, Jens Schauder
ネストされたクラスの要約
ネストされたクラス修飾子と型クラス説明protected static classフィールドとそのメタ情報を表す値オブジェクト。protected static classマッピングメタデータでサポートされるQueryMapper.Fieldの拡張。コンストラクターの概要
コンストラクターコンストラクター説明QueryMapper(R2dbcDialect dialect, R2dbcConverter converter) 指定されたR2dbcConverterで新しいQueryMapperを作成します。方法の概要
修飾子と型メソッド説明protected ObjectSEconvertValue(ObjectSE value, TypeInformation<?> typeInformation) getBindValue(Parameter value) Parameterを変換する可能性があります。getMappedObject(Sort sort, RelationalPersistentEntity<?> entity) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。代替なし。getMappedObject(Expression expression, RelationalPersistentEntity<?> entity) Expressionオブジェクトをマップして、the type to readSE を使用してフィールド名マッピングを適用します。getMappedObject(BindMarkers markers, CriteriaDefinition criteria, Table table, RelationalPersistentEntity<?> entity) getMappedObject(BindMarkers markers, Criteria criteria, Table table, RelationalPersistentEntity<?> entity) 使用すべきではありません。1.1 以降。getMappedSort(Table table, Sort sort, RelationalPersistentEntity<?> entity) Sortオブジェクトをマップして、the type to readSE を使用してフィールド名マッピングを適用します。protected MappingContext<? extends RelationalPersistentEntity<?>,RelationalPersistentProperty> toSql(SqlIdentifier identifier) SQL 用にSqlIdentifierをレンダリングします。
コンストラクターの詳細
QueryMapper
指定されたR2dbcConverterで新しいQueryMapperを作成します。- パラメーター:
dialect-converter- null であってはなりません。
メソッドの詳細
toSql
SQL 用にSqlIdentifierをレンダリングします。結果の文字列には、引用符が含まれる場合があります。- パラメーター:
identifier- レンダリングされる識別子- 戻り値:
- 識別子文字列。
- 導入:
- 1.1
getMappedObject
@DeprecatedSE(since="3.2", forRemoval=true) public Sort getMappedObject(Sort sort, @Nullable RelationalPersistentEntity<?> entity) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。代替なし。Sortオブジェクトをマップして、the type to readSE を使用してフィールド名マッピングを適用します。- パラメーター:
sort- null であってはなりません。entity- 関連するRelationalPersistentEntityは、null にすることができます。- 戻り値:
getMappedSort
public ListSE<OrderByField> getMappedSort(Table table, Sort sort, @Nullable RelationalPersistentEntity<?> entity) Sortオブジェクトをマップして、the type to readSE を使用してフィールド名マッピングを適用します。- パラメーター:
sort- null であってはなりません。entity- 関連するRelationalPersistentEntityは、null にすることができます。- 戻り値:
- 導入:
- 1.1
getMappedObject
public Expression getMappedObject(Expression expression, @Nullable RelationalPersistentEntity<?> entity) Expressionオブジェクトをマップして、the type to readSE を使用してフィールド名マッピングを適用します。- パラメーター:
expression- null であってはなりません。entity- 関連するRelationalPersistentEntityは、null にすることができます。- 戻り値:
- マップされた
Expression - 導入:
- 1.1
getMappedObject
public BoundCondition getMappedObject(BindMarkers markers, CriteriaDefinition criteria, Table table, @Nullable RelationalPersistentEntity<?> entity) - パラメーター:
markers- バインドマーカーオブジェクト。null にすることはできません。criteria- マップする条件定義。null であってはなりません。table- null であってはなりません。entity- 関連するRelationalPersistentEntityは、null にすることができます。- 戻り値:
- マップされた
BoundCondition - 導入:
- 1.1
getMappedObject
@DeprecatedSE public BoundCondition getMappedObject(BindMarkers markers, Criteria criteria, Table table, @Nullable RelationalPersistentEntity<?> entity) 使用すべきではありません。1.1 以降。- パラメーター:
markers- バインドマーカーオブジェクト。null にすることはできません。criteria- マップする条件定義。null であってはなりません。table- null であってはなりません。entity- 関連するRelationalPersistentEntityは、null にすることができます。- 戻り値:
- マップされた
BoundCondition
getBindValue
Parameterを変換する可能性があります。- パラメーター:
value-- 戻り値:
- 導入:
- 1.2
convertValue
@Nullable protected ObjectSE convertValue(@Nullable ObjectSE value, TypeInformation<?> typeInformation) getMappingContext
protected MappingContext<? extends RelationalPersistentEntity<?>,RelationalPersistentProperty> getMappingContext()