Search Results for

    Show / Hide Table of Contents

    Struct IgniteGuid

    Ignite guid with additional local ID.

    Implements
    IEquatable<IgniteGuid>
    Namespace: Apache.Ignite.Core.Common
    Assembly: Apache.Ignite.Core.dll
    Syntax
    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
    Guid globalId

    The global id.

    System.Int64 localId

    The local id.

    Properties

    GlobalId

    Gets the global id.

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

    LocalId

    Gets the local id.

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

    Methods

    Equals(IgniteGuid)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(IgniteGuid other)
    Parameters
    Type Name Description
    IgniteGuid other

    An object to compare with this object.

    Returns
    Type Description
    System.Boolean

    true if the current object is equal to the other parameter; otherwise, false.

    Equals(Object)

    Determines whether the specified , is equal to this instance.

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

    The to compare with this instance.

    Returns
    Type Description
    System.Boolean

    true if the specified is equal to this instance; otherwise, false.

    GetHashCode()

    Returns a hash code for this instance.

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

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    ToString()

    Returns a that represents this instance.

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

    A that represents this instance.

    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

    IEquatable<>
    In This Article
    Back to top © 2015 - 2019 The Apache Software Foundation