2 * See the file LICENSE for redistribution information.
5 * Sleepycat Software. All rights reserved.
7 * @(#)db_join.h 10.2 (Sleepycat) 10/4/98
10 #pragma ident "%Z%%M% %I% %E% SMI"
15 * Joins use a join cursor that is similar to a regular DB cursor except
16 * that it only supports c_get and c_close functionality. Also, it does
17 * not support the full range of flags for get.
19 typedef struct __join_cursor
{
20 u_int32_t j_init
; /* Set when cursor is initialized. */
21 DBC
**j_curslist
; /* Array of cursors in the join. */
22 DB
*j_primary
; /* Primary dbp. */
23 DBT j_key
; /* Used to do lookups. */