| Package | Description |
|---|---|
| com.exonum.binding.core.blockchain | |
| com.exonum.binding.core.service | |
| com.exonum.binding.core.storage.database | |
| com.exonum.binding.core.storage.indices |
Contains Exonum indexes — persistent, named collections built on top of Exonum key-value storage.
|
| Modifier and Type | Method and Description |
|---|---|
static Blockchain |
Blockchain.newInstance(View view)
Constructs a new blockchain instance for the given database view.
|
| 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 |
|---|---|
static <E> ValueSetIndexProxy<E> |
ValueSetIndexProxy.newInGroupUnsafe(String groupName,
byte[] indexId,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new value set in a collection group
with the given name.
|
static <E> KeySetIndexProxy<E> |
KeySetIndexProxy.newInGroupUnsafe(String groupName,
byte[] indexId,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new key set in a collection group
with the given name.
|
static <E> ProofListIndexProxy<E> |
ProofListIndexProxy.newInGroupUnsafe(String groupName,
byte[] listId,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new list in a collection group
with the given name.
|
static <E> ListIndexProxy<E> |
ListIndexProxy.newInGroupUnsafe(String groupName,
byte[] listId,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new list in a collection group
with the given name.
|
static <K,V> MapIndexProxy<K,V> |
MapIndexProxy.newInGroupUnsafe(String groupName,
byte[] mapId,
View view,
com.exonum.binding.common.serialization.Serializer<K> keySerializer,
com.exonum.binding.common.serialization.Serializer<V> valueSerializer)
Creates a new map in a collection group
with the given name.
|
static <K,V> ProofMapIndexProxy<K,V> |
ProofMapIndexProxy.newInGroupUnsafe(String groupName,
byte[] mapId,
View view,
com.exonum.binding.common.serialization.Serializer<K> keySerializer,
com.exonum.binding.common.serialization.Serializer<V> valueSerializer)
Creates a new proof map in a collection group
with the given name.
|
static <E extends com.google.protobuf.MessageLite> |
ValueSetIndexProxy.newInstance(String name,
View view,
Class<E> valueType)
Creates a new value set storing protobuf messages.
|
static <E extends com.google.protobuf.MessageLite> |
KeySetIndexProxy.newInstance(String name,
View view,
Class<E> keyType)
Creates a new key set storing protobuf messages.
|
static <E extends com.google.protobuf.MessageLite> |
EntryIndexProxy.newInstance(String name,
View view,
Class<E> elementType)
Creates a new Entry storing protobuf messages.
|
static <E extends com.google.protobuf.MessageLite> |
ProofListIndexProxy.newInstance(String name,
View view,
Class<E> elementType)
Creates a new ProofListIndexProxy storing protobuf messages.
|
static <E extends com.google.protobuf.MessageLite> |
ListIndexProxy.newInstance(String name,
View view,
Class<E> elementType)
Creates a new ListIndexProxy storing protobuf messages.
|
static <K extends com.google.protobuf.MessageLite,V extends com.google.protobuf.MessageLite> |
MapIndexProxy.newInstance(String name,
View view,
Class<K> keyType,
Class<V> valueType)
Creates a new MapIndexProxy using protobuf messages.
|
static <E> ValueSetIndexProxy<E> |
ValueSetIndexProxy.newInstance(String name,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new value set.
|
static <E> KeySetIndexProxy<E> |
KeySetIndexProxy.newInstance(String name,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new key set proxy.
|
static <E> EntryIndexProxy<E> |
EntryIndexProxy.newInstance(String name,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new Entry.
|
static <E> ProofListIndexProxy<E> |
ProofListIndexProxy.newInstance(String name,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new ProofListIndexProxy.
|
static <E> ListIndexProxy<E> |
ListIndexProxy.newInstance(String name,
View view,
com.exonum.binding.common.serialization.Serializer<E> serializer)
Creates a new ListIndexProxy.
|
static <K,V> MapIndexProxy<K,V> |
MapIndexProxy.newInstance(String name,
View view,
com.exonum.binding.common.serialization.Serializer<K> keySerializer,
com.exonum.binding.common.serialization.Serializer<V> valueSerializer)
Creates a new MapIndexProxy.
|
static <K,V> ProofMapIndexProxy<K,V> |
ProofMapIndexProxy.newInstance(String name,
View view,
com.exonum.binding.common.serialization.Serializer<K> keySerializer,
com.exonum.binding.common.serialization.Serializer<V> valueSerializer)
Creates a ProofMapIndexProxy.
|
Copyright © 2019 Exonum. All rights reserved.