Show / Hide Table of Contents

    Struct IgniteGuid

    Ignite guid with additional local ID.

    Implements
    System.IEquatable<IgniteGuid>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Apache.Ignite.Core.Common
    Assembly: Apache.Ignite.Core.dll
    Syntax
    [Serializable]
    public struct IgniteGuid : IEquatable<IgniteGuid>, IBinaryWriteAware

    Constructors

    IgniteGuid(Guid, Int64)

    Initializes a new instance of the IgniteGuid struct.

    Declaration
    public IgniteGuid(Guid globalId, long localId)
    Parameters
    Type Name Description
    System.Guid globalId

    The global id.

    System.Int64 localId

    The local id.

    Properties

    GlobalId

    Gets the global id.

    Declaration
    public Guid GlobalId { get; }
    Property Value
    Type Description
    System.Guid

    LocalId

    Gets the local id.

    Declaration
    public long LocalId { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    Equals(IgniteGuid)

    Declaration
    public bool Equals(IgniteGuid other)
    Parameters
    Type Name Description
    IgniteGuid other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()

    Operators

    Equality(IgniteGuid, IgniteGuid)

    Implements the operator ==.

    Declaration
    public static bool operator ==(IgniteGuid a, IgniteGuid b)
    Parameters
    Type Name Description
    IgniteGuid a

    First item.

    IgniteGuid b

    Second item.

    Returns
    Type Description
    System.Boolean

    The result of the operator.

    Inequality(IgniteGuid, IgniteGuid)

    Implements the operator !=.

    Declaration
    public static bool operator !=(IgniteGuid a, IgniteGuid b)
    Parameters
    Type Name Description
    IgniteGuid a

    First item.

    IgniteGuid b

    Second item.

    Returns
    Type Description
    System.Boolean

    The result of the operator.

    Implements

    System.IEquatable<T>
    Back to top © 2015 - 2017 The Apache Software Foundation