DatabaseType (Oracle - Berkeley DB Java API)
Date: 2018-05-29

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
    Modifier and Type | Field and Description
    --- | ---
    `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

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

Copyright (c) 1996, 2018 Oracle and/or its affiliates. All rights reserved.