com.sleepycat.db

## Class DatabaseType

- java.lang.Object
- - com.sleepycat.db.DatabaseType

    public final class DatabaseType
    extends java.lang.Object

Database types.

### Field Summary

Fields
`static DatabaseType` `BTREE` The database is a Btree.
`static DatabaseType` `HASH` The database is a Hash.
`static DatabaseType` `HEAP` The database is a Heap.
`static DatabaseType` `QUEUE` The database is a Queue.
`static DatabaseType` `RECNO` The database is a Recno.
`static DatabaseType` `UNKNOWN` The database type is unknown.

### Method Summary

Methods
`java.lang.String` `toString()`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Field Detail

#### BTREE

    public static final DatabaseType BTREE

The database is a Btree. The Btree format is a representation of a sorted, balanced tree structure.

#### HASH

    public static final DatabaseType HASH

The database is a Hash. The Hash format is an extensible, dynamic hashing scheme.

#### HEAP

    public static final DatabaseType HEAP

The database is a Heap. The Heap format is designed for efficient use of disk space.

#### QUEUE

    public static final DatabaseType QUEUE

The database is a Queue. The Queue format supports fast access to fixed-length records accessed sequentially or by logical record number.

#### RECNO

    public static final DatabaseType RECNO

The database is a Recno. The Recno format supports fixed- or variable-length records, accessed sequentially or by logical record number, and optionally backed by a flat text file.

#### UNKNOWN

    public static final DatabaseType UNKNOWN

The database type is unknown.

### Method Detail

#### toString

    public java.lang.String toString()

Overrides:
  `toString` in class `java.lang.Object`