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

#include <cypher_write_app.h>

Inheritance diagram for gs::CypherWriteApp:
Inheritance graph
[legend]
Collaboration diagram for gs::CypherWriteApp:
Collaboration graph
[legend]

Public Member Functions

 CypherWriteApp (const GraphDB &db)
 
AppType type () const override
 
bool Query (GraphDBSession &graph, Decoder &input, Encoder &output) override
 
const runtime::OprTimer & timer () const
 
runtime::OprTimer & timer ()
 
- Public Member Functions inherited from gs::WriteAppBase
AppMode mode () const override
 
bool run (GraphDBSession &db, Decoder &input, Encoder &output) override
 
- Public Member Functions inherited from gs::AppBase
virtual ~AppBase ()
 

Private Attributes

const GraphDBdb_
 
std::unordered_map< std::string, physical::PhysicalPlan > plan_cache_
 
std::unordered_map< std::string, runtime::InsertPipeline > pipeline_cache_
 
runtime::OprTimer timer_
 

Additional Inherited Members

- Public Types inherited from gs::AppBase
enum  AppType : uint8_t { AppType::kCppProcedure = 0, AppType::kCypherProcedure = 1, AppType::kCypherAdhoc = 2, AppType::kBuiltIn = 3 }
 
enum  AppMode : uint8_t { AppMode::kRead = 0, AppMode::kWrite = 1 }
 

Constructor & Destructor Documentation

◆ CypherWriteApp()

gs::CypherWriteApp::CypherWriteApp ( const GraphDB db)
inline

Member Function Documentation

◆ Query()

bool gs::CypherWriteApp::Query ( GraphDBSession graph,
Decoder input,
Encoder output 
)
overridevirtual

Implements gs::WriteAppBase.

◆ timer() [1/2]

runtime::OprTimer& gs::CypherWriteApp::timer ( )
inline

◆ timer() [2/2]

const runtime::OprTimer& gs::CypherWriteApp::timer ( ) const
inline

◆ type()

AppType gs::CypherWriteApp::type ( ) const
inlineoverridevirtual

Reimplemented from gs::WriteAppBase.

Member Data Documentation

◆ db_

const GraphDB& gs::CypherWriteApp::db_
private

◆ pipeline_cache_

std::unordered_map<std::string, runtime::InsertPipeline> gs::CypherWriteApp::pipeline_cache_
private

◆ plan_cache_

std::unordered_map<std::string, physical::PhysicalPlan> gs::CypherWriteApp::plan_cache_
private

◆ timer_

runtime::OprTimer gs::CypherWriteApp::timer_
private

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