|
enum class | Mode { ToVariant = 0x1
, ToByteArray = 0x2
} |
|
|
| AbstractBinaryMarshal (const QString &_oid, const knowCore::Uri &_datatype, const Modes &_modes) |
|
◆ toByteArray()
Convert a knowCore::Value to a postgresql binary representation.
- Parameters
-
_oidName | is filled with the postgresql OID name |
Reimplemented in kDB::Repository::DatabaseInterface::PostgreSQL::RDFTermBinaryMarshal, kDB::Repository::DatabaseInterface::PostgreSQL::RDFValueBinaryMarshal, kDB::Repository::Details::BinaryMarshal< _T_ >, kDB::Repository::Details::ByteaBinaryMarshal, kDB::Repository::Details::JsonbBinaryMarshal< _T_ >, kDB::Repository::Details::TimestampMarshal, kDB::Repository::Details::UriMarshal, kDB::Repository::Details::WriteBinaryMarshal< _T_ >, kDBGIS::GeometryObjectMarshal, kDBGIS::GeoPointMarshal, kDBGIS::PointMarshal, kDBGIS::SQLRasterMarshal, kDBMapping::OcTreeMarshalImpl< _T_ >, kDBPointClouds::SQLPatchMarshal, and kDBRobotics::GeoPoseMarshal.
◆ toValue()
Convert from a postgresql binary representation to a knowCore::Value value.
Reimplemented in kDB::Repository::DatabaseInterface::PostgreSQL::RDFTermBinaryMarshal, kDB::Repository::DatabaseInterface::PostgreSQL::RDFValueBinaryMarshal, kDB::Repository::Details::BinaryMarshal< _T_ >, kDB::Repository::Details::ByteaBinaryMarshal, kDB::Repository::Details::JsonbBinaryMarshal< _T_ >, kDB::Repository::Details::JsonBinaryMarshal< _T_ >, kDB::Repository::Details::ReadBinaryMarshal< _T_ >, kDB::Repository::Details::TimestampMarshal, kDB::Repository::Details::UriMarshal, kDBGIS::GeometryObjectMarshal, kDBGIS::GeoPointMarshal, kDBGIS::PointMarshal, kDBGIS::SQLRasterMarshal, kDBMapping::OcTreeMarshalImpl< _T_ >, kDBPointClouds::SQLPatchMarshal, and kDBRobotics::GeoPoseMarshal.
The documentation for this class was generated from the following files: