| Package | Description |
|---|---|
| io.kareldb.kafka.serialization | |
| io.kareldb.schema | |
| io.kareldb.transaction.client | |
| io.kareldb.version |
| Modifier and Type | Method and Description |
|---|---|
NavigableMap<Long,VersionedValue> |
KafkaValueDeserializer.deserialize(String topic,
byte[] payload) |
org.apache.kafka.common.serialization.Deserializer<NavigableMap<Long,VersionedValue>> |
KafkaValueSerde.deserializer() |
org.apache.kafka.common.serialization.Serializer<NavigableMap<Long,VersionedValue>> |
KafkaValueSerde.serializer() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
KafkaValueSerializer.serialize(String topic,
NavigableMap<Long,VersionedValue> object) |
| Modifier and Type | Method and Description |
|---|---|
Object |
Table.toRow(io.kcache.KeyValue<Comparable[],VersionedValue> entry) |
| Modifier and Type | Method and Description |
|---|---|
io.kcache.KeyValueIterator<Comparable[],List<VersionedValue>> |
SnapshotFilter.all(KarelDbTransaction transaction) |
io.kcache.KeyValueIterator<Comparable[],List<VersionedValue>> |
SnapshotFilterImpl.all(KarelDbTransaction transaction) |
List<VersionedValue> |
SnapshotFilterImpl.filterCellsForSnapshot(KarelDbTransaction transaction,
Comparable[] key,
List<VersionedValue> rawCells)
Filters the raw results and returns only those belonging to the current snapshot, as defined
by the transaction object.
|
List<VersionedValue> |
SnapshotFilter.get(KarelDbTransaction transaction,
Comparable[] key) |
List<VersionedValue> |
SnapshotFilterImpl.get(KarelDbTransaction transaction,
Comparable[] key) |
io.kcache.KeyValueIterator<Comparable[],List<VersionedValue>> |
SnapshotFilter.range(KarelDbTransaction transaction,
Comparable[] from,
boolean fromInclusive,
Comparable[] to,
boolean toInclusive) |
io.kcache.KeyValueIterator<Comparable[],List<VersionedValue>> |
SnapshotFilterImpl.range(KarelDbTransaction transaction,
Comparable[] from,
boolean fromInclusive,
Comparable[] to,
boolean toInclusive) |
| Modifier and Type | Method and Description |
|---|---|
List<VersionedValue> |
SnapshotFilterImpl.filterCellsForSnapshot(KarelDbTransaction transaction,
Comparable[] key,
List<VersionedValue> rawCells)
Filters the raw results and returns only those belonging to the current snapshot, as defined
by the transaction object.
|
com.google.common.base.Optional<Long> |
SnapshotFilterImpl.getTSIfInSnapshot(KarelDbTransaction transaction,
io.kcache.KeyValue<Comparable[],VersionedValue> kv,
Map<Long,Long> commitCache) |
com.google.common.base.Optional<Long> |
SnapshotFilterImpl.getTSIfInTransaction(KarelDbTransaction transaction,
io.kcache.KeyValue<Comparable[],VersionedValue> kv) |
com.google.common.base.Optional<Long> |
SnapshotFilterImpl.tryToLocateCellCommitTimestamp(KarelDbTransaction transaction,
io.kcache.KeyValue<Comparable[],VersionedValue> cell,
Map<Long,Long> commitCache) |
| Modifier and Type | Method and Description |
|---|---|
VersionedValue |
TxVersionedCache.get(Comparable[] key) |
VersionedValue |
VersionedCache.get(Comparable[] key,
long version) |
| Modifier and Type | Method and Description |
|---|---|
io.kcache.KeyValueIterator<Comparable[],VersionedValue> |
TxVersionedCache.all() |
io.kcache.KeyValueIterator<Comparable[],List<VersionedValue>> |
VersionedCache.all(long minVersion,
long maxVersion) |
List<VersionedValue> |
VersionedCache.get(Comparable[] key,
long minVersion,
long maxVersion) |
List<VersionedValue> |
TxVersionedCache.getAll(Comparable[] key) |
io.kcache.KeyValueIterator<Comparable[],VersionedValue> |
TxVersionedCache.range(Comparable[] from,
boolean fromInclusive,
Comparable[] to,
boolean toInclusive) |
io.kcache.KeyValueIterator<Comparable[],List<VersionedValue>> |
VersionedCache.range(Comparable[] from,
boolean fromInclusive,
Comparable[] to,
boolean toInclusive,
long minVersion,
long maxVersion) |
| Constructor and Description |
|---|
VersionedCache(String name,
io.kcache.Cache<Comparable[],NavigableMap<Long,VersionedValue>> cache) |
Copyright © 2020. All rights reserved.