Package | Description |
---|---|
org.infinispan.protostream |
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
|
org.infinispan.protostream.annotations.impl |
Holds the internal representation of Protobuf type metadata defined via annotations and the processors that handle
this metadata in order to generate protobuf schemas and marshallers.
|
org.infinispan.protostream.impl |
Protostream internals.
|
Modifier and Type | Method and Description |
---|---|
void |
ProtobufParser.parse(TagHandler tagHandler,
Descriptor messageDescriptor,
RawProtoStreamReader in) |
void |
UnknownFieldSet.readAllFields(RawProtoStreamReader input)
Parse an entire message from
input and merge its fields into this set. |
WrappedMessage |
WrappedMessage.Marshaller.readFrom(SerializationContext ctx,
RawProtoStreamReader in) |
T |
RawProtobufMarshaller.readFrom(SerializationContext ctx,
RawProtoStreamReader in) |
static Object |
WrappedMessage.readMessage(SerializationContext ctx,
RawProtoStreamReader in) |
boolean |
UnknownFieldSet.readSingleField(int tag,
RawProtoStreamReader input)
Parse a single field from
input and merge it into this set. |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
GeneratedMarshallerBase.readMessage(BaseMarshallerDelegate<T> marshallerDelegate,
RawProtoStreamReader in) |
Modifier and Type | Class and Description |
---|---|
class |
RawProtoStreamReaderImpl |
Modifier and Type | Method and Description |
---|---|
static RawProtoStreamReader |
RawProtoStreamReaderImpl.newInstance(byte[] buf) |
static RawProtoStreamReader |
RawProtoStreamReaderImpl.newInstance(byte[] buf,
int off,
int len) |
static RawProtoStreamReader |
RawProtoStreamReaderImpl.newInstance(ByteBuffer buf) |
static RawProtoStreamReader |
RawProtoStreamReaderImpl.newInstance(InputStream input) |
Modifier and Type | Method and Description |
---|---|
T |
ProtocMessageMarshaller.readFrom(SerializationContext ctx,
RawProtoStreamReader in) |
T |
EnumMarshallerDelegate.unmarshall(FieldDescriptor fieldDescriptor,
org.infinispan.protostream.impl.ProtoStreamReaderImpl reader,
RawProtoStreamReader in) |
T |
BaseMarshallerDelegate.unmarshall(FieldDescriptor fieldDescriptor,
org.infinispan.protostream.impl.ProtoStreamReaderImpl reader,
RawProtoStreamReader in)
Unmarshalls an object.
|
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.