Flex  0.17.9
Public Member Functions | Private Attributes | List of all members
gs::UpdateBatch Class Reference

#include <transaction_utils.h>

Public Member Functions

 UpdateBatch ()
 
 UpdateBatch (const UpdateBatch &other)=delete
 
 ~UpdateBatch ()
 
void clear ()
 
void AddVertex (label_t label, Any &&oid, std::vector< Any > &&props)
 
void AddEdge (label_t src_label, Any &&src, label_t dst_label, Any &&dst, label_t edge_label, Any &&prop)
 
const std::vector< std::tuple< label_t, Any, std::vector< Any > > > & GetUpdateVertices () const
 
const std::vector< std::tuple< label_t, Any, label_t, Any, label_t, Any > > & GetUpdateEdges () const
 
grape::InArchive & GetArc ()
 

Private Attributes

std::vector< std::tuple< label_t, Any, std::vector< Any > > > update_vertices_
 
std::vector< std::tuple< label_t, Any, label_t, Any, label_t, Any > > update_edges_
 
grape::InArchive arc_
 

Constructor & Destructor Documentation

◆ UpdateBatch() [1/2]

gs::UpdateBatch::UpdateBatch ( )
inline

◆ UpdateBatch() [2/2]

gs::UpdateBatch::UpdateBatch ( const UpdateBatch other)
delete

◆ ~UpdateBatch()

gs::UpdateBatch::~UpdateBatch ( )
inline

Member Function Documentation

◆ AddEdge()

void gs::UpdateBatch::AddEdge ( label_t  src_label,
Any &&  src,
label_t  dst_label,
Any &&  dst,
label_t  edge_label,
Any &&  prop 
)
inline

◆ AddVertex()

void gs::UpdateBatch::AddVertex ( label_t  label,
Any &&  oid,
std::vector< Any > &&  props 
)
inline

◆ clear()

void gs::UpdateBatch::clear ( )
inline

◆ GetArc()

grape::InArchive& gs::UpdateBatch::GetArc ( )
inline

◆ GetUpdateEdges()

const std::vector<std::tuple<label_t, Any, label_t, Any, label_t, Any> >& gs::UpdateBatch::GetUpdateEdges ( ) const
inline

◆ GetUpdateVertices()

const std::vector<std::tuple<label_t, Any, std::vector<Any> > >& gs::UpdateBatch::GetUpdateVertices ( ) const
inline

Member Data Documentation

◆ arc_

grape::InArchive gs::UpdateBatch::arc_
private

◆ update_edges_

std::vector<std::tuple<label_t, Any, label_t, Any, label_t, Any> > gs::UpdateBatch::update_edges_
private

◆ update_vertices_

std::vector<std::tuple<label_t, Any, std::vector<Any> > > gs::UpdateBatch::update_vertices_
private

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