Package com.sap.cds.impl
Class LazyRowImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.ForwardingMap
com.google.common.collect.ForwardingMap.StandardEntrySet, com.google.common.collect.ForwardingMap.StandardKeySet, com.google.common.collect.ForwardingMap.StandardValues
Nested classes/interfaces inherited from interface com.sap.cds.CdsData
CdsData.Factory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
boolean
containsPath
(String path) delegate()
forRemoval
(boolean remove) <T> T
<T> T
getPathOrDefault
(String path, T defaultValue) boolean
boolean
isLoaded()
Returnstrue
if the query to load the data has been executed.static LazyRowImpl
lazyRow
(CdsDataStore dataStore, CqnSelect query) void
load()
Loads the data.loadData()
Loads the data.<T> T
<T> T
putPathIfAbsent
(String path, T value) ref()
<T> T
removePath
(String path) toJson()
toString()
Methods inherited from class com.google.common.collect.ForwardingMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sap.cds.CdsData
forRemoval, get
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
LazyRowImpl
-
-
Method Details
-
lazyRow
-
toJson
- Specified by:
toJson
in interfaceJSONizable
-
toString
- Overrides:
toString
in classcom.google.common.collect.ForwardingObject
-
delegate
-
as
-
load
public void load()Description copied from interface:Lazy
Loads the data. -
isLoaded
public boolean isLoaded()Description copied from interface:Lazy
Returnstrue
if the query to load the data has been executed. -
loadData
Description copied from interface:Lazy
Loads the data. -
ref
-
getPath
-
getPathOrDefault
- Specified by:
getPathOrDefault
in interfaceCdsData
-
putPath
-
putPathIfAbsent
- Specified by:
putPathIfAbsent
in interfaceCdsData
-
containsPath
- Specified by:
containsPath
in interfaceCdsData
-
removePath
- Specified by:
removePath
in interfaceCdsData
-
isForRemoval
public boolean isForRemoval()- Specified by:
isForRemoval
in interfaceCdsData
-
forRemoval
- Specified by:
forRemoval
in interfaceCdsData
-