pub struct GraphQueryOutput { /* private fields */ }
Implementations§
source§impl GraphQueryOutput
impl GraphQueryOutput
pub fn get_error_code(&self) -> ErrorCode
pub fn get_latency(&self) -> i64
pub fn get_latency_in_ms(&self) -> i64
pub fn get_space_name(&self) -> Option<String>
pub fn get_error_msg(&self) -> Option<String>
pub fn is_set_plan_desc(&self) -> bool
pub fn get_plan_desc(&self) -> &Option<PlanDescription>
pub fn is_set_comment(&self) -> bool
pub fn get_comment(&self) -> Option<String>
pub fn is_succeed(&self) -> bool
pub fn is_partial_succeed(&self) -> bool
source§impl GraphQueryOutput
impl GraphQueryOutput
pub fn dataset(&self) -> Option<&DataSetWrapper>
pub fn mut_dataset(&mut self) -> Option<&mut DataSetWrapper>
pub fn as_string_table(&self) -> Option<Vec<Vec<String>>>
pub fn get_values_by_col_name( &self, col_name: &str, ) -> Result<Vec<ValueWrapper<'_>>, DataSetError>
pub fn get_row_values_by_index( &self, index: usize, ) -> Result<Record<'_>, DataSetError>
pub fn scan<D>(&self) -> Result<Vec<D>, DataSetError>where
D: DeserializeOwned,
pub fn get_row_size(&self) -> usize
pub fn get_col_size(&self) -> usize
pub fn get_rows(&self) -> Option<&Vec<Row>>
pub fn get_col_names(&self) -> Option<&Vec<Vec<u8>>>
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphQueryOutput
impl RefUnwindSafe for GraphQueryOutput
impl Send for GraphQueryOutput
impl Sync for GraphQueryOutput
impl Unpin for GraphQueryOutput
impl UnwindSafe for GraphQueryOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more