public interface Slice
You configure the database with this handler using the
DatabaseConfig.setSliceCallback(com.sleepycat.db.Slice)
method.
Modifier and Type | Method | Description |
---|---|---|
boolean |
slice(Database db,
DatabaseEntry key,
DatabaseEntry sliceKey) |
The application-specific database slice callback.
|
boolean slice(Database db, DatabaseEntry key, DatabaseEntry sliceKey)
db
- The enclosing database handle.key
- A database entry representing the database key that is being put into the database, or
used to retrieve an existing record in the database.sliceKey
- A database entry containing data used to determine to what slice the key is applied.Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.