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