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() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Pair<K,V>> |
AutoSavingCache.CacheSerializer.deserialize(java.io.DataInputStream in,
ColumnFamilyStore cfs) |
Modifier and Type | Method and Description |
---|---|
Pair<java.lang.String,java.lang.String> |
Schema.getCF(java.util.UUID cfId) |
Modifier and Type | Method and Description |
---|---|
Pair<java.lang.String,java.lang.String> |
CqlParser.truncateStatement() |
Modifier and Type | Field and Description |
---|---|
java.util.List<Pair<Term.Raw,Term.Raw>> |
Maps.Literal.entries |
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<java.nio.ByteBuffer,Column>> |
UpdateParameters.getPrefetchedList(java.nio.ByteBuffer rowKey,
java.nio.ByteBuffer cql3ColumnName) |
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> |
CqlParser.updateCondition() |
Modifier and Type | Method and Description |
---|---|
void |
CqlParser.addRawUpdate(java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> operations,
ColumnIdentifier key,
Operation.RawUpdate update) |
void |
CqlParser.columnOperation(java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> operations) |
Constructor and Description |
---|
Maps.Literal(java.util.List<Pair<Term.Raw,Term.Raw>> entries) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<java.nio.ByteBuffer,Column>> |
ColumnGroupMap.getCollection(java.nio.ByteBuffer key) |
Constructor and Description |
---|
DeleteStatement.Parsed(CFName name,
Attributes.Raw attrs,
java.util.List<Operation.RawDeletion> deletions,
java.util.List<Relation> whereClause,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> conditions) |
ModificationStatement.Parsed(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> conditions,
boolean ifNotExists) |
UpdateStatement.ParsedUpdate(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> updates,
java.util.List<Relation> whereClause,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> conditions)
Creates a new UpdateStatement from a column family name, columns map, consistency
level, and key term.
|
UpdateStatement.ParsedUpdate(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> updates,
java.util.List<Relation> whereClause,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> conditions)
Creates a new UpdateStatement from a column family name, columns map, consistency
level, and key term.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.util.UUID,Pair<ReplayPosition,java.lang.Long>> |
SystemKeyspace.getTruncationRecords() |
static com.google.common.collect.SetMultimap<Pair<java.lang.String,java.lang.String>,java.lang.Integer> |
SystemKeyspace.getUnfinishedCompactions() |
Modifier and Type | Method and Description |
---|---|
Pair<? extends java.util.Collection<SSTableReader>,java.lang.Integer> |
LeveledManifest.getCompactionCandidates() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Pair<SSTableReader,java.lang.Long>> |
SizeTieredCompactionStrategy.createSSTableAndLengthPairs(java.lang.Iterable<SSTableReader> sstables) |
Modifier and Type | Method and Description |
---|---|
static void |
LeveledManifest.mutateLevel(Pair<SSTableMetadata,java.util.Set<java.lang.Integer>> oldMetadata,
Descriptor descriptor,
java.lang.String filename,
int level)
Scary method mutating existing sstable component
Tries to do it safely by moving the new file on top of the old one
Caller needs to reload the sstable metadata (sstableReader.reloadSSTableMetadata())
|
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<java.util.List<T>> |
SizeTieredCompactionStrategy.getBuckets(java.util.Collection<Pair<T,java.lang.Long>> files,
double bucketHigh,
double bucketLow,
long minSSTableSize) |
Modifier and Type | Method and Description |
---|---|
abstract java.nio.ByteBuffer |
CollectionType.serialize(java.util.List<Pair<java.nio.ByteBuffer,Column>> columns) |
java.nio.ByteBuffer |
ListType.serialize(java.util.List<Pair<java.nio.ByteBuffer,Column>> columns) |
java.nio.ByteBuffer |
MapType.serialize(java.util.List<Pair<java.nio.ByteBuffer,Column>> columns)
Creates the same output than serialize, but from the internal representation.
|
java.nio.ByteBuffer |
SetType.serialize(java.util.List<Pair<java.nio.ByteBuffer,Column>> columns) |
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) |
Modifier and Type | Method and Description |
---|---|
CompressionMetadata.Chunk[] |
CompressionMetadata.getChunksForSections(java.util.Collection<Pair<java.lang.Long,java.lang.Long>> sections) |
Modifier and Type | Method and Description |
---|---|
Pair<SSTableMetadata,java.util.Set<java.lang.Integer>> |
SSTableMetadata.SSTableMetadataSerializer.deserialize(java.io.DataInputStream in,
Descriptor desc) |
Pair<SSTableMetadata,java.util.Set<java.lang.Integer>> |
SSTableMetadata.SSTableMetadataSerializer.deserialize(java.io.DataInputStream in,
Descriptor desc,
boolean loadSSTableLevel) |
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.
|
Pair<SSTableMetadata,java.util.Set<java.lang.Integer>> |
SSTableMetadata.SSTableMetadataSerializer.deserialize(Descriptor descriptor,
boolean loadSSTableLevel) |
static Pair<Descriptor,Component> |
Component.fromFilename(java.io.File directory,
java.lang.String name)
Filename of the form "
|
static Pair<Descriptor,java.lang.String> |
Descriptor.fromFilename(java.io.File directory,
java.lang.String name)
Filename of the form "
|
static Pair<Descriptor,Component> |
SSTable.tryComponentFromFilename(java.io.File dir,
java.lang.String name) |
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Pair<Token,java.net.InetAddress>> |
TokenMetadata.getMovingEndpoints()
Endpoints which are migrating to the new tokens
|
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 keyspace and ranges after move to new token)
|
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 keyspaceName,
java.lang.String cfName,
Range<Token> range,
int keysPerSplit,
CFMetaData metadata) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<Pair<java.lang.Long,java.lang.Long>> |
StreamReader.sections |
java.util.List<Pair<java.lang.Long,java.lang.Long>> |
StreamSession.SSTableStreamingSections.sections |
protected java.util.Collection<Pair<java.lang.Long,java.lang.Long>> |
StreamWriter.sections |
Modifier and Type | Method and Description |
---|---|
void |
StreamTransferTask.addTransferFile(SSTableReader sstable,
long estimatedKeys,
java.util.List<Pair<java.lang.Long,java.lang.Long>> sections) |
Constructor and Description |
---|
StreamSession.SSTableStreamingSections(SSTableReader sstable,
java.util.List<Pair<java.lang.Long,java.lang.Long>> sections,
long estimatedKeys) |
StreamWriter(SSTableReader sstable,
java.util.Collection<Pair<java.lang.Long,java.lang.Long>> sections,
StreamSession session) |
Constructor and Description |
---|
CompressedStreamWriter(SSTableReader sstable,
java.util.Collection<Pair<java.lang.Long,java.lang.Long>> sections,
CompressionInfo compressionInfo,
StreamSession session) |
Modifier and Type | Field and Description |
---|---|
java.util.List<Pair<java.lang.Long,java.lang.Long>> |
FileMessageHeader.sections |
Constructor and Description |
---|
FileMessage(SSTableReader sstable,
int sequenceNumber,
long estimatedKeys,
java.util.List<Pair<java.lang.Long,java.lang.Long>> sections) |
FileMessageHeader(java.util.UUID cfId,
int sequenceNumber,
java.lang.String version,
long estimatedKeys,
java.util.List<Pair<java.lang.Long,java.lang.Long>> sections,
CompressionInfo compressionInfo) |
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) |
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) |
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 and Description |
---|
ExpiringMap(long defaultExpiration,
com.google.common.base.Function<Pair<K,ExpiringMap.CacheableObject<V>>,?> postExpireHook) |
Copyright © 2013 The Apache Software Foundation