|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Pair | |
|---|---|
| voldemort.client.protocol.admin | Classes that abstract admin based Voldemort requests. |
| voldemort.server | The Voldemort server. |
| voldemort.store | The Store interface is the primary interface for Voldemort. |
| voldemort.store.bdb | A storage engine that persists data in BDB JE. |
| voldemort.store.configuration | A storage engine to persist metadata on a server. |
| voldemort.store.memory | An in-memory storage engine that serves data out of a non-persistent map. |
| voldemort.store.metadata | Our in-memory metadata store on the server which is backed by the configuration files. |
| voldemort.store.mysql | A storage engine that persists data in a mysql instance. |
| voldemort.store.readonly | A storage engine that provides very efficient read-only access to large sorted files of data. |
| voldemort.store.readonly.chunk | Read-only store classes for understanding various format changes. |
| voldemort.store.serialized | A store implementation that handles serialization to bytes from rich objects. |
| voldemort.store.slop | A store implementation that falls back on storing values in additional nodes not in the preference list when nodes are unavailable. |
| voldemort.store.views | Classes related to Views and server side transforms |
| voldemort.utils | Basic helper functions. |
| Uses of Pair in voldemort.client.protocol.admin |
|---|
| Methods in voldemort.client.protocol.admin that return types with arguments of type Pair | |
|---|---|
java.util.Iterator<Pair<ByteArray,Versioned<byte[]>>> |
AdminClient.fetchEntries(int nodeId,
java.lang.String storeName,
java.util.HashMap<java.lang.Integer,java.util.List<java.lang.Integer>> replicaToPartitionList,
VoldemortFilter filter,
boolean fetchMasterEntries,
Cluster initialCluster,
long skipRecords)
Fetch key/value tuples belonging to this map of replica type to partition list |
java.util.Iterator<Pair<ByteArray,Versioned<byte[]>>> |
AdminClient.fetchEntries(int nodeId,
java.lang.String storeName,
java.util.List<java.lang.Integer> partitionList,
VoldemortFilter filter,
boolean fetchMasterEntries)
Legacy interface for fetching entries. |
java.util.Iterator<Pair<ByteArray,Versioned<byte[]>>> |
AdminClient.fetchEntries(int nodeId,
java.lang.String storeName,
java.util.List<java.lang.Integer> partitionList,
VoldemortFilter filter,
boolean fetchMasterEntries,
long skipRecords)
Legacy interface for fetching entries. |
| Method parameters in voldemort.client.protocol.admin with type arguments of type Pair | |
|---|---|
void |
AdminClient.updateEntries(int nodeId,
java.lang.String storeName,
java.util.Iterator<Pair<ByteArray,Versioned<byte[]>>> entryIterator,
VoldemortFilter filter)
Update a stream of key/value entries at the given node. |
| Uses of Pair in voldemort.server |
|---|
| Methods in voldemort.server that return types with arguments of type Pair | |
|---|---|
java.util.List<Pair<java.lang.Integer,Store<ByteArray,byte[],byte[]>>> |
StoreRepository.getAllNodeStores()
|
| Uses of Pair in voldemort.store |
|---|
| Methods in voldemort.store that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<K,Versioned<V>>> |
StorageEngine.entries()
Get an iterator over pairs of entries in the store. |
| Method parameters in voldemort.store with type arguments of type Pair | ||
|---|---|---|
static
|
StoreUtils.keys(ClosableIterator<Pair<K,V>> values)
|
|
| Uses of Pair in voldemort.store.bdb |
|---|
| Methods in voldemort.store.bdb that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<ByteArray,Versioned<byte[]>>> |
BdbStorageEngine.entries()
|
| Uses of Pair in voldemort.store.configuration |
|---|
| Methods in voldemort.store.configuration that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<java.lang.String,Versioned<java.lang.String>>> |
ConfigurationStorageEngine.entries()
|
| Uses of Pair in voldemort.store.memory |
|---|
| Methods in voldemort.store.memory that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<K,Versioned<V>>> |
InMemoryStorageEngine.entries()
|
| Uses of Pair in voldemort.store.metadata |
|---|
| Methods in voldemort.store.metadata that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<ByteArray,Versioned<byte[]>>> |
MetadataStore.entries()
|
| Uses of Pair in voldemort.store.mysql |
|---|
| Methods in voldemort.store.mysql that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<ByteArray,Versioned<byte[]>>> |
MysqlStorageEngine.entries()
|
| Uses of Pair in voldemort.store.readonly |
|---|
| Methods in voldemort.store.readonly that return Pair | |
|---|---|
static Pair<java.lang.Integer,java.lang.Integer> |
ReadOnlyUtils.getPartitionReplicaTuple(java.lang.String fileName)
Given a file name first checks whether it belongs to storage format v2 and then retieves the tuple of |
| Methods in voldemort.store.readonly that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<ByteArray,Versioned<byte[]>>> |
ReadOnlyStorageEngine.entries()
|
| Uses of Pair in voldemort.store.readonly.chunk |
|---|
| Methods in voldemort.store.readonly.chunk that return Pair | |
|---|---|
Pair<ByteArray,Versioned<byte[]>> |
ChunkedFileSet.ROEntriesIterator.next()
|
Pair<java.nio.ByteBuffer,java.nio.ByteBuffer> |
ChunkedFileSet.ROCollidedEntriesIterator.next()
|
| Uses of Pair in voldemort.store.serialized |
|---|
| Methods in voldemort.store.serialized that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<K,Versioned<V>>> |
SerializingStorageEngine.entries()
|
| Uses of Pair in voldemort.store.slop |
|---|
| Methods in voldemort.store.slop that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<ByteArray,Versioned<byte[]>>> |
SlopStorageEngine.entries()
|
| Uses of Pair in voldemort.store.views |
|---|
| Methods in voldemort.store.views that return types with arguments of type Pair | |
|---|---|
ClosableIterator<Pair<ByteArray,Versioned<byte[]>>> |
ViewStorageEngine.entries()
|
| Uses of Pair in voldemort.utils |
|---|
| Methods in voldemort.utils that return Pair | ||
|---|---|---|
static
|
Pair.create(F first,
S second)
Static factory method that, unlike the constructor, performs generic inference saving some typing. |
|
static Pair<Cluster,java.lang.Integer> |
RebalanceUtils.generateMinCluster(Cluster currentCluster,
Cluster targetCluster,
java.util.List<StoreDefinition> storeDefs)
Takes the current cluster metadata and target cluster metadata ( which contains all the nodes of current cluster + new nodes with empty partitions ), and generates a new cluster with some partitions moved to the new node |
|
| Methods in voldemort.utils that return types with arguments of type Pair | |
|---|---|
static java.util.Set<Pair<java.lang.Integer,java.lang.Integer>> |
RebalanceUtils.flattenPartitionTuples(java.util.HashMap<java.lang.Integer,java.util.List<java.lang.Integer>> replicaToPartitionList)
Given a map of replica_type to partition mapping gives back a set of tuples of [replica_type, partition] |
static java.util.Map<java.lang.Integer,java.util.Set<Pair<java.lang.Integer,java.lang.Integer>>> |
RebalanceUtils.getNodeIdToAllPartitions(Cluster cluster,
StoreDefinition storeDef,
boolean includePrimary)
For a particular cluster creates a mapping of node id to their corresponding list of [ replicaType, partition ] tuple |
static java.util.Map<java.lang.Integer,java.util.Set<Pair<java.lang.Integer,java.lang.Integer>>> |
RebalanceUtils.getStolenPartitionTuples(Cluster currentCluster,
Cluster targetCluster,
StoreDefinition storeDef)
Find all [replica_type, partition] tuples to be stolen |
| Method parameters in voldemort.utils with type arguments of type Pair | |
|---|---|
static void |
RebalanceUtils.combinePartitionTuples(java.util.Map<java.lang.Integer,java.util.Set<Pair<java.lang.Integer,java.lang.Integer>>> existingPartitionTuples,
java.util.Map<java.lang.Integer,java.util.Set<Pair<java.lang.Integer,java.lang.Integer>>> newPartitionTuples)
Given a mapping of existing node ids to their partition tuples and another new set of node ids to partition tuples, combines them together and puts it into the existing partition tuples |
static void |
RebalanceUtils.combinePartitionTuples(java.util.Map<java.lang.Integer,java.util.Set<Pair<java.lang.Integer,java.lang.Integer>>> existingPartitionTuples,
java.util.Map<java.lang.Integer,java.util.Set<Pair<java.lang.Integer,java.lang.Integer>>> newPartitionTuples)
Given a mapping of existing node ids to their partition tuples and another new set of node ids to partition tuples, combines them together and puts it into the existing partition tuples |
static java.util.HashMap<java.lang.Integer,java.util.List<java.lang.Integer>> |
RebalanceUtils.flattenPartitionTuples(java.util.Set<Pair<java.lang.Integer,java.lang.Integer>> partitionTuples)
Given a list of tuples of [replica_type, partition], flattens it and generates a map of replica_type to partition mapping |
static java.util.List<java.lang.Integer> |
RebalanceUtils.getPartitionsFromTuples(java.util.Set<Pair<java.lang.Integer,java.lang.Integer>> tuples)
Given a set of [ replica, partition ] tuples, flatten it to retrieve only the partitions |
static java.lang.String |
RebalanceUtils.printMap(java.util.Map<java.lang.Integer,java.util.Set<Pair<java.lang.Integer,java.lang.Integer>>> nodeIdToAllPartitions)
Returns a string representation of the cluster |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||