Fauna v10 .NET/C# Driver 1.0.0
 
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Properties | List of all members
Fauna.QueryObj Class Referencesealed

Represents a dictionary of FQL queries. More...

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

Public Member Functions

 QueryObj (IDictionary< string, Query > v)
 Initializes a new instance of the QueryObj class with the specified value.
 
override void Serialize (MappingContext ctx, Utf8FaunaWriter writer)
 Serializes the query value.
 
override bool Equals (Query? o)
 Determines whether the specified QueryObj is equal to the current QueryObj.
 
override bool Equals (object? o)
 Determines whether the specified object is equal to the current QueryObj.
 
override int GetHashCode ()
 The default hash function.
 
override string ToString ()
 Returns a string that represents the current QueryObj.
 
- Public Member Functions inherited from Fauna.Query
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 bool operator== (QueryObj left, QueryObj right)
 Determines whether two specified instances of QueryObj are equal.
 
static bool operator!= (QueryObj left, QueryObj right)
 Determines whether two specified instances of QueryObj are not equal.
 
- Static Public Member Functions inherited from Fauna.Query
static Query FQL (ref QueryStringHandler handler)
 Constructs an FQL query using the specified QueryStringHandler.
 

Properties

IDictionary< string, QueryUnwrap [get]
 Gets the value of the specified type represented in the query.
 

Detailed Description

Represents a dictionary of FQL queries.

Definition at line 9 of file QueryObj.cs.

Constructor & Destructor Documentation

◆ QueryObj()

Fauna.QueryObj.QueryObj ( IDictionary< string, Query v)

Initializes a new instance of the QueryObj class with the specified value.

Parameters
vThe value of the specified type to be represented in the query.

Definition at line 20 of file QueryObj.cs.

Member Function Documentation

◆ Equals() [1/2]

override bool Fauna.QueryObj.Equals ( object?  o)

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

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

Definition at line 48 of file QueryObj.cs.

◆ Equals() [2/2]

override bool Fauna.QueryObj.Equals ( Query o)

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

Parameters
oThe QueryObj to compare with the current QueryObj.
Returns
true if the specified QueryObj is equal to the current QueryObj; otherwise, false.

◆ GetHashCode()

override int Fauna.QueryObj.GetHashCode ( )

The default hash function.

Returns
A hash code for the current QueryObj.

Definition at line 57 of file QueryObj.cs.

◆ operator!=()

static bool Fauna.QueryObj.operator!= ( QueryObj  left,
QueryObj  right 
)
static

Determines whether two specified instances of QueryObj are not equal.

Parameters
leftThe first QueryObj to compare.
rightThe second QueryObj to compare.
Returns
true if left and right are not equal; otherwise, false.

Definition at line 89 of file QueryObj.cs.

◆ operator==()

static bool Fauna.QueryObj.operator== ( QueryObj  left,
QueryObj  right 
)
static

Determines whether two specified instances of QueryObj are equal.

Parameters
leftThe first QueryObj to compare.
rightThe second QueryObj to compare.
Returns
true if left and right are equal; otherwise, false.

Definition at line 78 of file QueryObj.cs.

◆ Serialize()

override void Fauna.QueryObj.Serialize ( MappingContext  ctx,
Utf8FaunaWriter  writer 
)

Serializes the query value.

Parameters
ctxThe serialization context.
writerThe writer to serialize the query value to.

Implements Fauna.IQueryFragment.

Definition at line 30 of file QueryObj.cs.

◆ ToString()

override string Fauna.QueryObj.ToString ( )

Returns a string that represents the current QueryObj.

Returns
A string that represents the current QueryObj.

Property Documentation

◆ Unwrap

IDictionary<string, Query> Fauna.QueryObj.Unwrap
get

Gets the value of the specified type represented in the query.

Definition at line 14 of file QueryObj.cs.


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