XmlContainerConfig API Ref

#include <DbXml.hpp>

class DbXml::XmlContainerConfig { public: XmlContainerConfig(); XmlContainerConfig(const XmlContainerConfig &); ~XmlContainerConfig(); XmlContainerConfig &operator = (const XmlContainerConfig &) enum ConfigState { On, Off, UseDefault }; ... };


Description: XmlContainerConfig

The XmlContainerConfig class encapsulates all the properties with which a container can be created or opened. It is passed as an argument to XmlManager::createContainer and XmlManager::openContainer as well as other methods that previously accepted unsigned int flags paramters.

The default settings of the properties in an XmlContainerConfig object are listed in the following table.
PropertyValue
AllowCreatefalse
AllowValidationfalse
Checksumfalse
CompressionNameDEFAULT_COMPRESSION -- on for WholedocContainer; off for NodeContainer
ContainerTypeXmlContainer::NodeContainer
Encryptedfalse
ExclusiveCreatefalse
IndexNodesOn for NodeContainer; Off for WholedocContainer
Mode0
Multiversionfalse
NoMMapfalse
PageSize8192 for NodeContainer; 16384 for WholedocContainer
ReadOnlyfalse
ReadUncommittedfalse
SequenceIncrement5
StatisticsOn
Threadedfalse
TransactionNotDurablefalse

This object is not thread-safe, and can only be safely used by one thread at a time in an application.

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.