Class ClassSerializer
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.structure.io.binary.types.SimpleTypeSerializer<Class>
- 
- org.apache.tinkerpop.gremlin.structure.io.binary.types.ClassSerializer
 
 
- 
- All Implemented Interfaces:
- TypeSerializer<Class>
 
 public class ClassSerializer extends SimpleTypeSerializer<Class> 
- 
- 
Constructor SummaryConstructors Constructor Description ClassSerializer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassreadValue(Buffer buffer, GraphBinaryReader context)Reads a non-nullable value according to the type format.protected voidwriteValue(Class value, Buffer buffer, GraphBinaryWriter context)Writes a non-nullable value into a buffer using the provided allocator.- 
Methods inherited from class org.apache.tinkerpop.gremlin.structure.io.binary.types.SimpleTypeSerializergetDataType, read, readValue, write, writeValue
 
- 
 
- 
- 
- 
Method Detail- 
readValueprotected Class readValue(Buffer buffer, GraphBinaryReader context) throws IOException Description copied from class:SimpleTypeSerializerReads a non-nullable value according to the type format.- Specified by:
- readValuein class- SimpleTypeSerializer<Class>
- Parameters:
- buffer- A buffer which reader index has been set to the beginning of the {value}.
- context- The binary reader.
- Returns:
- Throws:
- IOException
 
 - 
writeValueprotected void writeValue(Class value, Buffer buffer, GraphBinaryWriter context) throws IOException Description copied from class:SimpleTypeSerializerWrites a non-nullable value into a buffer using the provided allocator.- Specified by:
- writeValuein class- SimpleTypeSerializer<Class>
- Parameters:
- value- A non-nullable value.
- buffer- The buffer allocator to use.
- context- The binary writer.
- Throws:
- IOException
 
 
- 
 
-