Package | Description |
---|---|
com.exonum.binding.service | |
com.exonum.binding.storage.database | |
com.exonum.binding.storage.indices |
Contains Exonum indexes — persistent, named collections built on top of Exonum key-value storage.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Schema |
AbstractService.createDataSchema(View view)
Creates a data schema of this service.
|
Modifier and Type | Class and Description |
---|---|
class |
Fork
A fork is a database view, allowing both read and write operations.
|
class |
Snapshot
A snapshot is a read-only, immutable database view.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
ViewModificationCounter.getModificationCount(View view)
Returns the current value of the modification counter of the given view.
|
boolean |
ViewModificationCounter.isModifiedSince(View view,
java.lang.Integer modCount)
Returns true if the view has been modified since the given modCount.
|
Modifier and Type | Method and Description |
---|---|
static <E> ListIndexProxy<E> |
ListIndexProxy.newInGroupUnsafe(java.lang.String groupName,
byte[] listId,
View view,
Serializer<E> serializer)
Creates a new list in a collection group
with the given name.
|
static <E> KeySetIndexProxy<E> |
KeySetIndexProxy.newInGroupUnsafe(java.lang.String groupName,
byte[] indexId,
View view,
Serializer<E> serializer)
Creates a new key set in a collection group
with the given name.
|
static <E> ValueSetIndexProxy<E> |
ValueSetIndexProxy.newInGroupUnsafe(java.lang.String groupName,
byte[] indexId,
View view,
Serializer<E> serializer)
Creates a new value set in a collection group
with the given name.
|
static <E> ProofListIndexProxy<E> |
ProofListIndexProxy.newInGroupUnsafe(java.lang.String groupName,
byte[] listId,
View view,
Serializer<E> serializer)
Creates a new list in a collection group
with the given name.
|
static <K,V> MapIndexProxy<K,V> |
MapIndexProxy.newInGroupUnsafe(java.lang.String groupName,
byte[] mapId,
View view,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Creates a new map in a collection group
with the given name.
|
static <K,V> ProofMapIndexProxy<K,V> |
ProofMapIndexProxy.newInGroupUnsafe(java.lang.String groupName,
byte[] mapId,
View view,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Creates a new proof map in a collection group
with the given name.
|
static <E> ListIndexProxy<E> |
ListIndexProxy.newInstance(java.lang.String name,
View view,
Serializer<E> serializer)
Creates a new ListIndexProxy.
|
static <E> KeySetIndexProxy<E> |
KeySetIndexProxy.newInstance(java.lang.String name,
View view,
Serializer<E> serializer)
Creates a new key set proxy.
|
static <E> EntryIndexProxy<E> |
EntryIndexProxy.newInstance(java.lang.String name,
View view,
Serializer<E> serializer)
Creates a new Entry.
|
static <E> ValueSetIndexProxy<E> |
ValueSetIndexProxy.newInstance(java.lang.String name,
View view,
Serializer<E> serializer)
Creates a new value set proxy.
|
static <E> ProofListIndexProxy<E> |
ProofListIndexProxy.newInstance(java.lang.String name,
View view,
Serializer<E> serializer)
Creates a new ProofListIndexProxy.
|
static <K,V> MapIndexProxy<K,V> |
MapIndexProxy.newInstance(java.lang.String name,
View view,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Creates a new MapIndexProxy.
|
static <K,V> ProofMapIndexProxy<K,V> |
ProofMapIndexProxy.newInstance(java.lang.String name,
View view,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
Creates a ProofMapIndexProxy.
|
Copyright © 2018 Exonum. All rights reserved.