FqlPathSegment

Namespace: FoundationDB.Client · struct

Implements: IEquatable<FqlPathSegment>, IFqlExpression, ICanExplain, IFormattable

Constructors

FqlPathSegment

FqlPathSegment(FqlPathSegmentType type, FdbPathSegment? value)

Properties

IsAny

bool IsAny { get; }

IsParent

bool IsParent { get; }

IsPattern

bool IsPattern { get; }

Returns false if the expression points to an exact key, or true if it catches a collection of keys that match a pattern

IsRoot

bool IsRoot { get; }

Methods

Any

static FqlPathSegment Any()

Equals

bool Equals(object obj)

bool Equals(FqlPathSegment other)

Explain

void Explain(ExplanationBuilder builder)

Adds a human-readable description of this node into the log

GetHashCode

int GetHashCode()

Literal

static FqlPathSegment Literal(FdbPathSegment segment)

static FqlPathSegment Literal(string value, string layerId)

Matches

bool Matches(FdbPathSegment segment)

Parent

static FqlPathSegment Parent()

Root

static FqlPathSegment Root()

ToString

string ToString()

string ToString(string format, IFormatProvider formatProvider)

Fields

Type

readonly FqlPathSegmentType Type

Value

readonly FdbPathSegment Value