Sleepycat::XmlIndexSpecification.3pm

Langue: en

Version: 2008-10-21 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

XmlIndexSpecification - A Perl interface to the DbXml XmlIndexSpecification Class

SYNOPSIS

     use Sleepycat::DbXml;
 
     my $mgr = new XmlManager(...);
 
     my $ix = new XmlIndexSpecification();
     my $ix = $container->getIndexSpecification();
 
     $ix->addDefaultIndex($index);
     $ix->deleteDefaultIndex($index);
     $ix->replaceDefaultIndex($index);
 
     $ix->addIndex($uri, $name, $index);
     $ix->deleteIndex($uri, $name, $index);
     $ix->replaceIndex($uri, $name, $index);
     my $bool = $ix->find($uri, $name, $index);
     my $bool = $ix->next($uri, $name, $index);
     $ix->reset();
 
     my $type = XmlIndexSpecification::getValueType($string);
 
 

DESCRIPTION

CONFORMANCE to C++ API

The Perl interface to XMlValue is identical to the C++ API except for the following.
1.
An Index Strategy can only be speficied as a string. The use of an XmlIndexSpecification::Type and XmlValue::Type pair is unsupported at present.

Constructor

Methods


addDefaultIndex


deleteDefaultIndex


replaceDefaultIndex


addIndex


deleteIndex


replaceIndex


find


next


reset


my $type = XmlIndexSpecification::getValueType($string);


my $type = XmlIndexSpecification::getValueType($string);

EXAMPLES

SEE ALSO

AUTHOR

Paul Marquess