Class GraphProtostuffOutput
- All Implemented Interfaces:
Output
A ProtostuffOutput w/c can handle cyclic dependencies when serializing objects with graph transformations.
- Author:
- David Yu
-
Field Summary
Fields inherited from class FilterOutput
output -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidwriteObject(int fieldNumber, T value, Schema<T> schema, boolean repeated) Writes an object(using its schema) field.Methods inherited from class FilterOutput
writeBool, writeByteArray, writeByteRange, writeBytes, writeBytes, writeDouble, writeEnum, writeFixed32, writeFixed64, writeFloat, writeInt32, writeInt64, writeSFixed32, writeSFixed64, writeSInt32, writeSInt64, writeString, writeUInt32, writeUInt64
-
Constructor Details
-
GraphProtostuffOutput
-
GraphProtostuffOutput
-
-
Method Details
-
writeObject
public <T> void writeObject(int fieldNumber, T value, Schema<T> schema, boolean repeated) throws IOException Description copied from interface:OutputWrites an object(using its schema) field.- Specified by:
writeObjectin interfaceOutput- Overrides:
writeObjectin classFilterOutput<ProtostuffOutput>- Throws:
IOException
-