nxt.db

## Class DbVersion

- java.lang.Object
- - nxt.db.DbVersion

- Direct Known Subclasses:
    ChildDbVersion, FxtDbVersion

      public abstract class DbVersion
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected BasicDb` | `db`
    `protected java.lang.String` | `schema`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `DbVersion(BasicDb db, java.lang.String schema)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `apply(java.lang.String sql)`
    `protected abstract void` | `update(int nextUpdate)`

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

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

- - ### Field Detail

    - #### db

          protected final BasicDb db

    - #### schema

          protected final java.lang.String schema

  - ### Constructor Detail

    - #### DbVersion

          protected DbVersion(BasicDb db,
                              java.lang.String schema)

  - ### Method Detail

    - #### apply

          protected void apply(java.lang.String sql)

    - #### update

          protected abstract void update(int nextUpdate)