クラス R2dbcMappingContext
java.lang.ObjectSE
org.springframework.data.mapping.context.AbstractMappingContext < RelationalPersistentEntity <?>、RelationalPersistentProperty >
org.springframework.data.relational.core.mapping.RelationalMappingContext
org.springframework.data.r2dbc.mapping.R2dbcMappingContext
- 実装されているすべてのインターフェース:
Aware、BeanFactoryAware、InitializingBean、ApplicationContextAware、ApplicationEventPublisherAware、EnvironmentAware、MappingContext<RelationalPersistentEntity<?>,RelationalPersistentProperty>
RelationalMappingContext への R2DBC 固有の拡張。- 作成者:
- Mark Paluch, Jens Schauder
コンストラクターの概要
コンストラクターコンストラクター説明新しいR2dbcMappingContextを作成します。R2dbcMappingContext(NamingStrategy namingStrategy) 指定されたNamingStrategyを使用して新しいR2dbcMappingContextを作成します。メソッドのサマリー
修飾子と型メソッド説明static R2dbcMappingContextplain identifiersを使用して新しいR2dbcMappingContextを作成します。static R2dbcMappingContextforPlainIdentifiers(NamingStrategy namingStrategy) static R2dbcMappingContextquoted identifiersを使用して新しいR2dbcMappingContextを作成します (デフォルトの動作)。static R2dbcMappingContextforQuotedIdentifiers(NamingStrategy namingStrategy) protected booleanshouldCreatePersistentEntityFor(org.springframework.data.core.TypeInformation<?> type) クラス org.springframework.data.relational.core.mapping.RelationalMappingContext から継承されたメソッド
applyDefaults, createPersistentEntity, createPersistentProperty, getAggregatePath, getAggregatePath, getNamingStrategy, getPersistentEntity, isForceQuote, isSingleQueryLoadingEnabled, setApplicationContext, setEnvironment, setForceQuote, setSingleQueryLoadingEnabled, setSqlIdentifierSanitizerクラス org.springframework.data.mapping.context.AbstractMappingContext から継承されたメソッド
addPersistentEntity, addPersistentEntity, afterPropertiesSet, doFindPersistentPropertyPaths, findPersistentPropertyPaths, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, getPersistentPropertyPath, hasPersistentEntityFor, initialize, setApplicationEventPublisher, setBeanFactory, setInitialEntitySet, setManagedTypes, setSimpleTypeHolder, setStrict, shouldCreatePropertiesクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.data.mapping.context.MappingContext から継承されたメソッド
getRequiredPersistentEntity, getRequiredPersistentEntity, getRequiredPersistentEntity
コンストラクターの詳細
R2dbcMappingContext
public R2dbcMappingContext()新しいR2dbcMappingContextを作成します。R2dbcMappingContext
指定されたNamingStrategyを使用して新しいR2dbcMappingContextを作成します。- パラメーター:
namingStrategy- null であってはなりません。
メソッドの詳細
forPlainIdentifiers
plain identifiersを使用して新しいR2dbcMappingContextを作成します。プレーンidentifiers(つまり、テーブル名と列名) は通常、大文字と小文字を区別しません (ただし、特定のデータベース設定では大文字と小文字の区別が強制される場合があります)。- 戻り値:
- プレーン識別子を使用する新しい
R2dbcMappingContext。 - 導入:
- 4.0
forPlainIdentifiers
plain identifiersと指定されたNamingStrategyを使用して新しいR2dbcMappingContextを作成します。プレーンidentifiers(つまり、テーブル名と列名) は通常、大文字と小文字を区別しません (ただし、特定のデータベース構成では大文字と小文字の区別が強制される場合があります)。- パラメーター:
namingStrategy- null であってはなりません。- 戻り値:
- プレーン識別子を使用する新しい
R2dbcMappingContext。 - 導入:
- 4.0
forQuotedIdentifiers
quoted identifiersを使用して新しいR2dbcMappingContextを作成します(デフォルトの動作)。引用符で囲まれたidentifiers(テーブル名と列名など)は通常、大文字と小文字が区別されます。- 戻り値:
- 引用符で囲まれた識別子を使用した新しい
R2dbcMappingContext。 - 導入:
- 4.0
forQuotedIdentifiers
quoted identifiers(デフォルトの動作)と指定されたNamingStrategyを使用して新しいR2dbcMappingContextを作成します。引用符で囲まれたidentifiers(つまり、テーブル名と列名)は通常、大文字と小文字が区別されます。- パラメーター:
namingStrategy- null であってはなりません。- 戻り値:
- 引用符で囲まれた識別子を使用した新しい
R2dbcMappingContext。 - 導入:
- 4.0
shouldCreatePersistentEntityFor
protected boolean shouldCreatePersistentEntityFor(org.springframework.data.core.TypeInformation<?> type)