XmlIndexSpecification::deleteDefaultIndex API Ref

#include <DbXml.hpp>

void XmlContainer::deleteDefaultIndex(const std::string &index)

void XmlContainer::deleteDefaultIndex(Type type, XmlValue::Type syntax)


Description: XmlIndexSpecification::deleteDefaultIndex

Delete the identified index from the default index specification. You can add additional indices to the default index specification using XmlIndexSpecification::addDefaultIndex. For more information on specifying indices, see XmlIndexSpecification::addIndex.


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

Deletes one or more indexing strategies to the default index.

Parameters
index

Errors

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


UNKNOWN_INDEX

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

Deletes a single indexing strategy from the default index.

Parameters
type syntax

Errors

The XmlIndexSpecification::deleteDefaultIndex 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.