| 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(SerializationContext ctx,
RawProtoStreamWriter out,
java.lang.Object t) |
void |
UnknownFieldSet.writeTo(RawProtoStreamWriter output)
Writes all fields from this set to the
output stream. |
private static <A> void |
ProtobufUtil.writeTo(SerializationContext ctx,
RawProtoStreamWriter out,
A t) |
void |
RawProtobufMarshaller.writeTo(SerializationContext ctx,
RawProtoStreamWriter out,
T t) |
void |
WrappedMessage.Marshaller.writeTo(SerializationContext ctx,
RawProtoStreamWriter out,
WrappedMessage wrappedMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
GeneratedMarshallerBase.writeMessage(BaseMarshallerDelegate<T> marshallerDelegate,
RawProtoStreamWriter out,
T message) |
protected <T> void |
GeneratedMarshallerBase.writeNestedMessage(BaseMarshallerDelegate<T> marshallerDelegate,
RawProtoStreamWriter out,
int fieldNumber,
T message) |
| Modifier and Type | Class and Description |
|---|---|
class |
RawProtoStreamWriterImpl |
| Modifier and Type | Field and Description |
|---|---|
(package private) RawProtoStreamWriter |
WriteMessageContext.out |
| 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(java.nio.ByteBuffer byteBuffer) |
static RawProtoStreamWriter |
RawProtoStreamWriterImpl.newInstance(java.nio.ByteBuffer byteBuffer,
int bufferSize) |
static RawProtoStreamWriter |
RawProtoStreamWriterImpl.newInstance(java.io.OutputStream output) |
static RawProtoStreamWriter |
RawProtoStreamWriterImpl.newInstance(java.io.OutputStream output,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
RawProtobufMarshallerDelegate.marshall(FieldDescriptor fieldDescriptor,
T value,
ProtoStreamWriterImpl writer,
RawProtoStreamWriter out) |
void |
MessageMarshallerDelegate.marshall(FieldDescriptor fieldDescriptor,
T message,
ProtoStreamWriterImpl writer,
RawProtoStreamWriter out) |
void |
EnumMarshallerDelegate.marshall(FieldDescriptor fd,
T value,
ProtoStreamWriterImpl writer,
RawProtoStreamWriter out) |
void |
BaseMarshallerDelegate.marshall(FieldDescriptor fieldDescriptor,
T value,
ProtoStreamWriterImpl writer,
RawProtoStreamWriter out)
Marshalls an object.
|
(package private) WriteMessageContext |
ProtoStreamWriterImpl.pushContext(FieldDescriptor fd,
MessageMarshallerDelegate<?> marshallerDelegate,
RawProtoStreamWriter out) |
private void |
UnknownFieldSetImpl.writeField(int tag,
java.util.Deque<?> values,
RawProtoStreamWriter output)
Serializes a field, including field number, and writes it to
output. |
void |
UnknownFieldSetImpl.writeTo(RawProtoStreamWriter output) |
void |
ProtocMessageMarshaller.writeTo(SerializationContext ctx,
RawProtoStreamWriter out,
T o) |
| Constructor and Description |
|---|
WriteMessageContext(WriteMessageContext parent,
java.lang.String fieldName,
MessageMarshallerDelegate<?> marshallerDelegate,
RawProtoStreamWriter out) |