nxt.db

## Class DbKey.HashHashKeyFactory<T>

- java.lang.Object
- - nxt.db.DbKey.Factory<T>
  - - nxt.db.DbKey.HashHashKeyFactory<T>

- Enclosing interface:
    DbKey

      public abstract static class DbKey.HashHashKeyFactory<T>
      extends DbKey.Factory<T>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HashHashKeyFactory(java.lang.String hashColumnA, java.lang.String idColumnA, java.lang.String hashColumnB, java.lang.String idColumnB)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DbKey` | `newKey(byte[] hashA, byte[] hashB)`
    `DbKey` | `newKey(byte[] hashA, long idA, byte[] hashB, long idB)`
    `DbKey` | `newKey(java.sql.ResultSet rs)`

    - ### Methods inherited from class nxt.db.DbKey.Factory

      `getPKClause, getPKColumns, getSelfJoinClause, newEntity, newKey`

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

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

- - ### Constructor Detail

    - #### HashHashKeyFactory

          public HashHashKeyFactory(java.lang.String hashColumnA,
                                    java.lang.String idColumnA,
                                    java.lang.String hashColumnB,
                                    java.lang.String idColumnB)

  - ### Method Detail

    - #### newKey

          public DbKey newKey(java.sql.ResultSet rs)
                       throws java.sql.SQLException

      Specified by:
        `newKey` in class `DbKey.Factory<T>`
      Throws:
        `java.sql.SQLException`

    - #### newKey

          public DbKey newKey(byte[] hashA,
                              byte[] hashB)

    - #### newKey

          public DbKey newKey(byte[] hashA,
                              long idA,
                              byte[] hashB,
                              long idB)