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>
IteratorItem
implementation 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 withKeyValueTable
instances (use theIteratorItem
with that instead. The Controller uses this internally to perform iterations over its table segments. Eventually, this should be integrated into theTableSegmentImpl
class when https://github.com/pravega/pravega/issues/4647 is implemented.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HashTableIteratorItem.State
Iterator State.
-
Constructor Summary
Constructors Constructor Description HashTableIteratorItem(HashTableIteratorItem.State state, java.util.List<T> items)
Creates a new instance of theHashTableIteratorItem
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
HashTableIteratorItem.State
getState()
int
hashCode()
-
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 theHashTableIteratorItem
class.- 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:
equals
in classIteratorItem<T>
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqual
in classIteratorItem<T>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIteratorItem<T>
-
getState
public HashTableIteratorItem.State getState()
-
-