Uses of Class
org.apache.cassandra.utils.bytecomparable.ByteComparable.Version
-
-
Uses of ByteComparable.Version in org.apache.cassandra.db
Fields in org.apache.cassandra.db with type parameters of type ByteComparable.Version Modifier and Type Field Description java.util.function.ToIntFunction<ByteComparable.Version>
ClusteringPrefix.Kind. asByteComparable
Methods in org.apache.cassandra.db with parameters of type ByteComparable.Version Modifier and Type Method Description int
ClusteringPrefix.Kind. asByteComparableValue(ByteComparable.Version version)
ByteSource
DecoratedKey. asComparableBytes(ByteComparable.Version version)
ByteSource
PartitionPosition. asComparableBytes(ByteComparable.Version version)
Produce a prefix-free byte-comparable representation of the key, i.e.static BufferDecoratedKey
BufferDecoratedKey. fromByteComparable(ByteComparable byteComparable, ByteComparable.Version version, IPartitioner partitioner)
A factory method that translates the given byte-comparable representation to aBufferDecoratedKey
instance.protected ByteSource
DecoratedKey. keyComparableBytes(ByteComparable.Version version)
protected ByteSource
NativeDecoratedKey. keyComparableBytes(ByteComparable.Version version)
static byte[]
DecoratedKey. keyFromByteSource(ByteSource.Peekable peekableByteSource, ByteComparable.Version version, IPartitioner partitioner)
-
Uses of ByteComparable.Version in org.apache.cassandra.db.marshal
-
Uses of ByteComparable.Version in org.apache.cassandra.db.memtable
Fields in org.apache.cassandra.db.memtable declared as ByteComparable.Version Modifier and Type Field Description static ByteComparable.Version
TrieMemtable. BYTE_COMPARABLE_VERSION
The byte-ordering conversion version to use for memtables. -
Uses of ByteComparable.Version in org.apache.cassandra.db.tries
Fields in org.apache.cassandra.db.tries declared as ByteComparable.Version Modifier and Type Field Description protected static ByteComparable.Version
Trie. BYTE_COMPARABLE_VERSION
-
Uses of ByteComparable.Version in org.apache.cassandra.dht
Methods in org.apache.cassandra.dht with parameters of type ByteComparable.Version Modifier and Type Method Description ByteSource
ByteOrderedPartitioner.BytesToken. asComparableBytes(ByteComparable.Version version)
ByteSource
LocalPartitioner.LocalToken. asComparableBytes(ByteComparable.Version version)
ByteSource
Murmur3Partitioner.LongToken. asComparableBytes(ByteComparable.Version version)
ByteSource
OrderPreservingPartitioner.StringToken. asComparableBytes(ByteComparable.Version version)
ByteSource
RandomPartitioner.BigIntegerToken. asComparableBytes(ByteComparable.Version version)
abstract ByteSource
Token. asComparableBytes(ByteComparable.Version version)
Produce a weakly prefix-free byte-comparable representation of the token, i.e.ByteSource
Token.KeyBound. asComparableBytes(ByteComparable.Version version)
ByteSource
Token.TokenFactory. asComparableBytes(Token token, ByteComparable.Version version)
Produce a byte-comparable representation of the token.abstract Token
Token.TokenFactory. fromComparableBytes(ByteSource.Peekable comparableBytes, ByteComparable.Version version)
Translates the given byte-comparable representation to a token instance. -
Uses of ByteComparable.Version in org.apache.cassandra.index.sai.utils
Methods in org.apache.cassandra.index.sai.utils with parameters of type ByteComparable.Version Modifier and Type Method Description ByteSource
IndexTermType. asComparableBytes(java.nio.ByteBuffer value, ByteComparable.Version version)
ByteSource
PrimaryKey. asComparableBytes(ByteComparable.Version version)
Returns thePrimaryKey
as aByteSource
byte comparable representation. -
Uses of ByteComparable.Version in org.apache.cassandra.io.tries
Fields in org.apache.cassandra.io.tries declared as ByteComparable.Version Modifier and Type Field Description static ByteComparable.Version
Walker. BYTE_COMPARABLE_VERSION
-
Uses of ByteComparable.Version in org.apache.cassandra.utils.bytecomparable
Methods in org.apache.cassandra.utils.bytecomparable that return ByteComparable.Version Modifier and Type Method Description static ByteComparable.Version
ByteComparable.Version. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ByteComparable.Version[]
ByteComparable.Version. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.cassandra.utils.bytecomparable with parameters of type ByteComparable.Version Modifier and Type Method Description ByteSource
ByteComparable. asComparableBytes(ByteComparable.Version version)
Returns a source that generates the byte-comparable representation of the value byte by byte.default java.lang.String
ByteComparable. byteComparableAsString(ByteComparable.Version version)
Construct a human-readable string from the byte-comparable representation.static int
ByteComparable. compare(ByteComparable bytes1, ByteComparable bytes2, ByteComparable.Version version)
Compare two byte-comparable values by their byte-comparable representation.static int
ByteComparable. diffPoint(ByteComparable bytes1, ByteComparable bytes2, ByteComparable.Version version)
Returns the length of the minimum prefix that differentiates the two given byte-comparable representations.static int
ByteComparable. length(ByteComparable src, ByteComparable.Version version)
Return the length of a byte comparable, not including the terminator byte.static ByteSource
ByteSource. of(byte[] buf, ByteComparable.Version version)
Encodes a byte array as a byte-comparable source that has 0s escaped and finishes in an escape.static ByteSource
ByteSource. of(java.lang.String s, ByteComparable.Version version)
static ByteSource
ByteSource. of(java.nio.ByteBuffer buf, ByteComparable.Version version)
Encodes a byte buffer as a byte-comparable source that has 0s escaped and finishes in an escape.static <V> ByteSource
ByteSource. of(ValueAccessor<V> accessor, V data, ByteComparable.Version version)
Encodes byte-accessible data as a byte-comparable source that has 0s escaped and finishes in an escaped state.static ByteSource
ByteSource. ofMemory(long address, int length, ByteComparable.Version version)
Encodes a memory range as a byte-comparable source that has 0s escaped and finishes in an escape.static ByteSource
ByteSource. withTerminatorMaybeLegacy(ByteComparable.Version version, int legacyTerminator, ByteSource... srcs)
-