Berkeley DB: DbEnv.set_lorder
Полезная информация


import com.sleepycat.db.*;

public void set_lorder(int lorder);


Set the byte order for integers in the stored database metadata. The value specified should represent the order as an integer, for example, big endian order is the number 4,321, and little endian order is the number 1,234. If no value is specified, the host order of the machine where the Berkeley DB library was compiled is used.

The specified value is ignored except when databases are being created. If a database already exists, the byte order it uses is determined when the file is read.

The access methods provide no guarantees about the byte ordering of the application data stored in the database, and applications are responsible for maintaining any necessary ordering.



See Also

DbEnv.appinit, DbEnv.appexit, DbEnv.version, DbEnv.get_lg_info, DbEnv.get_lk_info, DbEnv.get_mp_info, DbEnv.get_tx_info, dbenv_set_data_dir, DbEnv.set_errcall, DbEnv.set_error_stream, DbEnv.set_errpfx, DbEnv.set_lg_max, DbEnv.set_lk_conflicts, DbEnv.set_lk_detect, DbEnv.set_lk_modes, DbEnv.set_lorder, DbEnv.set_mp_mmapsize, DbEnv.set_mp_size, DbEnv.set_tx_max, and DbEnv.set_verbose.