FqlTupleItem
Namespace: FoundationDB.Client · struct
Implements: IFqlExpression, ICanExplain, IEquatable<FqlTupleItem>, IComparable<FqlTupleItem>, IComparable, IEquatable<FqlTupleExpression>, IEquatable<bool>, IEquatable<string>, IEquatable<int>, IEquatable<long>, IEquatable<uint>, IEquatable<ulong>, IEquatable<float>, IEquatable<double>, IEquatable<decimal>, IEquatable<Half>, IEquatable<Int128>, IEquatable<UInt128>, IEquatable<BigInteger>, IEquatable<ReadOnlySpan<char>>, IEquatable<Slice>, IEquatable<Guid>, IEquatable<Uuid128>, IEquatable<IVarTuple>, IEquatable<VersionStamp>, IEquatable<FqlVariableTypes>, IFormattable, ISpanFormattable
Constructors
FqlTupleItem
FqlTupleItem(FqlItemType type, object value = null, string name = null)
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
Methods
Boolean
static FqlTupleItem Boolean(bool value, string name = null)
Bytes
static FqlTupleItem Bytes(Slice value, string name = null)
CompareTo
int CompareTo(FqlTupleItem other)
int CompareTo(object other)
Equals
bool Equals(object obj)
bool Equals(FqlTupleItem other)
bool Equals(bool value)
bool Equals(int value)
bool Equals(long value)
bool Equals(uint value)
bool Equals(ulong value)
bool Equals(Int128 value)
bool Equals(UInt128 value)
bool Equals(BigInteger value)
bool Equals(float value)
bool Equals(double value)
bool Equals(Half value)
bool Equals(decimal value)
bool Equals(string value)
bool Equals(ReadOnlySpan<char> value)
bool Equals(Guid value)
bool Equals(Uuid128 value)
bool Equals(Slice value)
bool Equals(IVarTuple value)
bool Equals(SpanTuple value)
bool Equals(VersionStamp value)
bool Equals(FqlVariableTypes types)
bool Equals(FqlTupleExpression value)
Explain
void Explain(ExplanationBuilder builder)
Adds a human-readable description of this node into the log
GetHashCode
int GetHashCode()
Indirection
static FqlTupleItem Indirection(string name)
Int
static FqlTupleItem Int(int value, string name = null)
static FqlTupleItem Int(long value, string name = null)
static FqlTupleItem Int(uint value, string name = null)
static FqlTupleItem Int(ulong value, string name = null)
static FqlTupleItem Int(Int128 value, string name = null)
static FqlTupleItem Int(UInt128 value, string name = null)
static FqlTupleItem Int(BigInteger value, string name = null)
MatchTupleType
static bool MatchTupleType(FqlVariableTypes types, TupleSegmentType type)
MatchType
static bool MatchType(FqlVariableTypes types, object value)
Matches
bool Matches(object value)
bool Matches(ReadOnlySpan<byte> value)
MaybeMore
static FqlTupleItem MaybeMore()
Nil
static FqlTupleItem Nil(string name = null)
Num
static FqlTupleItem Num(float value, string name = null)
static FqlTupleItem Num(double value, string name = null)
static FqlTupleItem Num(Half value, string name = null)
static FqlTupleItem Num(decimal value, string name = null)
ParseVariableTypeLiteral
static FqlVariableTypes ParseVariableTypeLiteral(ReadOnlySpan<char> literal)
String
static FqlTupleItem String(string value, string name = null)
ToString
string ToString()
string ToString(string format, IFormatProvider provider = null)
ToVariableTypeLiteral
static string ToVariableTypeLiteral(FqlVariableTypes types)
TryFormat
bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = null, IFormatProvider provider = null)
Tuple
static FqlTupleItem Tuple(FqlTupleExpression value, string name = null)
Uuid
static FqlTupleItem Uuid(Guid value, string name = null)
static FqlTupleItem Uuid(Uuid128 value, string name = null)
VStamp
static FqlTupleItem VStamp(VersionStamp value, string name = null)
Variable
static FqlTupleItem Variable(FqlVariableTypes types, string name = null)
Fields
Name
readonly string Name
Type
readonly FqlItemType Type
Value
readonly object Value