#include <DbXml.hpp> bool XmlCompression::compress( XmlTransaction &txn, const XmlData &source, XmlData &dest) = 0
This function is called when data is placed in a container that has compression enabled. The function compresses the data from source into dest. The method should return true if compression was successful and false if not.
XmlTransaction The transaction used by the operation that is putting data into the container.
XmlData Contains the data to be compressed.
XmlData The buffer for the compressed data returned by this method.