afs_dbm_store - AFS - Reference Guides

AFS Filters Description

Product
AFS
Platform
7.12
Category
Reference Guides
Language
English

The afs_dbm_store filter generates a database from the given XML documents. This allows a very efficient retrieval of these documents in another context. The given XPath specifies the key of each XML document in the database.

The filter is declared with the afs_dbm_store type. It is in the antidot-paf-misc package. It is a processor filter.

This filter can be instantiated only once at any given moment. It will not read the "instances" parameter in the configuration.

The Write in key/value store filter specifications are described in the following table:

Parameter name

Mandatory

Type

Default

Description

xpath

Yes

string

N/A

The Xpath of the key of each document. A key must uniquely identify a document.

input_layer

No

layer

CONTENTS

The layer from which the XML data is read.

nsmap

No

map

Empty Map

Namespaces used to interpret the given xpath.

output_dir

No

directory

$AFS7/db

Directory where the generated repository.afs database must be serialized.

Attention: This filter can be instantiated only once at any given moment. It will not read the "instances" parameter in the configuration.