Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Fauna.Query Class Referenceabstract

Represents the abstract base class for constructing FQL queries. More...

Inheritance diagram for Fauna.Query:
Fauna.IQueryFragment Fauna.QueryExpr Fauna.QueryObj Fauna.QueryVal

Public Member Functions

void Serialize (MappingContext ctx, Utf8FaunaWriter writer)
 Serializes the query into the provided stream.
 
override int GetHashCode ()
 Returns a hash code for the current query.
 
override bool Equals (object? otherObject)
 Determines whether the specified object is equal to the current query.
 
bool Equals (Query? otherQuery)
 Determines whether the specified Query is equal to the current query.
 

Static Public Member Functions

static Query FQL (ref QueryStringHandler handler)
 Constructs an FQL query using the specified QueryStringHandler.
 

Detailed Description

Represents the abstract base class for constructing FQL queries.

Definition at line 10 of file Query.cs.

Member Function Documentation

◆ Equals() [1/2]

override bool Fauna.Query.Equals ( object?  otherObject)
abstract

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

Parameters
otherObjectThe object to compare with the current query.
Returns
true if the specified object is equal to the current query; otherwise, false.

◆ Equals() [2/2]

bool Fauna.Query.Equals ( Query otherQuery)
abstract

Determines whether the specified Query is equal to the current query.

Parameters
otherQueryThe Query to compare with the current query.
Returns
true if the specified Query is equal to the current query; otherwise, false.

◆ FQL()

static Query Fauna.Query.FQL ( ref QueryStringHandler  handler)
static

Constructs an FQL query using the specified QueryStringHandler.

Parameters
handlerThe QueryStringHandler that contains the query fragments.
Returns
A Query instance constructed from the handler.

Definition at line 44 of file Query.cs.

◆ GetHashCode()

override int Fauna.Query.GetHashCode ( )
abstract

Returns a hash code for the current query.

Returns
A hash code for the current query.

◆ Serialize()

void Fauna.Query.Serialize ( MappingContext  ctx,
Utf8FaunaWriter  writer 
)
abstract

Serializes the query into the provided stream.

Parameters
ctxThe context to be used during serialization.
writerThe writer to which the query is serialized.

Implements Fauna.IQueryFragment.


The documentation for this class was generated from the following file: