GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RDF::CORE::STORAGE::DB_FILE (3)

.ds Aq ’

NAME

RDF::Core::Storage::DB_File - Berkeley DB 1.x implementation of RDF::Core::Storage

CONTENTS

SYNOPSIS



  require RDF::Core::Storage::DB_File;
  my $storage = new RDF::Core::Storage::DB_File(Name =>./rdfdata,
                                                 MemLimit => 5000,
                                                );
  my $model = new RDF::Core::Model (Storage => $storage);



DESCRIPTION

The storage is based on DB_File module and is using tie mechanism to access data.

    Interface

o new(%options)

Available options are:
o Name

The name of the storage. Several files will be created beginning with the Name. If Name is undef, storage is held in memory. Default value is null.

o Flags, Mode

The options is passed to DB_File module when tying variables. Default values are O_CREAT|O_RDWR for Flags and 0666 for Mode.

o MemLimit

When statements are retrieved from the storage, they are passed as an in-memory implementation of enumerator RDF::Core::Enumerator::Memory or less-in-memory implementation RDF::Core::Enumerator::DB_File. Setting MemLimit to non-zero says that storage should never return Memory enumerator for number of statements larger then MemLimit. As the decision of what to return is made before the accurate count of statements returned is known, DB_File enumerator may be returned even if MemLimit is not exceeded.

o Sync

A number of write operations to process before synchronizing storage data cache with disk. 0 means don’t force synchronizing.

The rest of the interface is described in RDF::Core::Storage.

LICENSE

This package is subject to the MPL (or the GPL alternatively).

AUTHOR

Ginger Alliance, rdf@gingerall.cz

SEE ALSO

DB_File, RDF::Core::Storage, RDF::Core::Enumerator::Memory, RDF::Core::Enumerator::DB_File, RDF::Core::Model
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RDF::CORE::STORAGE::DB_FILE (3) 2007-02-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.