Mallard
Search Results for

    Show / Hide Table of Contents

    Struct DuckDbBigInteger

    The representation of a variable-length integer (BIGNUM) in a DuckDB vector.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Mallard.Types
    Assembly: Mallard.dll
    Syntax
    public readonly ref struct DuckDbBigInteger
    Remarks

    This structure is only used for reading, not for writing/sending values to DuckDB.

    Methods

    | Edit this page View Source

    ConvertTo<T>()

    Convert to some other binary integer type.

    Declaration
    public T ConvertTo<T>() where T : IBinaryInteger<T>
    Returns
    Type Description
    T

    Instance of T with the same numerical value.

    Type Parameters
    Name Description
    T

    Binary integer type, typically with a variable-length representation.

    Exceptions
    Type Condition
    OverflowException

    The given type T cannot hold the numerical value of this variable-length integer from DuckDB.

    | Edit this page View Source

    ToBigInteger()

    Convert to a .NET BigInteger instance.

    Declaration
    public BigInteger ToBigInteger()
    Returns
    Type Description
    BigInteger

    BigInteger with the same numerical value.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX