budosystems.storage.query¶
Query builder classes.
Module Attributes
Type variable for the final result of an evaluated |
|
Type variable for the final result of an evaluated |
|
A combination of primitives and operators that evaluate to a boolean. |
|
Type variable for the operands of an |
|
Type variable for the result of an |
|
AND query operator. |
|
OR query operator. |
|
XOR (Exclusive Or) query operator. |
|
LE (Less Than Or Equal) query operator. |
|
LT (Less Than) query operator. |
|
GE (Greater Than Or Equal) query operator. |
|
GT (Greater Than) query operator. |
|
EQ (Equals) query operator. |
|
NE (Not Equals) query operator. |
|
TRUE query literal. |
|
FALSE query literal. |
|
NONE query literal. |
Classes
Bridge class |
|
Once evaluated, instances of this operator will return the truth value of all it's boolean operands combined by the same operator. |
|
Evaluable operator_func expression which give results of the same type as it's operands |
|
Any object that supports comparison operators. |
|
Type of expression that results in a concrete type that supports comparisons. |
|
Evaluable comparison operator_func. |
|
Once evaluated, instances of this operator will return the truth value of all it's operands when compared to one another in the order they were given by the same comparator. |
|
An entity in the query language. |
|
A combination of primitives and operators that evaluate to a concrete type. |
|
A field in the query language. |
|
A simple concrete value expression representing a literal. |
|
Callback protocol for the signature of the function tha will evaluate the |
|
Evaluable operator_func expression. |
|
An operator_func that combines components to evaluate to some value during the query. |
|
Root class of a query. |
|
A generic variable in the query language. |
- class ExpressionResult_co¶
Type variable for the final result of an evaluated
Expression
(covariant type).alias of TypeVar(‘ExpressionResult_co’, covariant=True)
- class ExpressionResult¶
Type variable for the final result of an evaluated
Expression
(invariant type).alias of TypeVar(‘ExpressionResult’)
- Predicate¶
A combination of primitives and operators that evaluate to a boolean.
alias of
Expression
[bool
]
- class OperandType_contra¶
Type variable for the operands of an
Operator
.alias of TypeVar(‘OperandType_contra’, contravariant=True)
- class OperationResult_co¶
Type variable for the result of an
Operator
.alias of TypeVar(‘OperationResult_co’, covariant=True)
- AND = <budosystems.storage.query.BooleanOperator object>¶
AND query operator.
- OR = <budosystems.storage.query.BooleanOperator object>¶
OR query operator.
- XOR = <budosystems.storage.query.BooleanOperator object>¶
XOR (Exclusive Or) query operator.
- LE = <budosystems.storage.query.ComparisonOperator object>¶
LE (Less Than Or Equal) query operator.
- LT = <budosystems.storage.query.ComparisonOperator object>¶
LT (Less Than) query operator.
- GE = <budosystems.storage.query.ComparisonOperator object>¶
GE (Greater Than Or Equal) query operator.
- GT = <budosystems.storage.query.ComparisonOperator object>¶
GT (Greater Than) query operator.
- EQ = <budosystems.storage.query.ComparisonOperator object>¶
EQ (Equals) query operator.
- NE = <budosystems.storage.query.ComparisonOperator object>¶
NE (Not Equals) query operator.
- TRUE = <budosystems.storage.query.LiteralExpression object>¶
TRUE query literal.
- FALSE = <budosystems.storage.query.LiteralExpression object>¶
FALSE query literal.
- NONE = <budosystems.storage.query.LiteralExpression object>¶
NONE query literal.