Lines Matching +full:data +full:- +full:only
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
49 The flat-file format is a byte stream file with fixed or variable length
77 routine, however, only the
91 .\".Bl -tag -width indent
94 .\"If concurrent access is not needed or the database is read-only this
147 .Bd -literal
153 int (*get)(const DB *db, const DBT *key, DBT *data, u_int flags);
154 int (*put)(const DB *db, DBT *key, const DBT *data,
157 int (*seq)(const DB *db, DBT *key, DBT *data, u_int flags);
165 and sometimes one or more pointers to key/data structures and a flag value.
166 .Bl -tag -width indent
172 Since key/data pairs may be cached in memory, failing to sync the file
179 routines return -1 on error (setting
183 A pointer to a routine to remove key/data pairs from the database.
189 .Bl -tag -width indent
196 routines return -1 on error (setting
219 routines return -1 on error (setting
225 The address and length of the data associated with the specified
228 .Fa data .
230 routines return -1 on error (setting
236 A pointer to a routine to store key/data pairs in the database.
242 .Bl -tag -width indent
244 Replace the key/data pair referenced by the cursor.
247 Append the data immediately after the data referenced by
249 creating a new key/data pair.
250 The record number of the appended key/data pair is returned in the
253 (Applicable only to the
257 Insert the data immediately before the data referenced by
259 creating a new key/data pair.
260 The record number of the inserted key/data pair is returned in the
263 (Applicable only to the
267 Enter the new key/data pair only if the key does not previously exist.
269 Store the key/data pair, setting or initializing the position of the
271 (Applicable only to the
279 is available only for the
290 are available only for the
294 This is only true if the keys are ordered and independent, record numbers
299 routines is to enter the new key/data pair, replacing any previously
303 routines return -1 on error (setting
315 and the address and length of the data are returned in the
318 .Fa data .
320 Sequential key/data pair retrieval may begin at any time, and the
339 .Bl -tag -width indent
341 The data associated with the specified key is returned.
353 The first key/data pair of the database is returned, and the cursor
356 The last key/data pair of the database is returned, and the cursor
358 (Applicable only to the
364 Retrieve the key/data pair immediately after the cursor.
369 Retrieve the key/data pair immediately before the cursor.
373 (Applicable only to the
383 are available only for the
391 routines return -1 on error (setting
393 0 on success and 1 if there are no key/data pairs less than or greater
398 is a character special file and no complete key/data pairs are currently
404 If the database is in memory only, the
411 .Bl -tag -width indent
428 routines return -1 on error (setting
432 .Sh "KEY/DATA PAIRS"
433 Access to all file types is based on key/data pairs.
434 Both keys and data are represented by the following data structure:
435 .Bd -literal
437 void *data;
445 .Bl -tag -width "data"
446 .It Va data
452 Key and data byte strings may reference strings of essentially unlimited
467 .Bl -tag -width Er
535 .Dq "data base thang" ,