Uses of Interface org.apache.cassandra.dht.IPartitioner (apache-cassandra API)
Date: 2018-02-14

## Uses of Interface
org.apache.cassandra.dht.IPartitioner

- Packages that use IPartitioner
  Package | Description
  --- | ---
  org.apache.cassandra.config |
  org.apache.cassandra.db |
  org.apache.cassandra.db.marshal |
  org.apache.cassandra.dht |
  org.apache.cassandra.dht.tokenallocator |
  org.apache.cassandra.gms |
  org.apache.cassandra.hadoop |
  org.apache.cassandra.io.sstable |
  org.apache.cassandra.locator |
  org.apache.cassandra.net |
  org.apache.cassandra.repair.messages |
  org.apache.cassandra.service |
  org.apache.cassandra.utils |

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

    Fields in org.apache.cassandra.config declared as IPartitioner
    Modifier and Type | Field and Description
    --- | ---
    `IPartitioner` | CFMetaData.`partitioner`

    Methods in org.apache.cassandra.config that return IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `static IPartitioner` | DatabaseDescriptor.`getPartitioner()`
    `static IPartitioner` | DatabaseDescriptor.`setPartitionerUnsafe(IPartitioner newPartitioner)`

    Methods in org.apache.cassandra.config with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `CFMetaData` | CFMetaData.`copy(IPartitioner partitioner)`
    `static CFMetaData` | CFMetaData.`create(java.lang.String ksName, java.lang.String name, java.util.UUID cfId, boolean isDense, boolean isCompound, boolean isSuper, boolean isCounter, boolean isView, java.util.List<ColumnDefinition> columns, IPartitioner partitioner)`
    `static IPartitioner` | DatabaseDescriptor.`setPartitionerUnsafe(IPartitioner newPartitioner)`
    `CFMetaData.Builder` | CFMetaData.Builder.`withPartitioner(IPartitioner partitioner)`

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

    Methods in org.apache.cassandra.db that return IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `IPartitioner` | ColumnFamilyStore.`getPartitioner()`
    `IPartitioner` | DecoratedKey.`getPartitioner()`

    Methods in org.apache.cassandra.db with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `static DataRange` | DataRange.`allData(IPartitioner partitioner)` Creates a `DataRange` to query all data (over the whole ring).
    `static DataRange` | DataRange.`allData(IPartitioner partitioner, ClusteringIndexFilter filter)` Creates a `DataRange` to query all partitions of the ring using the provided clustering index filter.
    `static int` | DecoratedKey.`compareTo(IPartitioner partitioner, java.nio.ByteBuffer key, PartitionPosition position)`
    `PartitionPosition` | PartitionPosition.RowPositionSerializer.`deserialize(java.io.DataInput in, IPartitioner p, int version)`
    `static PartitionPosition` | PartitionPosition.ForKey.`get(java.nio.ByteBuffer key, IPartitioner p)`
    `static java.util.Set<Range<Token>>` | SystemKeyspace.`getAvailableRanges(java.lang.String keyspace, IPartitioner partitioner)`
    `static java.util.Map<java.net.InetAddress,java.util.Set<Range<Token>>>` | SystemKeyspace.`getTransferredRanges(java.lang.String description, java.lang.String keyspace, IPartitioner partitioner)`

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

    Constructors in org.apache.cassandra.db.marshal with parameters of type IPartitioner
    Constructor and Description
    `PartitionerDefinedOrder(IPartitioner partitioner)`

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

    Classes in org.apache.cassandra.dht that implement IPartitioner
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ByteOrderedPartitioner`
    `class` | `LocalPartitioner`
    `class` | `Murmur3Partitioner` This class generates a BigIntegerToken using a Murmur3 hash.
    `class` | `OrderPreservingPartitioner`
    `class` | `RandomPartitioner` This class generates a BigIntegerToken using MD5 hash.

    Methods in org.apache.cassandra.dht that return IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `IPartitioner` | ByteOrderedPartitioner.BytesToken.`getPartitioner()`
    `IPartitioner` | LocalPartitioner.LocalToken.`getPartitioner()`
    `IPartitioner` | Murmur3Partitioner.LongToken.`getPartitioner()`
    `IPartitioner` | OrderPreservingPartitioner.StringToken.`getPartitioner()`
    `IPartitioner` | RandomPartitioner.BigIntegerToken.`getPartitioner()`
    `IPartitioner` | RingPosition.`getPartitioner()`
    `abstract IPartitioner` | Token.`getPartitioner()`
    `IPartitioner` | Token.KeyBound.`getPartitioner()`

    Methods in org.apache.cassandra.dht with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `AbstractBounds<T>` | AbstractBounds.AbstractBoundsSerializer.`deserialize(java.io.DataInput in, IPartitioner p, int version)`
    `T` | IPartitionerDependentSerializer.`deserialize(java.io.DataInput in, IPartitioner p, int version)` Deserialize into the specified DataInputStream instance.
    `Token` | Token.TokenSerializer.`deserialize(java.io.DataInput in, IPartitioner p, int version)`
    `java.util.Set<Range<Token>>` | StreamStateStore.`getAvailableRanges(java.lang.String keyspace, IPartitioner partitioner)`

    Constructors in org.apache.cassandra.dht with parameters of type IPartitioner
    Constructor and Description
    `Splitter(IPartitioner partitioner)`

  - ### Uses of IPartitioner in org.apache.cassandra.dht.tokenallocator

    Methods in org.apache.cassandra.dht.tokenallocator with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `static TokenAllocator<java.net.InetAddress>` | TokenAllocatorFactory.`createTokenAllocator(java.util.NavigableMap<Token,java.net.InetAddress> sortedTokens, org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<java.net.InetAddress> strategy, IPartitioner partitioner)`

    Constructors in org.apache.cassandra.dht.tokenallocator with parameters of type IPartitioner
    Constructor and Description
    `NoReplicationTokenAllocator(java.util.NavigableMap<Token,Unit> sortedTokens, org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<Unit> strategy, IPartitioner partitioner)`
    `TokenAllocatorBase(java.util.NavigableMap<Token,Unit> sortedTokens, org.apache.cassandra.dht.tokenallocator.ReplicationStrategy<Unit> strategy, IPartitioner partitioner)`

  - ### Uses of IPartitioner in org.apache.cassandra.gms

    Methods in org.apache.cassandra.gms with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Collection<Token>` | TokenSerializer.`deserialize(IPartitioner partitioner, java.io.DataInput in)`
    `static void` | TokenSerializer.`serialize(IPartitioner partitioner, java.util.Collection<Token> tokens, java.io.DataOutput out)`

    Constructors in org.apache.cassandra.gms with parameters of type IPartitioner
    Constructor and Description
    `VersionedValueFactory(IPartitioner partitioner)`

  - ### Uses of IPartitioner in org.apache.cassandra.hadoop

    Methods in org.apache.cassandra.hadoop that return IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `static IPartitioner` | ConfigHelper.`getInputPartitioner(org.apache.hadoop.conf.Configuration conf)`
    `static IPartitioner` | ConfigHelper.`getOutputPartitioner(org.apache.hadoop.conf.Configuration conf)`

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

    Methods in org.apache.cassandra.io.sstable that return IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `IPartitioner` | SSTable.`getPartitioner()`

    Methods in org.apache.cassandra.io.sstable with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `IndexSummary` | IndexSummaryBuilder.`build(IPartitioner partitioner)`
    `IndexSummary` | IndexSummaryBuilder.`build(IPartitioner partitioner, IndexSummaryBuilder.ReadableBoundary boundary)`
    `IndexSummary` | IndexSummary.IndexSummarySerializer.`deserialize(java.io.DataInputStream in, IPartitioner partitioner, boolean haveSamplingLevel, int expectedMinIndexInterval, int maxIndexInterval)`
    `Pair<DecoratedKey,DecoratedKey>` | IndexSummary.IndexSummarySerializer.`deserializeFirstLastKey(java.io.DataInputStream in, IPartitioner partitioner, boolean haveSamplingLevel)` Deserializes the first and last key stored in the summary Only for use by offline tools like SSTableMetadataViewer, otherwise SSTable.first/last should be used.
    `static IndexSummary` | IndexSummaryBuilder.`downsample(IndexSummary existing, int newSamplingLevel, int minIndexInterval, IPartitioner partitioner)` Downsamples an existing index summary to a new sampling level.
    `CQLSSTableWriter.Builder` | CQLSSTableWriter.Builder.`withPartitioner(IPartitioner partitioner)` The partitioner to use.

    Constructors in org.apache.cassandra.io.sstable with parameters of type IPartitioner
    Constructor and Description
    `IndexSummary(IPartitioner partitioner, Memory offsets, int offsetCount, Memory entries, long entriesLength, int sizeAtFullSampling, int minIndexInterval, int samplingLevel)`

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

    Fields in org.apache.cassandra.locator declared as IPartitioner
    Modifier and Type | Field and Description
    --- | ---
    `IPartitioner` | TokenMetadata.`partitioner`

    Methods in org.apache.cassandra.locator with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `TokenMetadata` | TokenMetadata.`cloneWithNewPartitioner(IPartitioner newPartitioner)` To be used by tests only (via `StorageService.setPartitionerUnsafe(org.apache.cassandra.dht.IPartitioner)`).

  - ### Uses of IPartitioner in org.apache.cassandra.net

    Methods in org.apache.cassandra.net that return IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `static IPartitioner` | MessagingService.`globalPartitioner()`

  - ### Uses of IPartitioner in org.apache.cassandra.repair.messages

    Methods in org.apache.cassandra.repair.messages with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `static RepairOption` | RepairOption.`parse(java.util.Map<java.lang.String,java.lang.String> options, IPartitioner partitioner)` Construct RepairOptions object from given map of Strings.

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

    Methods in org.apache.cassandra.service that return IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `IPartitioner` | StorageService.`setPartitionerUnsafe(IPartitioner newPartitioner)`

    Methods in org.apache.cassandra.service with parameters of type IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `IPartitioner` | StorageService.`setPartitionerUnsafe(IPartitioner newPartitioner)`

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

    Methods in org.apache.cassandra.utils that return IPartitioner
    Modifier and Type | Method and Description
    --- | ---
    `static IPartitioner` | FBUtilities.`newPartitioner(Descriptor desc)` Create a new instance of a partitioner defined in an SSTable Descriptor
    `static IPartitioner` | FBUtilities.`newPartitioner(java.lang.String partitionerClassName)`
    `IPartitioner` | MerkleTree.`partitioner()`
    `IPartitioner` | MerkleTrees.`partitioner()` Get the partitioner in use.

    Constructors in org.apache.cassandra.utils with parameters of type IPartitioner
    Constructor and Description
    `MerkleTree(IPartitioner partitioner, Range<Token> range, byte hashdepth, long maxsize)`
    `MerkleTrees(IPartitioner partitioner)` Creates empty MerkleTrees object.

Copyright © 2018 The Apache Software Foundation