FqlQuery

Namespace: FoundationDB.Client · class

Implements: IFqlQuery, IFqlExpression, ICanExplain, IFormattable, IJsonSerializable, IJsonPackable, IJsonDeserializable<FqlQuery>

Constructors

FqlQuery

FqlQuery()

Properties

Directory

FqlDirectoryExpression Directory { get; set; }

Expression used to filter directories (or null if there is none)

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

Text

string Text { get; set; }

Text of the query (has it was parsed)

Tuple

FqlTupleExpression Tuple { get; set; }

Expression used to filter tuples (or null if there is none)

Methods

Explain

void Explain(ExplanationBuilder builder)

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

FindDirectories

IAsyncEnumerable<FdbDirectorySubspace> FindDirectories(IFdbReadOnlyTransaction tr, FdbDirectorySubspaceLocation root)

JsonDeserialize

static FqlQuery JsonDeserialize(JsonValue value, ICrystalJsonTypeResolver resolver = null)

JsonPack

JsonValue JsonPack(CrystalJsonSettings settings, ICrystalJsonTypeResolver resolver)

Converts an instance of this type into the equivalent JSON value, usually a JSON Object or Array

  • settings — Serialization settings
  • resolver — Custom resolver used to bind the value into a managed type.

If the type also implements , the result of parsing the resulting JSON value should produce an object that is equivalent to the original (or as close as possible if some values loose some precision after serialization)

JsonSerialize

void JsonSerialize(CrystalJsonWriter writer)

Serializes this instance as JSON

  • writer — Writer that will output the content of this instance

Scan

IAsyncEnumerable<(FdbPath, IVarTuple, Slice, Slice)> Scan(IFdbReadOnlyTransaction tr, FdbDirectorySubspaceLocation root)

ToString

string ToString()

string ToString(string format, IFormatProvider formatProvider)