Modifier and Type | Method and Description |
---|---|
static IPartitioner<?> |
DatabaseDescriptor.getPartitioner() |
Modifier and Type | Method and Description |
---|---|
static void |
DatabaseDescriptor.setPartitioner(IPartitioner<?> newPartitioner) |
Modifier and Type | Field and Description |
---|---|
IPartitioner |
ColumnFamilyStore.partitioner |
Modifier and Type | Method and Description |
---|---|
static ColumnFamilyStore |
ColumnFamilyStore.createColumnFamilyStore(Table table,
java.lang.String columnFamily,
IPartitioner partitioner,
CFMetaData metadata) |
static RowPosition |
RowPosition.forKey(java.nio.ByteBuffer key,
IPartitioner p) |
boolean |
DecoratedKey.isMinimum(IPartitioner partitioner) |
Constructor and Description |
---|
LocalByPartionerType(IPartitioner<T> partitioner) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractByteOrderedPartitioner |
class |
AbstractPartitioner<T extends Token> |
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.
|
Modifier and Type | Field and Description |
---|---|
protected IPartitioner |
AbstractBounds.partitioner |
Modifier and Type | Method and Description |
---|---|
boolean |
RingPosition.isMinimum(IPartitioner partitioner) |
boolean |
Token.isMinimum(IPartitioner partitioner) |
boolean |
Token.KeyBound.isMinimum(IPartitioner partitioner) |
static Bounds<RowPosition> |
Bounds.makeRowBounds(Token left,
Token right,
IPartitioner partitioner)
Compute a bounds of keys corresponding to a given bounds of token.
|
static Range<RowPosition> |
Range.makeRowRange(Token left,
Token right,
IPartitioner partitioner)
Compute a range of keys corresponding to a given range of token.
|
Token.KeyBound |
Token.maxKeyBound(IPartitioner partitioner) |
Token.KeyBound |
Token.minKeyBound(IPartitioner partitioner) |
Constructor and Description |
---|
AbstractBounds(T left,
T right,
IPartitioner partitioner) |
Range(T left,
T right,
IPartitioner partitioner) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Token> |
TokenSerializer.deserialize(IPartitioner partitioner,
java.io.DataInput dis) |
static void |
TokenSerializer.serialize(IPartitioner partitioner,
java.util.Collection<Token> tokens,
java.io.DataOutput dos) |
Constructor and Description |
---|
VersionedValue.VersionedValueFactory(IPartitioner partitioner) |
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) |
Modifier and Type | Field and Description |
---|---|
IPartitioner |
SSTable.partitioner |
Modifier and Type | Method and Description |
---|---|
IPartitioner |
SSTableLoader.Client.getPartitioner() |
Modifier and Type | Method and Description |
---|---|
IndexSummary |
IndexSummaryBuilder.build(IPartitioner partitioner) |
static DecoratedKey |
SSTableReader.decodeKey(IPartitioner p,
Descriptor d,
java.nio.ByteBuffer bytes)
Conditionally use the deprecated 'IPartitioner.convertFromDiskFormat' method.
|
IndexSummary |
IndexSummary.IndexSummarySerializer.deserialize(java.io.DataInput in,
IPartitioner partitioner) |
static SSTableReader |
SSTableReader.open(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner) |
static java.util.Collection<SSTableReader> |
SSTableReader.openAll(java.util.Set<java.util.Map.Entry<Descriptor,java.util.Set<Component>>> entries,
CFMetaData metadata,
IPartitioner partitioner) |
static SSTableReader |
SSTableReader.openForBatch(Descriptor descriptor,
java.util.Set<Component> components,
IPartitioner partitioner) |
protected void |
SSTableLoader.Client.setPartitioner(IPartitioner partitioner) |
Constructor and Description |
---|
AbstractSSTableSimpleWriter(java.io.File directory,
CFMetaData metadata,
IPartitioner partitioner) |
IndexSummary(IPartitioner partitioner,
byte[][] keys,
long[] positions) |
SSTable(Descriptor descriptor,
CFMetaData metadata,
IPartitioner partitioner) |
SSTable(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner) |
SSTableSimpleUnsortedWriter(java.io.File directory,
CFMetaData metadata,
IPartitioner partitioner,
long bufferSizeInMB) |
SSTableSimpleUnsortedWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator,
int bufferSizeInMB) |
SSTableSimpleUnsortedWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator,
int bufferSizeInMB,
CompressionParameters compressParameters)
Create a new buffering writer.
|
SSTableSimpleWriter(java.io.File directory,
CFMetaData metadata,
IPartitioner partitioner) |
SSTableSimpleWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator)
Create a new writer.
|
SSTableWriter(java.lang.String filename,
long keyCount,
CFMetaData metadata,
IPartitioner<?> partitioner,
SSTableMetadata.Collector sstableMetadataCollector) |
Modifier and Type | Method and Description |
---|---|
static IPartitioner |
StorageService.getPartitioner() |
Modifier and Type | Method and Description |
---|---|
static IPartitioner<?> |
Shuffle.getPartitioner(java.lang.String hostName,
int port,
boolean framed)
Return a partitioner instance for remote host.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Shuffle.createShuffleBatchInsert(java.util.Collection<java.lang.String> tokens,
IPartitioner<?> partitioner)
Create and return a CQL batch insert statement for a set of token relocations.
|
Modifier and Type | Method and Description |
---|---|
static IPartitioner |
FBUtilities.newPartitioner(java.lang.String partitionerClassName) |
IPartitioner |
MerkleTree.partitioner() |
Modifier and Type | Method and Description |
---|---|
void |
MerkleTree.partitioner(IPartitioner partitioner)
TODO: Find another way to use the local partitioner after serialization.
|
Constructor and Description |
---|
MerkleTree(IPartitioner partitioner,
Range<Token> range,
byte hashdepth,
long maxsize) |
Copyright © 2013 The Apache Software Foundation