Package org.apache.iceberg.util
Class StructLikeMap<T>
- All Implemented Interfaces:
Map<StructLike,
T>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) static <T> StructLikeMap
<T> create
(Types.StructType type) entrySet()
boolean
isEmpty()
keySet()
put
(StructLike key, T value) int
size()
<U> StructLikeMap
<U> transformValues
(Function<T, U> func) values()
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
create
-
size
public int size()- Specified by:
size
in interfaceMap<StructLike,
T> - Overrides:
size
in classAbstractMap<StructLike,
T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceMap<StructLike,
T> - Overrides:
isEmpty
in classAbstractMap<StructLike,
T>
-
containsKey
- Specified by:
containsKey
in interfaceMap<StructLike,
T> - Overrides:
containsKey
in classAbstractMap<StructLike,
T>
-
containsValue
- Specified by:
containsValue
in interfaceMap<StructLike,
T> - Overrides:
containsValue
in classAbstractMap<StructLike,
T>
-
get
- Specified by:
get
in interfaceMap<StructLike,
T> - Overrides:
get
in classAbstractMap<StructLike,
T>
-
put
- Specified by:
put
in interfaceMap<StructLike,
T> - Overrides:
put
in classAbstractMap<StructLike,
T>
-
remove
- Specified by:
remove
in interfaceMap<StructLike,
T> - Overrides:
remove
in classAbstractMap<StructLike,
T>
-
clear
public void clear()- Specified by:
clear
in interfaceMap<StructLike,
T> - Overrides:
clear
in classAbstractMap<StructLike,
T>
-
keySet
- Specified by:
keySet
in interfaceMap<StructLike,
T> - Overrides:
keySet
in classAbstractMap<StructLike,
T>
-
values
- Specified by:
values
in interfaceMap<StructLike,
T> - Overrides:
values
in classAbstractMap<StructLike,
T>
-
entrySet
- Specified by:
entrySet
in interfaceMap<StructLike,
T> - Specified by:
entrySet
in classAbstractMap<StructLike,
T>
-
transformValues
-