Uses of Class
io.fluxzero.common.api.Data
Packages that use Data
Package
Description
-
Uses of Data in io.fluxzero.common.api
Methods in io.fluxzero.common.api that return DataModifier and TypeMethodDescriptionData.data()Returns this instance (forSerializedObjectcompatibility).Data<byte[]> SerializedMessage.data()SerializedObject.data()Returns the serialized payload held by this object.<M> Data<M> Data.map(ThrowingFunction<T, M> mapper) Transforms the value using a custom mapping function, while preserving serialization metadata.Data<byte[]> Metadata.toData()Returns the compact serialized representation of this metadata.Replaces this instance with anotherDataobject.Methods in io.fluxzero.common.api with parameters of type DataModifier and TypeMethodDescriptionstatic MetadataRestores metadata from its compact serialized representation without eagerly constructing keys, values or a backing map.Replaces this instance with anotherDataobject.Returns a newSerializedObjectwith the given data object.Constructors in io.fluxzero.common.api with parameters of type DataModifierConstructorDescriptionSerializedMessage(Data<byte[]> data, Metadata metadata, String messageId, Long timestamp) -
Uses of Data in io.fluxzero.common.api.search
Methods in io.fluxzero.common.api.search that return DataModifier and TypeMethodDescriptionData<byte[]> SerializedDocument.getDocument()Returns the serialized representation of the document.Methods in io.fluxzero.common.api.search that return types with arguments of type DataModifier and TypeMethodDescriptionSerializedDocument.serializedDataIfPresent()Returns directly supplied serialized data without evaluating a lazy source.Constructors in io.fluxzero.common.api.search with parameters of type DataModifierConstructorDescriptionSerializedDocument(String id, Long timestamp, Long end, String collection, Data<byte[]> document, String summary, Set<FacetEntry> facets, Set<SortableEntry> indexes) Constructs a new instance of the SerializedDocument class with the specified parameters. -
Uses of Data in io.fluxzero.common.search
Methods in io.fluxzero.common.search that return DataModifier and TypeMethodDescriptionData<com.fasterxml.jackson.databind.JsonNode> Data<?> JacksonInverter.convertFormat(Data<byte[]> data) protected Data<com.fasterxml.jackson.databind.JsonNode> Data<byte[]> protected Data<com.fasterxml.jackson.databind.JsonNode> JacksonInverter.toJsonData(com.fasterxml.jackson.databind.JsonNode node, Data<byte[]> data) Methods in io.fluxzero.common.search with parameters of type DataModifier and TypeMethodDescriptionbooleanDefaultDocumentSerializer.canDeserialize(Data<byte[]> data) Checks whether the givenDataobject is in a format that this serializer can deserialize.Data<com.fasterxml.jackson.databind.JsonNode> Data<?> JacksonInverter.convertFormat(Data<byte[]> data) DefaultDocumentSerializer.deserialize(Data<byte[]> document) DefaultDocumentSerializer.deserializeMetadata(Data<byte[]> document) Reads metadata without constructing payload entries for documents that have no metadata.protected Data<com.fasterxml.jackson.databind.JsonNode> protected Data<com.fasterxml.jackson.databind.JsonNode> JacksonInverter.toJsonData(com.fasterxml.jackson.databind.JsonNode node, Data<byte[]> data) -
Uses of Data in io.fluxzero.common.serialization
Methods in io.fluxzero.common.serialization that return DataModifier and TypeMethodDescriptiondefault Data<?> Converter.convertFormat(Data<I> data) Optionally converts the structure or format (e.g.: application/json) of the input data without modifying its core content.Methods in io.fluxzero.common.serialization with parameters of type DataModifier and TypeMethodDescriptiondefault Data<?> Converter.convertFormat(Data<I> data) Optionally converts the structure or format (e.g.: application/json) of the input data without modifying its core content. -
Uses of Data in io.fluxzero.proxy
Methods in io.fluxzero.proxy that return DataMethods in io.fluxzero.proxy with parameters of type Data -
Uses of Data in io.fluxzero.sdk
Methods in io.fluxzero.sdk with parameters of type Data -
Uses of Data in io.fluxzero.sdk.common.serialization
Methods in io.fluxzero.sdk.common.serialization that return DataModifier and TypeMethodDescriptionData<byte[]> Serializes the given object into a byte-basedDataobject, using the specified format.default Data<byte[]> Serializes the given object to aDatawrapper using the default format.Data<byte[]> Serializes the given object into aDatawrapper using the specified format.protected Data<byte[]> AbstractSerializer.serializeToOtherFormat(Object object, String format) Converts common simple object types (e.g., String, byte[]) to the requested alternative format.Methods in io.fluxzero.sdk.common.serialization that return types with arguments of type DataModifier and TypeMethodDescriptionAbstractSerializer.describeSerialization(Object object, String format) Serializer.describeSerialization(Object object, String format) Describes the type, revision and format produced bySerializer.serialize(Object, String)without reading the payload body, evaluating its getters or running custom codecs.Methods in io.fluxzero.sdk.common.serialization with parameters of type DataModifier and TypeMethodDescriptionprotected abstract ObjectAbstractSerializer.doDeserialize(Data<?> data, String type) Core method to deserialize the givenDatawith an explicit type hint.Downcasts an object already inDataform.Downcasts aDataobject to the specified revision level.Replaces the serialized payload data and recreates a deserializing message with the same handling context. -
Uses of Data in io.fluxzero.sdk.common.serialization.casting
Methods in io.fluxzero.sdk.common.serialization.casting that return Data -
Uses of Data in io.fluxzero.sdk.common.serialization.jackson
Methods in io.fluxzero.sdk.common.serialization.jackson with parameters of type DataModifier and TypeMethodDescriptionprotected ObjectJacksonSerializer.doDeserialize(Data<?> data, String type) Deserializes aDatainstance into an object of the given type using the Jackson object mapper. -
Uses of Data in io.fluxzero.sdk.modeling
Constructors in io.fluxzero.sdk.modeling with parameters of type Data -
Uses of Data in io.fluxzero.sdk.persisting.eventsourcing
Methods in io.fluxzero.sdk.persisting.eventsourcing that return DataModifier and TypeMethodDescriptionData<byte[]> DefaultSnapshotStore.SnapshotDocument.serializedSnapshot()Returns the value of theserializedSnapshotrecord component.Constructors in io.fluxzero.sdk.persisting.eventsourcing with parameters of type DataModifierConstructorDescriptionprotectedSnapshotDocument(String id, String aggregateId, long sequenceNumber, Instant timestamp, Data<byte[]> serializedSnapshot) Creates an instance of aSnapshotDocumentrecord class. -
Uses of Data in io.fluxzero.sdk.persisting.keyvalue.client
Methods in io.fluxzero.sdk.persisting.keyvalue.client that return DataModifier and TypeMethodDescriptionData<byte[]> Data<byte[]> Returns theDataobject associated with the given key.Data<byte[]> Methods in io.fluxzero.sdk.persisting.keyvalue.client with parameters of type DataModifier and TypeMethodDescriptionAdds or replaces the given value in the key value store.InMemoryKeyValueStore.putValueIfAbsent(String key, Data<byte[]> value) KeyValueClient.putValueIfAbsent(String key, Data<byte[]> value) Adds the given value in the key value store if the key is not already mapped to a value.WebsocketKeyValueClient.putValueIfAbsent(String key, Data<byte[]> value) Constructor parameters in io.fluxzero.sdk.persisting.keyvalue.client with type arguments of type Data