クラス RowDocument
java.lang.ObjectSE
org.springframework.data.relational.domain.RowDocument
表形式の構造をドキュメントとして表し、SQL 結果の階層トラバースを可能にします。
- 導入:
- 3.2
- 作成者:
- Mark Paluch
ネストされたクラスの要約
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明新しいエントリを追加します (またはkeyの既存の値を上書きします)。voidclear()compute(StringSE key, BiFunctionSE<? super StringSE, ? super ObjectSE, ?> remappingFunction) computeIfAbsent(StringSE key, FunctionSE<? super StringSE, ?> mappingFunction) computeIfPresent(StringSE key, BiFunctionSE<? super StringSE, ? super ObjectSE, ?> remappingFunction) booleancontainsKey(ObjectSE key) booleancontainsValue(ObjectSE value) entrySet()booleanvoidforEach(BiConsumerSE<? super StringSE, ? super ObjectSE> action) getDocument(StringSE key) keyの値をRowDocumentとして取得します。@Nullable ListSEkeyの値をListSE として取得します。keyの値をMapSE として取得します。getOrDefault(ObjectSE key, ObjectSE defaultValue) inthashCode()booleanisEmpty()keySet()merge(StringSE key, ObjectSE value, BiFunctionSE<? super ObjectSE, ? super ObjectSE, ?> remappingFunction) static RowDocumentフィールドと値から RowDocument を作成するファクトリメソッド。@Nullable ObjectSEvoid@Nullable ObjectSEputIfAbsent(StringSE key, ObjectSE value) boolean@Nullable ObjectSEbooleanvoidreplaceAll(BiFunctionSE<? super StringSE, ? super ObjectSE, ?> function) intsize()toString()values()
コンストラクターの詳細
RowDocument
public RowDocument()RowDocument
public RowDocument(int expectedSize) RowDocument
メソッドの詳細
of
フィールドと値から RowDocument を作成するファクトリメソッド。- パラメーター:
field- 使用するファイル名。value- 使用する値は null にすることもできます。- 戻り値:
getList
keyの値をListSE として取得します。- パラメーター:
key-- 戻り値:
- 値または null。
- 例外:
ClassCastExceptionSE-keyがListSE ではない値を保持している場合。
getMap
keyの値をMapSE として取得します。- パラメーター:
key-- 戻り値:
- 値または null。
- 例外:
ClassCastExceptionSE-keyがMapSE ではない値を保持している場合。
getDocument
keyの値をRowDocumentとして取得します。- パラメーター:
key-- 戻り値:
- 値または null。
- 例外:
ClassCastExceptionSE-keyがRowDocumentではない値を保持している場合。
size
public int size()isEmpty
public boolean isEmpty()containsKey
- 次で指定:
- インターフェース
MapSE<StringSE,のObjectSE> containsKeySE
containsValue
- 次で指定:
- インターフェース
MapSE<StringSE,のObjectSE> containsValueSE
get
put
append
新しいエントリを追加します (またはkeyの既存の値を上書きします)。- パラメーター:
key-value-- 戻り値:
remove
putAll
clear
public void clear()keySet
values
entrySet
equals
hashCode
public int hashCode()getOrDefault
- 次で指定:
- インターフェース
MapSE<StringSE,のObjectSE> getOrDefaultSE
forEach
replaceAll
- 次で指定:
- インターフェース
MapSE<StringSE,のObjectSE> replaceAllSE
putIfAbsent
- 次で指定:
- インターフェース
MapSE<StringSE,のObjectSE> putIfAbsentSE
remove
replace
replace
computeIfAbsent
- 次で指定:
- インターフェース
MapSE<StringSE,のObjectSE> computeIfAbsentSE
computeIfPresent
public ObjectSE computeIfPresent(StringSE key, BiFunctionSE<? super StringSE, ? super ObjectSE, ?> remappingFunction) - 次で指定:
- インターフェース
MapSE<StringSE,のObjectSE> computeIfPresentSE
compute
public ObjectSE compute(StringSE key, BiFunctionSE<? super StringSE, ? super ObjectSE, ?> remappingFunction) merge
toString