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 |
---|---|
static void |
WrappedMessage.writeMessage(ImmutableSerializationContext ctx,
RawProtoStreamWriter out,
Object t) |
void |
RawProtobufMarshaller.writeTo(ImmutableSerializationContext ctx,
RawProtoStreamWriter out,
T t) |
void |
WrappedMessage.Marshaller.writeTo(ImmutableSerializationContext ctx,
RawProtoStreamWriter out,
WrappedMessage wrappedMessage) |
void |
UnknownFieldSet.writeTo(RawProtoStreamWriter output)
Writes all fields from this set to the
output stream. |
Modifier and Type | Method and Description |
---|---|
protected <T> void |
GeneratedMarshallerBase.writeMessage(BaseMarshallerDelegate<T> marshallerDelegate,
RawProtoStreamWriter out,
T message)
Invoked by generated code.
|
protected <T> void |
GeneratedMarshallerBase.writeNestedMessage(BaseMarshallerDelegate<T> marshallerDelegate,
RawProtoStreamWriter out,
int fieldNumber,
T message)
Invoked by generated code.
|
Modifier and Type | Class and Description |
---|---|
class |
RawProtoStreamWriterImpl |
Modifier and Type | Method and Description |
---|---|
static RawProtoStreamWriter |
RawProtoStreamWriterImpl.newInstance(byte[] flatArray) |
static RawProtoStreamWriter |
RawProtoStreamWriterImpl.newInstance(byte[] flatArray,
int offset,
int length) |
static RawProtoStreamWriter |
RawProtoStreamWriterImpl.newInstance(ByteBuffer byteBuffer) |
static RawProtoStreamWriter |
RawProtoStreamWriterImpl.newInstance(OutputStream output) |
static RawProtoStreamWriter |
RawProtoStreamWriterImpl.newInstance(OutputStream output,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
EnumMarshallerDelegate.marshall(FieldDescriptor fd,
T value,
org.infinispan.protostream.impl.ProtoStreamWriterImpl writer,
RawProtoStreamWriter out) |
void |
BaseMarshallerDelegate.marshall(FieldDescriptor fieldDescriptor,
T value,
org.infinispan.protostream.impl.ProtoStreamWriterImpl writer,
RawProtoStreamWriter out)
Marshalls an object.
|
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.