knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
MongoKnowledgeGraph.cpp File Reference
#include "knowrob/storage/mongo/MongoKnowledgeGraph.h"
#include "knowrob/storage/mongo/MongoTriplePattern.h"
#include "knowrob/storage/mongo/TripleCursor.h"
#include "knowrob/storage/mongo/MongoTriple.h"
#include "knowrob/storage/mongo/MongoInterface.h"
#include "knowrob/storage/StorageManager.h"
#include "knowrob/semweb/GraphSequence.h"
#include "knowrob/semweb/rdfs.h"
#include "knowrob/knowrob.h"
#include <boost/foreach.hpp>
Include dependency graph for MongoKnowledgeGraph.cpp:

Go to the source code of this file.

Macros

#define MONGO_KG_ONE_COLLECTION   "one"
 
#define MONGO_KG_SETTING_HOST   "host"
 
#define MONGO_KG_SETTING_PORT   "port"
 
#define MONGO_KG_SETTING_USER   "user"
 
#define MONGO_KG_SETTING_PASSWORD   "password"
 
#define MONGO_KG_SETTING_DB   "db"
 
#define MONGO_KG_SETTING_COLLECTION   "collection"
 
#define MONGO_KG_SETTING_READ_ONLY   "read-only"
 
#define MONGO_KG_SETTING_DROP   "drop"
 
#define MONGO_KG_DEFAULT_HOST   "localhost"
 
#define MONGO_KG_DEFAULT_PORT   "27017"
 
#define MONGO_KG_DEFAULT_DB   "knowrob"
 
#define MONGO_KG_DEFAULT_COLLECTION   "triples"
 
#define MONGO_KG_NUM_KEEP_ALIVE   5
 
#define PIPELINE_RELATION_COUNTER   "storage/mongo/aggregation/relation-counter.json"
 
#define PIPELINE_CLASS_COUNTER   "storage/mongo/aggregation/class-counter.json"
 

Macro Definition Documentation

◆ MONGO_KG_DEFAULT_COLLECTION

#define MONGO_KG_DEFAULT_COLLECTION   "triples"

Definition at line 31 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_DEFAULT_DB

#define MONGO_KG_DEFAULT_DB   "knowrob"

Definition at line 30 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_DEFAULT_HOST

#define MONGO_KG_DEFAULT_HOST   "localhost"

Definition at line 28 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_DEFAULT_PORT

#define MONGO_KG_DEFAULT_PORT   "27017"

Definition at line 29 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_NUM_KEEP_ALIVE

#define MONGO_KG_NUM_KEEP_ALIVE   5

Definition at line 33 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_ONE_COLLECTION

#define MONGO_KG_ONE_COLLECTION   "one"

Definition at line 17 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_SETTING_COLLECTION

#define MONGO_KG_SETTING_COLLECTION   "collection"

Definition at line 24 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_SETTING_DB

#define MONGO_KG_SETTING_DB   "db"

Definition at line 23 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_SETTING_DROP

#define MONGO_KG_SETTING_DROP   "drop"

Definition at line 26 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_SETTING_HOST

#define MONGO_KG_SETTING_HOST   "host"

Definition at line 19 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_SETTING_PASSWORD

#define MONGO_KG_SETTING_PASSWORD   "password"

Definition at line 22 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_SETTING_PORT

#define MONGO_KG_SETTING_PORT   "port"

Definition at line 20 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_SETTING_READ_ONLY

#define MONGO_KG_SETTING_READ_ONLY   "read-only"

Definition at line 25 of file MongoKnowledgeGraph.cpp.

◆ MONGO_KG_SETTING_USER

#define MONGO_KG_SETTING_USER   "user"

Definition at line 21 of file MongoKnowledgeGraph.cpp.

◆ PIPELINE_CLASS_COUNTER

#define PIPELINE_CLASS_COUNTER   "storage/mongo/aggregation/class-counter.json"

Definition at line 36 of file MongoKnowledgeGraph.cpp.

◆ PIPELINE_RELATION_COUNTER

#define PIPELINE_RELATION_COUNTER   "storage/mongo/aggregation/relation-counter.json"

Definition at line 35 of file MongoKnowledgeGraph.cpp.