+I"Berkeley DB: DbInfo[P

DbInfo





import com.sleepycat.db.*;

public DbInfo();public DbInfo(DbInfo that);





Description



6This manual page describes the DbInfo class. A DbInfojobject is used in conjunction with the Db.open method to specify.particular configuration options for the open.=The DbInfo class provides simple access to an underlying data>structure, whose elements can be examined or changed using the#set_ or get_ methods.

EThe default constructor sets all elements of the underlying structureto zero.GSome of the fields are specific to a type of file format (one of btree,Ihashed and recno) and are thus named with an underscore separated string,0bt, h and re, respectively.wFor example, the DbInfo.set_bt_minkey method sets the underlyingHbt_minkey field, and this field is only used when opening a btreefile.

AIf possible, defaults appropriate for the system are used for the=DbInfo fields if no dbinfo parameter is provided or if7any fields of the DbInfo object are not explicitly set.



Class

DbInfo



See Also

NDbInfo.set_bt_compare,LDbInfo.set_bt_maxkey,LDbInfo.set_bt_minkey,LDbInfo.set_bt_prefix,LDbInfo.set_cachesize,HDbInfo.set_compare,DDbInfo.set_flags,LDbInfo.set_h_ffactor,FDbInfo.set_h_hash,HDbInfo.set_h_nelem,FDbInfo.set_lorder,FDbInfo.set_malloc,JDbInfo.set_pagesize,JDbInfo.set_re_delim,FDbInfo.set_re_len,EDbInfo.set_re_padandLDbInfo.set_re_source.
ÿÿ