## Uses of Class
org.apache.cassandra.utils.Pair

- Packages that use Pair
  Package | Description
  --- | ---
  org.apache.cassandra.cache |
  org.apache.cassandra.config |
  org.apache.cassandra.cql3 |
  org.apache.cassandra.cql3.statements |
  org.apache.cassandra.db |
  org.apache.cassandra.db.marshal |
  org.apache.cassandra.dht |
  org.apache.cassandra.io.compress |
  org.apache.cassandra.io.sstable |
  org.apache.cassandra.locator |
  org.apache.cassandra.service |
  org.apache.cassandra.streaming |
  org.apache.cassandra.transport |
  org.apache.cassandra.utils |

- - ### Uses of Pair in org.apache.cassandra.cache

    Methods in org.apache.cassandra.cache that return Pair
    Modifier and Type | Method and Description
    --- | ---
    `Pair<java.lang.String,java.lang.String>` | CacheKey.`getPathInfo()`
    `Pair<java.lang.String,java.lang.String>` | KeyCacheKey.`getPathInfo()`
    `Pair<java.lang.String,java.lang.String>` | RowCacheKey.`getPathInfo()`

    Methods in org.apache.cassandra.cache that return types with arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `java.util.concurrent.Future<Pair<K,V>>` | AutoSavingCache.CacheSerializer.`deserialize(java.io.DataInputStream in, ColumnFamilyStore cfs)`

  - ### Uses of Pair in org.apache.cassandra.config

    Methods in org.apache.cassandra.config that return Pair
    Modifier and Type | Method and Description
    --- | ---
    `Pair<java.lang.String,java.lang.String>` | Schema.`getCF(java.util.UUID cfId)`

  - ### Uses of Pair in org.apache.cassandra.cql3

    Fields in org.apache.cassandra.cql3 with type parameters of type Pair
    Modifier and Type | Field and Description
    --- | ---
    `java.util.List<Pair<Term.Raw,Term.Raw>>` | Maps.Literal.`entries`

    Methods in org.apache.cassandra.cql3 that return types with arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<Pair<java.nio.ByteBuffer,IColumn>>` | UpdateParameters.`getPrefetchedList(java.nio.ByteBuffer rowKey, java.nio.ByteBuffer cql3ColumnName)`

    Constructor parameters in org.apache.cassandra.cql3 with type arguments of type Pair
    Constructor and Description
    `Maps.Literal(java.util.List<Pair<Term.Raw,Term.Raw>> entries)`

  - ### Uses of Pair in org.apache.cassandra.cql3.statements

    Methods in org.apache.cassandra.cql3.statements that return types with arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<Pair<java.nio.ByteBuffer,IColumn>>` | ColumnGroupMap.`getCollection(java.nio.ByteBuffer key)`

    Constructor parameters in org.apache.cassandra.cql3.statements with type arguments of type Pair
    Constructor and Description
    `UpdateStatement(CFName name, java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> operations, java.util.List<Relation> whereClause, Attributes attrs)` Creates a new UpdateStatement from a column family name, columns map, consistency level, and key term.

  - ### Uses of Pair in org.apache.cassandra.db

    Methods in org.apache.cassandra.db that return types with arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Map<java.util.UUID,Pair<ReplayPosition,java.lang.Long>>` | SystemTable.`getTruncationRecords()`

  - ### Uses of Pair in org.apache.cassandra.db.marshal

    Methods in org.apache.cassandra.db.marshal that return types with arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `protected java.util.List<Pair<java.nio.ByteBuffer,IColumn>>` | CollectionType.`enforceLimit(java.util.List<Pair<java.nio.ByteBuffer,IColumn>> columns)`

    Method parameters in org.apache.cassandra.db.marshal with type arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `protected java.util.List<Pair<java.nio.ByteBuffer,IColumn>>` | CollectionType.`enforceLimit(java.util.List<Pair<java.nio.ByteBuffer,IColumn>> columns)`
    `abstract java.nio.ByteBuffer` | CollectionType.`serialize(java.util.List<Pair<java.nio.ByteBuffer,IColumn>> columns)`
    `java.nio.ByteBuffer` | ListType.`serialize(java.util.List<Pair<java.nio.ByteBuffer,IColumn>> columns)`
    `java.nio.ByteBuffer` | MapType.`serialize(java.util.List<Pair<java.nio.ByteBuffer,IColumn>> columns)` Creates the same output than decompose, but from the internal representation.
    `java.nio.ByteBuffer` | SetType.`serialize(java.util.List<Pair<java.nio.ByteBuffer,IColumn>> columns)`

  - ### Uses of Pair in org.apache.cassandra.dht

    Methods in org.apache.cassandra.dht that return Pair
    Modifier and Type | Method and Description
    --- | ---
    `abstract Pair<AbstractBounds<T>,AbstractBounds<T>>` | AbstractBounds.`split(T position)` Given token T and AbstractBounds ?L,R?, returns Pair(?L,T], (T,R?), where ? means that the same type of AbstractBounds is returned as the original.
    `Pair<AbstractBounds<T>,AbstractBounds<T>>` | Bounds.`split(T position)`
    `Pair<AbstractBounds<T>,AbstractBounds<T>>` | ExcludingBounds.`split(T position)`
    `Pair<AbstractBounds<T>,AbstractBounds<T>>` | IncludingExcludingBounds.`split(T position)`
    `Pair<AbstractBounds<T>,AbstractBounds<T>>` | Range.`split(T position)`

  - ### Uses of Pair in org.apache.cassandra.io.compress

    Method parameters in org.apache.cassandra.io.compress with type arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `CompressionMetadata.Chunk[]` | CompressionMetadata.`getChunksForSections(java.util.Collection<Pair<java.lang.Long,java.lang.Long>> sections)`

  - ### Uses of Pair in org.apache.cassandra.io.sstable

    Methods in org.apache.cassandra.io.sstable that return Pair
    Modifier and Type | Method and Description
    --- | ---
    `Pair<SSTableMetadata,java.util.Set<java.lang.Integer>>` | SSTableMetadata.SSTableMetadataSerializer.`deserialize(java.io.DataInputStream dis, Descriptor desc)`
    `Pair<SSTableMetadata,java.util.Set<java.lang.Integer>>` | SSTableMetadata.SSTableMetadataSerializer.`deserialize(Descriptor descriptor)` deserializes the metadata returns a pair containing the part of the metadata meant to be kept-in memory and the part that should not.
    `static Pair<Descriptor,Component>` | Component.`fromFilename(java.io.File directory, java.lang.String name)` Filename of the form "/-[tmp-][-]-",
    `static Pair<Descriptor,java.lang.String>` | Descriptor.`fromFilename(java.io.File directory, java.lang.String name)` Filename of the form "--[tmp-][-]-"
    `static Pair<Descriptor,Component>` | SSTable.`tryComponentFromFilename(java.io.File dir, java.lang.String name)`

    Methods in org.apache.cassandra.io.sstable that return types with arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<Pair<java.lang.Long,java.lang.Long>>` | SSTableReader.`getPositionsForRanges(java.util.Collection<Range<Token>> ranges)` Determine the minimal set of sections that can be extracted from this SSTable to cover the given ranges.

  - ### Uses of Pair in org.apache.cassandra.locator

    Methods in org.apache.cassandra.locator that return types with arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<Pair<Token,java.net.InetAddress>>` | TokenMetadata.`getMovingEndpoints()` Endpoints which are migrating to the new tokens

  - ### Uses of Pair in org.apache.cassandra.service

    Subclasses of Pair in org.apache.cassandra.service
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `AntiEntropyService.CFPair` A tuple of table and cf.

    Methods in org.apache.cassandra.service that return Pair
    Modifier and Type | Method and Description
    --- | ---
    `Pair<java.util.Set<Range<Token>>,java.util.Set<Range<Token>>>` | StorageService.`calculateStreamAndFetchRanges(java.util.Collection<Range<Token>> current, java.util.Collection<Range<Token>> updated)` Calculate pair of ranges to stream/fetch for given two range collections (current ranges for table and ranges after move to new token)

    Methods in org.apache.cassandra.service that return types with arguments of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `java.util.concurrent.Future<Pair<RowCacheKey,IRowCacheEntry>>` | CacheService.RowCacheSerializer.`deserialize(java.io.DataInputStream in, ColumnFamilyStore cfs)`
    `java.util.concurrent.Future<Pair<KeyCacheKey,RowIndexEntry>>` | CacheService.KeyCacheSerializer.`deserialize(java.io.DataInputStream input, ColumnFamilyStore cfs)`
    `java.util.List<Pair<Range<Token>,java.lang.Long>>` | StorageService.`getSplits(java.lang.String table, java.lang.String cfName, Range<Token> range, int keysPerSplit)`

  - ### Uses of Pair in org.apache.cassandra.streaming

    Fields in org.apache.cassandra.streaming with type parameters of type Pair
    Modifier and Type | Field and Description
    --- | ---
    `java.util.List<Pair<java.lang.Long,java.lang.Long>>` | PendingFile.`sections`

    Constructor parameters in org.apache.cassandra.streaming with type arguments of type Pair
    Constructor and Description
    `PendingFile(SSTableReader sstable, Descriptor desc, java.lang.String component, java.util.List<Pair<java.lang.Long,java.lang.Long>> sections, OperationType type)`
    `PendingFile(SSTableReader sstable, Descriptor desc, java.lang.String component, java.util.List<Pair<java.lang.Long,java.lang.Long>> sections, OperationType type, long estimatedKeys, CompressionInfo compressionInfo)`

  - ### Uses of Pair in org.apache.cassandra.transport

    Methods in org.apache.cassandra.transport that return Pair
    Modifier and Type | Method and Description
    --- | ---
    `Pair<T,java.lang.Object>` | OptionCodec.`decodeOne(org.jboss.netty.buffer.ChannelBuffer body)`
    `static Pair<DataType,java.lang.Object>` | DataType.`fromType(AbstractType type)`

    Methods in org.apache.cassandra.transport with parameters of type Pair
    Modifier and Type | Method and Description
    --- | ---
    `org.jboss.netty.buffer.ChannelBuffer` | OptionCodec.`encodeOne(Pair<T,java.lang.Object> option)`
    `int` | OptionCodec.`oneSerializedSize(Pair<T,java.lang.Object> option)`
    `static AbstractType` | DataType.`toType(Pair<DataType,java.lang.Object> entry)`

  - ### Uses of Pair in org.apache.cassandra.utils

    Methods in org.apache.cassandra.utils that return Pair
    Modifier and Type | Method and Description
    --- | ---
    `static <X,Y> Pair<X,Y>` | Pair.`create(X x, Y y)`
    `static Pair<java.math.BigInteger,java.lang.Boolean>` | FBUtilities.`midpoint(java.math.BigInteger left, java.math.BigInteger right, int sigbits)` Given two bit arrays represented as BigIntegers, containing the given number of significant bits, calculate a midpoint.

    Constructor parameters in org.apache.cassandra.utils with type arguments of type Pair
    Constructor and Description
    `ExpiringMap(long defaultExpiration, com.google.common.base.Function<Pair<K,ExpiringMap.CacheableObject<V>>,?> postExpireHook)`

Copyright © 2014 The Apache Software Foundation