Package io.pravega.client.tables.impl
Class HashTableIteratorItem<T>
- java.lang.Object
-
- io.pravega.client.tables.IteratorItem<T>
-
- io.pravega.client.tables.impl.HashTableIteratorItem<T>
-
- Type Parameters:
T- Iterator Item Type.
public class HashTableIteratorItem<T> extends IteratorItem<T>
IteratorItemimplementation for Hash Table Segments (used internally by Pravega to store metadata). Note: This class is kept in the Client for backward compatibility/historical reasons only. It should not be used withKeyValueTableinstances (use theIteratorItemwith that instead. The Controller uses this internally to perform iterations over its table segments. Eventually, this should be integrated into theTableSegmentImplclass when https://github.com/pravega/pravega/issues/4647 is implemented.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHashTableIteratorItem.StateIterator State.
-
Constructor Summary
Constructors Constructor Description HashTableIteratorItem(HashTableIteratorItem.State state, java.util.List<T> items)Creates a new instance of theHashTableIteratorItemclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)HashTableIteratorItem.StategetState()inthashCode()-
Methods inherited from class io.pravega.client.tables.IteratorItem
getItems, toString
-
-
-
-
Constructor Detail
-
HashTableIteratorItem
public HashTableIteratorItem(HashTableIteratorItem.State state, java.util.List<T> items)
Creates a new instance of theHashTableIteratorItemclass.- Parameters:
state- The IteratorHashTableIteratorItem.State.items- The List of Items that are contained in this instance.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classIteratorItem<T>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classIteratorItem<T>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIteratorItem<T>
-
getState
public HashTableIteratorItem.State getState()
-
-