Search Results for

    Show / Hide Table of Contents

    Class VertexPropertySerializer

    A VertexProperty serializer.

    Inheritance
    object
    SimpleTypeSerializer<VertexProperty>
    VertexPropertySerializer
    Implements
    ITypeSerializer
    Inherited Members
    SimpleTypeSerializer<VertexProperty>.DataType
    SimpleTypeSerializer<VertexProperty>.WriteAsync(object, Stream, GraphBinaryWriter, CancellationToken)
    SimpleTypeSerializer<VertexProperty>.WriteNullableValueAsync(object, Stream, GraphBinaryWriter, CancellationToken)
    SimpleTypeSerializer<VertexProperty>.WriteNonNullableValueAsync(object, Stream, GraphBinaryWriter, CancellationToken)
    SimpleTypeSerializer<VertexProperty>.ReadAsync(Stream, GraphBinaryReader, CancellationToken)
    SimpleTypeSerializer<VertexProperty>.ReadNullableValueAsync(Stream, GraphBinaryReader, CancellationToken)
    SimpleTypeSerializer<VertexProperty>.ReadNonNullableValueAsync(Stream, GraphBinaryReader, CancellationToken)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Gremlin.Net.Structure.IO.GraphBinary.Types
    Assembly: Gremlin.Net.dll
    Syntax
    public class VertexPropertySerializer : SimpleTypeSerializer<VertexProperty>, ITypeSerializer

    Constructors

    VertexPropertySerializer()

    Initializes a new instance of the VertexPropertySerializer class.

    Declaration
    public VertexPropertySerializer()

    Methods

    ReadValueAsync(Stream, GraphBinaryReader, CancellationToken)

    Reads a non-nullable value according to the type format.

    Declaration
    protected override Task<VertexProperty> ReadValueAsync(Stream stream, GraphBinaryReader reader, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    Stream stream

    The GraphBinary data to parse.

    GraphBinaryReader reader

    A GraphBinaryReader.

    CancellationToken cancellationToken

    The token to cancel the operation. The default value is None.

    Returns
    Type Description
    Task<VertexProperty>

    The read value.

    Overrides
    SimpleTypeSerializer<VertexProperty>.ReadValueAsync(Stream, GraphBinaryReader, CancellationToken)

    WriteValueAsync(VertexProperty, Stream, GraphBinaryWriter, CancellationToken)

    Writes a non-nullable value into a stream.

    Declaration
    protected override Task WriteValueAsync(VertexProperty value, Stream stream, GraphBinaryWriter writer, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    VertexProperty value

    The value to write.

    Stream stream

    The stream to write to.

    GraphBinaryWriter writer

    A GraphBinaryWriter.

    CancellationToken cancellationToken

    The token to cancel the operation. The default value is None.

    Returns
    Type Description
    Task

    A task that represents the asynchronous write operation.

    Overrides
    SimpleTypeSerializer<VertexProperty>.WriteValueAsync(VertexProperty, Stream, GraphBinaryWriter, CancellationToken)

    Implements

    ITypeSerializer
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation