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.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 classCheckingSerializerDecorator<T>A serializer decorator, that performs some extra checks to ensure that a user-supplied serializer adheres toSerializercontract.Methods in com.exonum.binding.common.serialization that return Serializer Modifier and Type Method Description static Serializer<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<Double>StandardSerializers. doubles()Returns a serializer of doubles in little-endian byte order.static Serializer<Integer>StandardSerializers. fixed32()Returns a serializer of integers as four bytes in little-endian byte order.static Serializer<Long>StandardSerializers. fixed64()Returns a serializer of longs as eight bytes in little-endian byte order.static Serializer<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(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<Integer>StandardSerializers. sint32()Returns a serializer of signed integers using variable length encoding.static Serializer<Long>StandardSerializers. sint64()Returns a serializer of signed longs using variable length encoding.static Serializer<String>StandardSerializers. string()Returns a serializer of strings in UTF-8.static Serializer<TransactionMessage>StandardSerializers. transactionMessage()Returns a serializer of transaction messages.static Serializer<Integer>StandardSerializers. uint32()Returns a serializer of unsigned integers using variable length encoding.static Serializer<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 classBlockSerializerclassTransactionLocationSerializer -
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> KeySetIndexProxy<E>KeySetIndexProxy. newInGroupUnsafe(String groupName, byte[] indexId, View view, Serializer<E> serializer)Creates a new key set in a collection group with the given name.static <E> ListIndexProxy<E>ListIndexProxy. newInGroupUnsafe(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(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 <E> ProofListIndexProxy<E>ProofListIndexProxy. newInGroupUnsafe(String groupName, byte[] listId, View view, Serializer<E> serializer)Creates a new list in a collection group with the given name.static <K, V> ProofMapIndexProxy<K,V>ProofMapIndexProxy. newInGroupUnsafe(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> ValueSetIndexProxy<E>ValueSetIndexProxy. newInGroupUnsafe(String groupName, byte[] indexId, View view, Serializer<E> serializer)Creates a new value set in a collection group with the given name.static <K, V> ProofMapIndexProxy<K,V>ProofMapIndexProxy. newInGroupUnsafeNoKeyHashing(String groupName, byte[] mapId, View view, Serializer<K> keySerializer, Serializer<V> valueSerializer)Creates a new proof map that uses non-hashed keys in a collection group with the given name.static <E> EntryIndexProxy<E>EntryIndexProxy. newInstance(String name, View view, Serializer<E> serializer)Creates a new Entry.static <E> KeySetIndexProxy<E>KeySetIndexProxy. newInstance(String name, View view, Serializer<E> serializer)Creates a new key set proxy.static <E> ListIndexProxy<E>ListIndexProxy. newInstance(String name, View view, Serializer<E> serializer)Creates a new ListIndexProxy.static <K, V> MapIndexProxy<K,V>MapIndexProxy. newInstance(String name, View view, Serializer<K> keySerializer, Serializer<V> valueSerializer)Creates a new MapIndexProxy.static <E> ProofListIndexProxy<E>ProofListIndexProxy. newInstance(String name, View view, Serializer<E> serializer)Creates a new ProofListIndexProxy.static <K, V> ProofMapIndexProxy<K,V>ProofMapIndexProxy. newInstance(String name, View view, Serializer<K> keySerializer, Serializer<V> valueSerializer)Creates a ProofMapIndexProxy.static <E> ValueSetIndexProxy<E>ValueSetIndexProxy. newInstance(String name, View view, Serializer<E> serializer)Creates a new value set.static <K, V> ProofMapIndexProxy<K,V>ProofMapIndexProxy. newInstanceNoKeyHashing(String name, View view, 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 classUtcZonedDateTimeSerializerZonedDateTime serializer.