NebulaGraph Python Client 5.3.0
Loading...
Searching...
No Matches
Record Class Reference
+ Collaboration diagram for Record:

Public Member Functions

 __init__ (self, Optional[List[str]] column_names, Row row)
 
Iterator[Tuple[str, ValueWrapper]] __iter__ (self)
 
str __str__ (self)
 
ValueWrapper get (self, Union[int, str] key)
 
ValueWrapper __getitem__ (self, Union[int, str] key)
 
List[ValueWrapper] values (self)
 
Iterator[Tuple[str, ValueWrapper]] items (self)
 
int size (self)
 
bool contains (self, str column_name)
 
 for_each (self, action)
 
 spliterator (self)
 
Dict[str, Any] as_primitive (self)
 

Public Attributes

 mapping
 
 column_names
 
 col_values
 

Static Public Attributes

List column_names [str]
 
List col_values [ValueWrapper]
 
Optional mapping [Dict[str, int]]
 

Protected Member Functions

Dict[str, int] _get_mapping (self)
 

Detailed Description

Definition at line 139 of file result_set.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
Optional[List[str]]  column_names,
Row  row 
)

Definition at line 144 of file result_set.py.

Member Function Documentation

◆ __getitem__()

ValueWrapper __getitem__ (   self,
Union[int, str]  key 
)

Definition at line 184 of file result_set.py.

◆ __iter__()

Iterator[Tuple[str, ValueWrapper]] __iter__ (   self)

Definition at line 162 of file result_set.py.

◆ __str__()

str __str__ (   self)

Definition at line 165 of file result_set.py.

◆ _get_mapping()

Dict[str, int] _get_mapping (   self)
protected

Definition at line 155 of file result_set.py.

◆ as_primitive()

Dict[str, Any] as_primitive (   self)

Definition at line 207 of file result_set.py.

◆ contains()

bool contains (   self,
str  column_name 
)

Definition at line 197 of file result_set.py.

◆ for_each()

for_each (   self,
  action 
)

Definition at line 200 of file result_set.py.

◆ get()

ValueWrapper get (   self,
Union[int, str]  key 
)

Definition at line 169 of file result_set.py.

◆ items()

Iterator[Tuple[str, ValueWrapper]] items (   self)

Definition at line 190 of file result_set.py.

◆ size()

int size (   self)

Definition at line 194 of file result_set.py.

+ Here is the caller graph for this function:

◆ spliterator()

spliterator (   self)

Definition at line 204 of file result_set.py.

◆ values()

List[ValueWrapper] values (   self)

Definition at line 187 of file result_set.py.

+ Here is the caller graph for this function:

Member Data Documentation

◆ col_values [1/2]

List col_values [ValueWrapper]
static

Definition at line 141 of file result_set.py.

◆ col_values [2/2]

col_values

Definition at line 153 of file result_set.py.

◆ column_names [1/2]

List column_names [str]
static

Definition at line 140 of file result_set.py.

◆ column_names [2/2]

column_names

Definition at line 152 of file result_set.py.

◆ mapping [1/2]

Optional mapping [Dict[str, int]]
static

Definition at line 142 of file result_set.py.

◆ mapping [2/2]

mapping

Definition at line 150 of file result_set.py.


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