public class ConfigurableTypeInformationMapper extends ObjectSE implements TypeInformationMapper
MappingContext
を使用してセットアップすることも、String
SE エイリアスの Map
SE を型に手動でセットアップすることもできる TypeInformationMapper
実装。MappingContext
が使用されている場合、Map
SE はビルドされ、PersistentEntity
インスタンスの型エイリアス情報をインスペクションします。コンストラクターと説明 |
---|
ConfigurableTypeInformationMapper(MapSE<? extends ClassSE<?>,StringSE> sourceTypeMap) 指定された型マップの新しい ConfigurableTypeInformationMapper を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
Alias | createAliasFor(TypeInformation<?> type) 指定された TypeInformation に使用されるエイリアスを返します。 |
TypeInformation<?> | resolveTypeFrom(Alias alias) 指定されたエイリアスに使用される実際の TypeInformation を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ConfigurableTypeInformationMapper(MapSE<? extends ClassSE<?>,StringSE> sourceTypeMap)
ConfigurableTypeInformationMapper
を作成します。sourceTypeMap
- null であってはなりません。public Alias createAliasFor(TypeInformation<?> type)
TypeInformationMapper
TypeInformation
に使用されるエイリアスを返します。TypeInformationMapper
の createAliasFor
type
- null であってはなりません。@Nullable public TypeInformation<?> resolveTypeFrom(Alias alias)
TypeInformationMapper
TypeInformation
を返します。TypeInformationMapper
の resolveTypeFrom
alias
- null であってはなりません。Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.