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

#include <read_transaction.h>

Collaboration diagram for gs::ReadTransaction:
Collaboration graph
[legend]

Classes

class  edge_iterator
 
class  vertex_iterator
 

Public Member Functions

 ReadTransaction (const MutablePropertyFragment &graph, VersionManager &vm, timestamp_t timestamp)
 
 ~ReadTransaction ()
 
timestamp_t timestamp () const
 
void Commit ()
 
void Abort ()
 
const MutablePropertyFragmentgraph () const
 
const std::shared_ptr< ColumnBaseget_vertex_property_column (uint8_t label, const std::string &col_name) const
 
vertex_iterator GetVertexIterator (label_t label) const
 
vertex_iterator FindVertex (label_t label, const Any &id) const
 
bool GetVertexIndex (label_t label, const Any &id, vid_t &index) const
 
vid_t GetVertexNum (label_t label) const
 
Any GetVertexId (label_t label, vid_t index) const
 
edge_iterator GetOutEdgeIterator (label_t label, vid_t u, label_t neighbor_label, label_t edge_label) const
 
edge_iterator GetInEdgeIterator (label_t label, vid_t u, label_t neighbor_label, label_t edge_label) const
 
template<typename EDATA_T >
AdjListView< EDATA_T > GetOutgoingEdges (label_t v_label, vid_t v, label_t neighbor_label, label_t edge_label) const
 
template<typename EDATA_T >
AdjListView< EDATA_T > GetIncomingEdges (label_t v_label, vid_t v, label_t neighbor_label, label_t edge_label) const
 
const Schemaschema () const
 
template<typename EDATA_T >
GraphView< EDATA_T > GetOutgoingGraphView (label_t v_label, label_t neighbor_label, label_t edge_label) const
 
template<typename EDATA_T >
GraphView< EDATA_T > GetIncomingGraphView (label_t v_label, label_t neighbor_label, label_t edge_label) const
 
template<typename EDATA_T >
SingleGraphView< EDATA_T > GetOutgoingSingleGraphView (label_t v_label, label_t neighbor_label, label_t edge_label) const
 
template<typename EDATA_T >
SingleGraphView< EDATA_T > GetIncomingSingleGraphView (label_t v_label, label_t neighbor_label, label_t edge_label) const
 
template<typename EDATA_T >
SingleImmutableGraphView< EDATA_T > GetOutgoingSingleImmutableGraphView (label_t v_label, label_t neighbor_label, label_t edge_label) const
 
template<typename EDATA_T >
SingleImmutableGraphView< EDATA_T > GetIncomingSingleImmutableGraphView (label_t v_label, label_t neighbor_label, label_t edge_label) const
 

Private Member Functions

void release ()
 

Private Attributes

const MutablePropertyFragmentgraph_
 
VersionManagervm_
 
timestamp_t timestamp_
 

Constructor & Destructor Documentation

◆ ReadTransaction()

gs::ReadTransaction::ReadTransaction ( const MutablePropertyFragment graph,
VersionManager vm,
timestamp_t  timestamp 
)

◆ ~ReadTransaction()

gs::ReadTransaction::~ReadTransaction ( )

Member Function Documentation

◆ Abort()

void gs::ReadTransaction::Abort ( )

◆ Commit()

void gs::ReadTransaction::Commit ( )

◆ FindVertex()

ReadTransaction::vertex_iterator gs::ReadTransaction::FindVertex ( label_t  label,
const Any id 
) const

◆ get_vertex_property_column()

const std::shared_ptr<ColumnBase> gs::ReadTransaction::get_vertex_property_column ( uint8_t  label,
const std::string &  col_name 
) const
inline

◆ GetIncomingEdges()

template<typename EDATA_T >
AdjListView<EDATA_T> gs::ReadTransaction::GetIncomingEdges ( label_t  v_label,
vid_t  v,
label_t  neighbor_label,
label_t  edge_label 
) const
inline

◆ GetIncomingGraphView()

template<typename EDATA_T >
GraphView<EDATA_T> gs::ReadTransaction::GetIncomingGraphView ( label_t  v_label,
label_t  neighbor_label,
label_t  edge_label 
) const
inline

◆ GetIncomingSingleGraphView()

template<typename EDATA_T >
SingleGraphView<EDATA_T> gs::ReadTransaction::GetIncomingSingleGraphView ( label_t  v_label,
label_t  neighbor_label,
label_t  edge_label 
) const
inline

◆ GetIncomingSingleImmutableGraphView()

template<typename EDATA_T >
SingleImmutableGraphView<EDATA_T> gs::ReadTransaction::GetIncomingSingleImmutableGraphView ( label_t  v_label,
label_t  neighbor_label,
label_t  edge_label 
) const
inline

◆ GetInEdgeIterator()

ReadTransaction::edge_iterator gs::ReadTransaction::GetInEdgeIterator ( label_t  label,
vid_t  u,
label_t  neighbor_label,
label_t  edge_label 
) const

◆ GetOutEdgeIterator()

ReadTransaction::edge_iterator gs::ReadTransaction::GetOutEdgeIterator ( label_t  label,
vid_t  u,
label_t  neighbor_label,
label_t  edge_label 
) const

◆ GetOutgoingEdges()

template<typename EDATA_T >
AdjListView<EDATA_T> gs::ReadTransaction::GetOutgoingEdges ( label_t  v_label,
vid_t  v,
label_t  neighbor_label,
label_t  edge_label 
) const
inline

◆ GetOutgoingGraphView()

template<typename EDATA_T >
GraphView<EDATA_T> gs::ReadTransaction::GetOutgoingGraphView ( label_t  v_label,
label_t  neighbor_label,
label_t  edge_label 
) const
inline

◆ GetOutgoingSingleGraphView()

template<typename EDATA_T >
SingleGraphView<EDATA_T> gs::ReadTransaction::GetOutgoingSingleGraphView ( label_t  v_label,
label_t  neighbor_label,
label_t  edge_label 
) const
inline

◆ GetOutgoingSingleImmutableGraphView()

template<typename EDATA_T >
SingleImmutableGraphView<EDATA_T> gs::ReadTransaction::GetOutgoingSingleImmutableGraphView ( label_t  v_label,
label_t  neighbor_label,
label_t  edge_label 
) const
inline

◆ GetVertexId()

Any gs::ReadTransaction::GetVertexId ( label_t  label,
vid_t  index 
) const

◆ GetVertexIndex()

bool gs::ReadTransaction::GetVertexIndex ( label_t  label,
const Any id,
vid_t index 
) const

◆ GetVertexIterator()

ReadTransaction::vertex_iterator gs::ReadTransaction::GetVertexIterator ( label_t  label) const

◆ GetVertexNum()

vid_t gs::ReadTransaction::GetVertexNum ( label_t  label) const

◆ graph()

const MutablePropertyFragment & gs::ReadTransaction::graph ( ) const

◆ release()

void gs::ReadTransaction::release ( )
private

◆ schema()

const Schema & gs::ReadTransaction::schema ( ) const

◆ timestamp()

timestamp_t gs::ReadTransaction::timestamp ( ) const

Member Data Documentation

◆ graph_

const MutablePropertyFragment& gs::ReadTransaction::graph_
private

◆ timestamp_

timestamp_t gs::ReadTransaction::timestamp_
private

◆ vm_

VersionManager& gs::ReadTransaction::vm_
private

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