kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDB::Repository::DatabaseInterface::PostgreSQL::RDFTermBinaryMarshal::AbstractSerialiser Class Referenceabstract

#include <RDFTermBinaryMarshal.h>

Public Member Functions

virtual cres_qresult< knowCore::Valueserialise (const knowCore::Value &_value) const =0
 
virtual cres_qresult< knowCore::Valueunserialise (const knowCore::Value &_value) const =0
 

Detailed Description

When storing a RDF Value in the database, RDFValueBinaryMarshal tries to store it as an efficient field first, if it cannot it is stored as a string literal using the to/fromRdfLiteral of knowCore::Value. This class allows to define alternative Serialisation, for instance, knowCore::Timestamp are stored as a number (knowCore::BigNumber).


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