Class TraversalSerializer
A traversal serializer.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Structure.IO.GraphBinary.Types
Assembly: cs.temp.dll.dll
Syntax
public class TraversalSerializer : SimpleTypeSerializer<ITraversal>, ITypeSerializer
Constructors
TraversalSerializer()
Initializes a new instance of the TraversalSerializer class.
Declaration
public TraversalSerializer()
Methods
ReadValueAsync(Stream, GraphBinaryReader, CancellationToken)
Currently not supported.
Declaration
protected override Task<ITraversal> ReadValueAsync(Stream stream, GraphBinaryReader reader, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | |
GraphBinaryReader | reader | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ITraversal> |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<ITraversal>.ReadValueAsync(Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryReader, CancellationToken)
WriteValueAsync(ITraversal, Stream, GraphBinaryWriter, CancellationToken)
Writes a non-nullable value into a stream.
Declaration
protected override async Task WriteValueAsync(ITraversal value, Stream stream, GraphBinaryWriter writer, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ITraversal | value | |
Stream | stream | The stream to write to. |
GraphBinaryWriter | writer | |
CancellationToken | cancellationToken | The token to cancel the operation. The default value is None. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task that represents the asynchronous write operation. |
Overrides
Gremlin.Net.Structure.IO.GraphBinary.Types.SimpleTypeSerializer<ITraversal>.WriteValueAsync(ITraversal, Stream, Gremlin.Net.Structure.IO.GraphBinary.GraphBinaryWriter, CancellationToken)