XmlIndexSpecification::addDefaultIndex API Ref

#include <DbXml.hpp>

void XmlIndexSpecification::addDefaultIndex(const std::string &index)

void XmlIndexSpecification::addDefaultIndex(Type type, XmlValue::Type syntax)


Description: XmlIndexSpecification::addDefaultIndex

Adds an indexing strategy to the default index specification. That is, the index provided on this method is applied to all nodes in a container, except for those for which an explicit index is already declared. For more information on specifying indexing strategies, see XmlIndexSpecification::addIndex.


Description: void XmlIndexSpecification::addDefaultIndex(const std::string &index)

Adds one or more indexing strategies to the default index.

Parameters
index

Errors

The XmlIndexSpecification::addDefaultIndex method may fail and throw XmlException, encapsulating one of the following non-zero errors:


UNKNOWN_INDEX

Description: void XmlIndexSpecification::addDefaultIndex(Type type, XmlValue::Type syntax)

Adds a single indexing strategy to the default index.

Parameters
type syntax

Errors

The XmlIndexSpecification::addDefaultIndex method may fail and throw XmlException, encapsulating one of the following non-zero errors:


UNKNOWN_INDEX

APIRef

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