Uses of Class
org.apache.cassandra.utils.bytecomparable.ByteSource.Peekable
-
Packages that use ByteSource.Peekable Package Description org.apache.cassandra.db org.apache.cassandra.db.marshal org.apache.cassandra.dht org.apache.cassandra.utils.bytecomparable -
-
Uses of ByteSource.Peekable in org.apache.cassandra.db
Methods in org.apache.cassandra.db with parameters of type ByteSource.Peekable Modifier and Type Method Description static byte[]
DecoratedKey. keyFromByteSource(ByteSource.Peekable peekableByteSource, ByteComparable.Version version, IPartitioner partitioner)
-
Uses of ByteSource.Peekable in org.apache.cassandra.db.marshal
-
Uses of ByteSource.Peekable in org.apache.cassandra.dht
Methods in org.apache.cassandra.dht with parameters of type ByteSource.Peekable Modifier and Type Method Description abstract Token
Token.TokenFactory. fromComparableBytes(ByteSource.Peekable comparableBytes, ByteComparable.Version version)
Translates the given byte-comparable representation to a token instance. -
Uses of ByteSource.Peekable in org.apache.cassandra.utils.bytecomparable
Methods in org.apache.cassandra.utils.bytecomparable that return ByteSource.Peekable Modifier and Type Method Description static ByteSource.Peekable
ByteSourceInverse. nextComponentSource(ByteSource.Peekable source)
A utility for consuming components from a peekable multi-component sequence.static ByteSource.Peekable
ByteSourceInverse. nextComponentSource(ByteSource.Peekable source, int separator)
A utility for consuming components from a peekable multi-component sequence, very similar toByteSourceInverse.nextComponentSource(ByteSource.Peekable)
- the difference being that here the separator can be passed in case it had to be consumed beforehand.static ByteSource.Peekable
ByteSource. peekable(ByteSource p)
Methods in org.apache.cassandra.utils.bytecomparable with parameters of type ByteSource.Peekable Modifier and Type Method Description static java.lang.String
ByteSourceInverse. getString(ByteSource.Peekable byteSource)
Converts the givenByteSource
to a UTF-8String
.static byte[]
ByteSourceInverse. getUnescapedBytes(ByteSource.Peekable byteSource)
Reads a single variable-length byte sequence (blob, string, ...) encoded according to the scheme described in ByteComparable.md, decoding it back to its original, unescaped form.static ByteSource.Peekable
ByteSourceInverse. nextComponentSource(ByteSource.Peekable source)
A utility for consuming components from a peekable multi-component sequence.static ByteSource.Peekable
ByteSourceInverse. nextComponentSource(ByteSource.Peekable source, int separator)
A utility for consuming components from a peekable multi-component sequence, very similar toByteSourceInverse.nextComponentSource(ByteSource.Peekable)
- the difference being that here the separator can be passed in case it had to be consumed beforehand.static ByteSource
ByteSourceInverse. unescape(ByteSource.Peekable byteSource)
As above, but converts the result to a ByteSource.
-