PrimaryKeyAssigner (Oracle - Berkeley DB Java API)
Date: 2015-06-18

com.sleepycat.collections

## Interface PrimaryKeyAssigner

-     public interface PrimaryKeyAssigner

  An interface implemented to assign new primary key values. An implementation of this interface is passed to the `StoredMap` or `StoredSortedMap` constructor to assign primary keys for that store. Key assignment occurs when `StoredMap.append()` is called.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `assignKey(DatabaseEntry keyData)` Assigns a new primary key value into the given data buffer.

- - ### Method Detail

    - #### assignKey

          void assignKey(DatabaseEntry keyData)
                         throws DatabaseException

      Assigns a new primary key value into the given data buffer.
      Throws:
        `DatabaseException`

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