Search Results for

    Show / Hide Table of Contents

    Struct NpgsqlTsVector.Lexeme

    Represents a lexeme. A lexeme consists of a text string and optional word entry positions.

    Implements
    IEquatable<NpgsqlTsVector.Lexeme>
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public struct Lexeme : IEquatable<NpgsqlTsVector.Lexeme>

    Constructors

    | Improve this Doc

    Lexeme(String)

    Creates a lexeme with no word entry positions.

    Declaration
    public Lexeme(string text)
    Parameters
    Type Name Description
    String text
    | Improve this Doc

    Lexeme(String, List<NpgsqlTsVector.Lexeme.WordEntryPos>)

    Creates a lexeme with word entry positions.

    Declaration
    public Lexeme(string text, List<NpgsqlTsVector.Lexeme.WordEntryPos> wordEntryPositions)
    Parameters
    Type Name Description
    String text
    List<NpgsqlTsVector.Lexeme.WordEntryPos> wordEntryPositions

    Properties

    | Improve this Doc

    Count

    Gets the number of word entry positions.

    Declaration
    public readonly int Count { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc

    Item[Int32]

    Gets a word entry position.

    Declaration
    public NpgsqlTsVector.Lexeme.WordEntryPos this[int index] { get; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    NpgsqlTsVector.Lexeme.WordEntryPos
    | Improve this Doc

    Text

    Gets or sets the text.

    Declaration
    public string Text { readonly get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc

    Equals(NpgsqlTsVector.Lexeme)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(NpgsqlTsVector.Lexeme o)
    Parameters
    Type Name Description
    NpgsqlTsVector.Lexeme o
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    Object o
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)
    | Improve this Doc

    GetHashCode()

    Gets a hash code for the current object.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    | Improve this Doc

    ToString()

    Creates a string representation in PostgreSQL's format.

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

    Operators

    | Improve this Doc

    Equality(NpgsqlTsVector.Lexeme, NpgsqlTsVector.Lexeme)

    Determines whether the specified object is equal to the current object.

    Declaration
    public static bool operator ==(NpgsqlTsVector.Lexeme left, NpgsqlTsVector.Lexeme right)
    Parameters
    Type Name Description
    NpgsqlTsVector.Lexeme left
    NpgsqlTsVector.Lexeme right
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Inequality(NpgsqlTsVector.Lexeme, NpgsqlTsVector.Lexeme)

    Determines whether the specified object is unequal to the current object.

    Declaration
    public static bool operator !=(NpgsqlTsVector.Lexeme left, NpgsqlTsVector.Lexeme right)
    Parameters
    Type Name Description
    NpgsqlTsVector.Lexeme left
    NpgsqlTsVector.Lexeme right
    Returns
    Type Description
    Boolean

    Implements

    System.IEquatable<T>
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team