medmodels.medrecord.querying#
Query API for MedRecord.
Module Attributes
A type alias for a query return operand. |
|
A type alias for a query result. |
Classes
|
Enumeration of edge directions. |
- class EdgeAttributesTreeGroupOperand[source]#
Bases:
object
- class EdgeAttributesTreeOperand[source]#
Bases:
object
- class EdgeDirection(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
EnumEnumeration of edge directions.
- BOTH = 2#
- INCOMING = 0#
- OUTGOING = 1#
- classmethod __contains__(value)#
Return True if value is in cls.
value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members. 3) value is a pseudo-member (flags)
- classmethod __getitem__(name)#
Return the member matching name.
- classmethod __iter__()#
Return members in definition order.
- classmethod __len__()#
Return the number of members (no aliases)
- class EdgeGroupOperand[source]#
Bases:
object
- class EdgeIndexGroupOperand[source]#
Bases:
object
- class EdgeIndicesGroupOperand[source]#
Bases:
object
- class EdgeIndicesOperand[source]#
Bases:
object
- class EdgeMultipleAttributesWithIndexGroupOperand[source]#
Bases:
object
- class EdgeMultipleAttributesWithIndexOperand[source]#
Bases:
object
- class EdgeMultipleAttributesWithoutIndexOperand[source]#
Bases:
object
- class EdgeMultipleValuesWithIndexGroupOperand[source]#
Bases:
object
- class EdgeMultipleValuesWithIndexOperand[source]#
Bases:
object
- class EdgeMultipleValuesWithoutIndexOperand[source]#
Bases:
object
- class EdgeOperand[source]#
Bases:
object
- class EdgeSingleAttributeWithIndexGroupOperand[source]#
Bases:
object
- class EdgeSingleAttributeWithoutIndexGroupOperand[source]#
Bases:
object
- class EdgeSingleValueWithIndexGroupOperand[source]#
Bases:
object
- class EdgeSingleValueWithoutIndexGroupOperand[source]#
Bases:
object
- class NodeAttributesTreeGroupOperand[source]#
Bases:
object
- class NodeAttributesTreeOperand[source]#
Bases:
object
- class NodeGroupOperand[source]#
Bases:
object
- class NodeIndexGroupOperand[source]#
Bases:
object
- class NodeIndicesGroupOperand[source]#
Bases:
object
- class NodeIndicesOperand[source]#
Bases:
object
- class NodeMultipleAttributesWithIndexGroupOperand[source]#
Bases:
object
- class NodeMultipleAttributesWithIndexOperand[source]#
Bases:
object
- class NodeMultipleAttributesWithoutIndexOperand[source]#
Bases:
object
- class NodeMultipleValuesWithIndexGroupOperand[source]#
Bases:
object
- class NodeMultipleValuesWithIndexOperand[source]#
Bases:
object
- class NodeMultipleValuesWithoutIndexOperand[source]#
Bases:
object
- class NodeOperand[source]#
Bases:
object
- class NodeSingleAttributeWithIndexGroupOperand[source]#
Bases:
object
- class NodeSingleAttributeWithoutIndexGroupOperand[source]#
Bases:
object
- class NodeSingleValueWithIndexGroupOperand[source]#
Bases:
object
- class NodeSingleValueWithoutIndexGroupOperand[source]#
Bases:
object
- QueryResult#
A type alias for a query result.
alias of
Dict[str|int,List[str|int]] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Dict[str|int,List[str|int]]]] |Dict[int,List[str|int]] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Dict[int,List[str|int]]]] |Dict[str|int,str|int] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Dict[str|int,str|int]]] |List[str|int] |Dict[int,str|int] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Dict[int,str|int]]] |Tuple[str|int,str|int] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Tuple[str|int,str|int]]] |str|int|List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],str|int]] |Tuple[int,str|int] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Tuple[int,str|int]]] |List[int] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],List[int]]] |None|List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],int|None]] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],List[str|int]]] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],str|int|None]] |Dict[str|int,str|int|float|bool|datetime|timedelta|None] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Dict[str|int,str|int|float|bool|datetime|timedelta|None]]] |List[str|int|float|bool|datetime|timedelta|None] |Dict[int,str|int|float|bool|datetime|timedelta|None] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Dict[int,str|int|float|bool|datetime|timedelta|None]]] |Tuple[str|int,str|int|float|bool|datetime|timedelta|None] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Tuple[str|int,str|int|float|bool|datetime|timedelta|None]]] |float|bool|datetime|timedelta|List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],str|int|float|bool|datetime|timedelta|None]] |Tuple[int,str|int|float|bool|datetime|timedelta|None] |List[Tuple[str|int|float|bool|datetime|timedelta|None|Tuple[GroupKey,GroupKey],Tuple[int,str|int|float|bool|datetime|timedelta|None]]] |List[QueryResult]
- QueryReturnOperand#
A type alias for a query return operand.
alias of
NodeAttributesTreeOperand|NodeAttributesTreeGroupOperand|EdgeAttributesTreeOperand|EdgeAttributesTreeGroupOperand|NodeMultipleAttributesWithIndexOperand|NodeMultipleAttributesWithIndexGroupOperand|NodeMultipleAttributesWithoutIndexOperand|EdgeMultipleAttributesWithIndexOperand|EdgeMultipleAttributesWithIndexGroupOperand|EdgeMultipleAttributesWithoutIndexOperand|NodeSingleAttributeWithIndexOperand|NodeSingleAttributeWithIndexGroupOperand|NodeSingleAttributeWithoutIndexOperand|NodeSingleAttributeWithoutIndexGroupOperand|EdgeSingleAttributeWithIndexOperand|EdgeSingleAttributeWithIndexGroupOperand|EdgeSingleAttributeWithoutIndexOperand|EdgeSingleAttributeWithoutIndexGroupOperand|EdgeIndicesOperand|EdgeIndicesGroupOperand|EdgeIndexOperand|EdgeIndexGroupOperand|NodeIndicesOperand|NodeIndicesGroupOperand|NodeIndexOperand|NodeIndexGroupOperand|NodeMultipleValuesWithIndexOperand|NodeMultipleValuesWithIndexGroupOperand|NodeMultipleValuesWithoutIndexOperand|EdgeMultipleValuesWithIndexOperand|EdgeMultipleValuesWithIndexGroupOperand|EdgeMultipleValuesWithoutIndexOperand|NodeSingleValueWithIndexOperand|NodeSingleValueWithIndexGroupOperand|NodeSingleValueWithoutIndexOperand|NodeSingleValueWithoutIndexGroupOperand|EdgeSingleValueWithIndexOperand|EdgeSingleValueWithIndexGroupOperand|EdgeSingleValueWithoutIndexOperand|EdgeSingleValueWithoutIndexGroupOperand|Sequence[QueryReturnOperand]