primarykeyassigner.java

来自「关于Berkelay数据库的共享源码」· Java 代码 · 共 31 行

JAVA
31
字号
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2000-2006 *      Oracle Corporation.  All rights reserved. * * $Id: PrimaryKeyAssigner.java,v 12.3 2006/08/31 18:14:08 bostic Exp $ */package com.sleepycat.collections;import com.sleepycat.db.DatabaseEntry;import com.sleepycat.db.DatabaseException;/** * An interface implemented to assign new primary key values. * An implementation of this interface is passed to the {@link StoredMap} * or {@link StoredSortedMap} constructor to assign primary keys for that * store. Key assignment occurs when <code>StoredMap.append()</code> is called. * * @author Mark Hayes */public interface PrimaryKeyAssigner {    /**     * Assigns a new primary key value into the given data buffer.     */    void assignKey(DatabaseEntry keyData)        throws DatabaseException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?