Uses of Interface
com.exonum.binding.common.serialization.Serializer
Package | Description |
---|---|
com.exonum.binding.common.serialization | |
com.exonum.binding.core.blockchain.serialization | |
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.
|
com.exonum.binding.time |
-
Uses of Serializer in com.exonum.binding.common.serialization
Classes in com.exonum.binding.common.serialization that implement Serializer Modifier and Type Class Description class
CheckingSerializerDecorator<T>
A serializer decorator, that performs some extra checks to ensure that a user-supplied serializer adheres toSerializer
contract.Methods in com.exonum.binding.common.serialization that return Serializer Modifier and Type Method Description static Serializer<java.lang.Boolean>
StandardSerializers. bool()
Returns a serializer of booleans.static Serializer<byte[]>
StandardSerializers. bytes()
Returns a serializer of byte arrays, which passes them as is.static Serializer<java.lang.Double>
StandardSerializers. doubles()
Returns a serializer of doubles in little-endian byte order.static Serializer<java.lang.Integer>
StandardSerializers. fixed32()
Returns a serializer of integers as four bytes in little-endian byte order.static Serializer<java.lang.Long>
StandardSerializers. fixed64()
Returns a serializer of longs as eight bytes in little-endian byte order.static Serializer<java.lang.Float>
StandardSerializers. floats()
Returns a serializer of floats in little-endian byte order.static Serializer<HashCode>
StandardSerializers. hash()
Returns a serializer of hash codes.static Serializer<PrivateKey>
StandardSerializers. privateKey()
Returns a serializer of private keys.static <MessageT extends com.google.protobuf.MessageLite>
Serializer<MessageT>StandardSerializers. protobuf(java.lang.Class<MessageT> messageType)
Returns a serializer for the given protocol buffer message type.static Serializer<PublicKey>
StandardSerializers. publicKey()
Returns a serializer of public keys.static Serializer<java.lang.Integer>
StandardSerializers. sint32()
Returns a serializer of signed integers using variable length encoding.static Serializer<java.lang.Long>
StandardSerializers. sint64()
Returns a serializer of signed longs using variable length encoding.static Serializer<java.lang.String>
StandardSerializers. string()
Returns a serializer of strings in UTF-8.static Serializer<TransactionMessage>
StandardSerializers. transactionMessage()
Returns a serializer of transaction messages.static Serializer<java.lang.Integer>
StandardSerializers. uint32()
Returns a serializer of unsigned integers using variable length encoding.static Serializer<java.lang.Long>
StandardSerializers. uint64()
Returns a serializer of unsigned longs using variable length encoding.Methods in com.exonum.binding.common.serialization with parameters of type Serializer Modifier and Type Method Description static <T> CheckingSerializerDecorator<T>
CheckingSerializerDecorator. from(Serializer<T> serializer)
Creates a checking serializer decorator. -
Uses of Serializer in com.exonum.binding.core.blockchain.serialization
Classes in com.exonum.binding.core.blockchain.serialization that implement Serializer Modifier and Type Class Description class
BlockSerializer
class
TransactionLocationSerializer
-
Uses of Serializer in com.exonum.binding.core.storage.database
Methods in com.exonum.binding.core.storage.database with parameters of type Serializer Modifier and Type Method Description <E> EntryIndex<E>
AbstractAccess. getEntry(IndexAddress address, Serializer<E> serializer)
<E> EntryIndex<E>
Access. getEntry(IndexAddress address, Serializer<E> serializer)
Creates a new Entry.<E> KeySetIndexProxy<E>
AbstractAccess. getKeySet(IndexAddress address, Serializer<E> serializer)
<E> KeySetIndexProxy<E>
Access. getKeySet(IndexAddress address, Serializer<E> serializer)
Creates a new KeySet.<E> ListIndexProxy<E>
AbstractAccess. getList(IndexAddress address, Serializer<E> serializer)
<E> ListIndexProxy<E>
Access. getList(IndexAddress address, Serializer<E> serializer)
Creates a new ListIndex.<K, V> MapIndexProxy<K,V>
AbstractAccess. getMap(IndexAddress address, Serializer<K> keySerializer, Serializer<V> valueSerializer)
<K, V> MapIndexProxy<K,V>
Access. getMap(IndexAddress address, Serializer<K> keySerializer, Serializer<V> valueSerializer)
Creates a new MapIndex.<E> ProofEntryIndex<E>
AbstractAccess. getProofEntry(IndexAddress address, Serializer<E> serializer)
<E> ProofEntryIndex<E>
Access. getProofEntry(IndexAddress address, Serializer<E> serializer)
Creates a new ProofEntry.<E> ProofListIndexProxy<E>
AbstractAccess. getProofList(IndexAddress address, Serializer<E> serializer)
<E> ProofListIndexProxy<E>
Access. getProofList(IndexAddress address, Serializer<E> serializer)
Creates a new ProofListIndex.<K, V> ProofMapIndexProxy<K,V>
AbstractAccess. getProofMap(IndexAddress address, Serializer<K> keySerializer, Serializer<V> valueSerializer)
<K, V> ProofMapIndexProxy<K,V>
Access. getProofMap(IndexAddress address, Serializer<K> keySerializer, Serializer<V> valueSerializer)
Creates a new ProofMapIndex.<K, V> ProofMapIndexProxy<K,V>
AbstractAccess. getRawProofMap(IndexAddress address, Serializer<K> keySerializer, Serializer<V> valueSerializer)
<K, V> ProofMapIndexProxy<K,V>
Access. getRawProofMap(IndexAddress address, Serializer<K> keySerializer, Serializer<V> valueSerializer)
Creates a new "raw" ProofMapIndex.<E> ValueSetIndexProxy<E>
AbstractAccess. getValueSet(IndexAddress address, Serializer<E> serializer)
<E> ValueSetIndexProxy<E>
Access. getValueSet(IndexAddress address, Serializer<E> serializer)
Creates a new ValueSet. -
Uses of Serializer in com.exonum.binding.core.storage.indices
Methods in com.exonum.binding.core.storage.indices with parameters of type Serializer Modifier and Type Method Description static <E> EntryIndexProxy<E>
EntryIndexProxy. newInstance(IndexAddress address, AbstractAccess access, Serializer<E> serializer)
Creates a new Entry.static <E> KeySetIndexProxy<E>
KeySetIndexProxy. newInstance(IndexAddress address, AbstractAccess access, Serializer<E> serializer)
Creates a new key set proxy.static <E> ListIndexProxy<E>
ListIndexProxy. newInstance(IndexAddress address, AbstractAccess access, Serializer<E> serializer)
Creates a new ListIndexProxy.static <K, V> MapIndexProxy<K,V>
MapIndexProxy. newInstance(IndexAddress address, AbstractAccess access, Serializer<K> keySerializer, Serializer<V> valueSerializer)
Creates a new MapIndexProxy.static <E> ProofEntryIndexProxy<E>
ProofEntryIndexProxy. newInstance(IndexAddress address, AbstractAccess access, Serializer<E> serializer)
Creates a new Entry.static <E> ProofListIndexProxy<E>
ProofListIndexProxy. newInstance(IndexAddress address, AbstractAccess access, Serializer<E> serializer)
Creates a new ProofListIndexProxy.static <K, V> ProofMapIndexProxy<K,V>
ProofMapIndexProxy. newInstance(IndexAddress address, AbstractAccess access, Serializer<K> keySerializer, Serializer<V> valueSerializer)
Creates a ProofMapIndexProxy.static <E> ValueSetIndexProxy<E>
ValueSetIndexProxy. newInstance(IndexAddress address, AbstractAccess access, Serializer<E> serializer)
Creates a new value set.static <K, V> ProofMapIndexProxy<K,V>
ProofMapIndexProxy. newInstanceNoKeyHashing(IndexAddress address, AbstractAccess access, Serializer<K> keySerializer, Serializer<V> valueSerializer)
Creates a ProofMapIndexProxy that uses non-hashed keys. -
Uses of Serializer in com.exonum.binding.time
Classes in com.exonum.binding.time that implement Serializer Modifier and Type Class Description class
UtcZonedDateTimeSerializer
ZonedDateTime serializer.