package instances
Type Members
- class CachedStringSparkeyReader extends StringSparkeyReader
A wrapper around
SparkeyReader
that includes an in-memory Caffeine cache. - case class MockByteArrayEntry(k: Array[Byte], v: Array[Byte]) extends MockEntry[Array[Byte], Array[Byte]] with Product with Serializable
- case class MockByteArraySparkeyReader(data: Map[Array[Byte], Array[Byte]]) extends MockSparkeyReader with Product with Serializable
- trait MockEntry[K, V] extends Entry with Serializable
- trait MockSparkeyReader extends SparkeyReader with Serializable
- case class MockStringEntry(k: String, v: String) extends MockEntry[String, String] with Product with Serializable
- case class MockStringSparkeyReader(data: Map[String, String]) extends MockSparkeyReader with Product with Serializable
- class ShardedSparkeyReader extends SparkeyReader
A wrapper class around SparkeyReader that allows the reading of multiple Sparkey files, sharded by their keys (via MurmurHash3).
A wrapper class around SparkeyReader that allows the reading of multiple Sparkey files, sharded by their keys (via MurmurHash3). At most 32,768 Sparkey files are supported.
- class SparkeyMap[K, V] extends SparkeyMapBase[K, V]
Enhanced version of SparkeyReader that assumes the underlying Sparkey is encoded with the given Coders, providing a very similar interface to Map[K, V].
- trait SparkeyMapBase[K, V] extends Map[K, V]
- trait SparkeyReaderInstances extends AnyRef
- class SparkeySet[T] extends SparkeySetBase[T]
Enhanced version of
SparkeyReader
that assumes the underlying Sparkey is encoded with a given Coder, but contains no values (i.e.: only used as an on-disk HashSet). - trait SparkeySetBase[T] extends Set[T]
- class StringSparkeyReader extends SparkeyMapBase[String, String]
Enhanced version of
SparkeyReader
that mimics aMap
. - class TypedSparkeyReader[T] extends SparkeyMapBase[String, T]
A wrapper around
SparkeyReader
that includes both a decoder (to map from each byte array to a JVM type) and an optional in-memory cache.