FqlTupleExpression

Namespace: FoundationDB.Client · class

Implements: IEquatable<FqlTupleExpression>, IComparable<FqlTupleExpression>, IComparable, IFqlExpression, ICanExplain, IFormattable

Constructors

FqlTupleExpression

FqlTupleExpression()

Properties

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

Items

List<FqlTupleItem> Items { get; }

Methods

Add

FqlTupleExpression Add(FqlTupleItem item)

Boolean

FqlTupleExpression Boolean(bool value, string name = null)

Adds a Boolean constant literal

Bytes

FqlTupleExpression Bytes(Slice value, string name = null)

Adds a constant Bytes literal

CompareTo

int CompareTo(FqlTupleExpression other)

int CompareTo(object other)

Create

static FqlTupleExpression Create()

Equals

bool Equals(object obj)

bool Equals(FqlTupleExpression other)

Explain

void Explain(ExplanationBuilder builder)

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

GetHashCode

int GetHashCode()

Integer

FqlTupleExpression Integer(int value, string name = null)

Adds a constant Integer literal

FqlTupleExpression Integer(long value, string name = null)

Adds a constant Integer literal

FqlTupleExpression Integer(uint value, string name = null)

Adds a constant Integer literal

FqlTupleExpression Integer(ulong value, string name = null)

Adds a constant Integer literal

FqlTupleExpression Integer(Int128 value, string name = null)

Adds a constant Integer literal

FqlTupleExpression Integer(UInt128 value, string name = null)

Adds a constant Integer literal

FqlTupleExpression Integer(BigInteger value, string name = null)

Adds a constant Integer literal

Match

bool Match(SpanTuple tuple)

bool Match(IVarTuple tuple)

MaybeMore

FqlTupleExpression MaybeMore()

Adds a ... glob, that matches zero or more elements

Nil

FqlTupleExpression Nil(string name = null)

Adds a Nil constant literal

Number

FqlTupleExpression Number(float value, string name = null)

Adds a constant Number literal

FqlTupleExpression Number(double value, string name = null)

Adds a constant Number literal

FqlTupleExpression Number(Half value, string name = null)

Adds a constant Number literal

FqlTupleExpression Number(decimal value, string name = null)

Adds a constant Number literal

String

FqlTupleExpression String(string value, string name = null)

Adds a constant String literal

ToString

string ToString()

string ToString(string format, IFormatProvider formatProvider = null)

TryFormat

bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = null, IFormatProvider provider = null)

Tuple

FqlTupleExpression Tuple(FqlTupleExpression value, string name = null)

Adds an embedded Tuple

Uuid

FqlTupleExpression Uuid(Guid value, string name = null)

Adds a constant Uuid literal

FqlTupleExpression Uuid(Uuid128 value, string name = null)

Adds a constant Uuid literal

VStamp

FqlTupleExpression VStamp(VersionStamp value, string name = null)

Adds a constant VStamp literal

Var

FqlTupleExpression Var(FqlVariableTypes types, string name = null)

Adds a variable with the given type filter and with an optional name

VarAny

FqlTupleExpression VarAny(string name = null)

Adds a variable that matches any type, and with optional name

VarAppend

FqlTupleExpression VarAppend(string name = null)

Adds a variable of type Append, and with optional name

This variable is only allowed in values

VarBoolean

FqlTupleExpression VarBoolean(string name = null)

Adds a variable of type Bool, and with optional name

VarBytes

FqlTupleExpression VarBytes(string name = null)

Adds a variable of type Bytes, and with optional name

VarCount

FqlTupleExpression VarCount(string name = null)

Adds a variable of type Count, and with optional name

This variable is only allowed in values

VarInteger

FqlTupleExpression VarInteger(string name = null)

Adds a variable of type Int, and with optional name

VarNil

FqlTupleExpression VarNil(string name = null)

Adds a variable of type Nil, and with optional name

VarNumber

FqlTupleExpression VarNumber(string name = null)

Adds a variable of type Num, and with optional name

VarString

FqlTupleExpression VarString(string name = null)

Adds a variable of type String, and with optional name

VarSum

FqlTupleExpression VarSum(string name = null)

Adds a variable of type Sum, and with optional name

This variable is only allowed in values

VarTuple

FqlTupleExpression VarTuple(string name = null)

Adds a variable of type Tuple, and with optional name

VarUuid

FqlTupleExpression VarUuid(string name = null)

Adds a variable of type Uuid, and with optional name

VarVStamp

FqlTupleExpression VarVStamp(string name = null)

Adds a variable of type VStamp, and with optional name