public interface PutHelper
Modifier and Type | Interface and Description |
---|---|
static interface |
PutHelper.RemotePutFunction |
Modifier and Type | Method and Description |
---|---|
default TKeyDataWithSecondaryKeys |
calculateSKey(SDatabaseEntry key,
SDatabaseEntry data)
Calculate the secondary keys generated for each secondary database for
the specified primary key / data pair.
|
java.util.Set<SSecondaryDatabase> |
getSecondaryDatabases()
Return the set of secondary databases associated with this primary
database.
|
default <V> V |
handleRuntimeExceptions(com.sleepycat.client.RemoteServiceCallable<V> remote) |
default <V> V |
remoteCall(com.sleepycat.client.RemoteServiceCallable<V> remote) |
default <V> V |
remoteCallWithIOException(com.sleepycat.client.RemoteServiceCallable<V> remote) |
default SOperationStatus |
remotePut(java.util.List<TKeyDataWithSecondaryKeys> pairs,
SDatabaseEntry retKey,
PutHelper.RemotePutFunction func) |
default TKeyDataWithSecondaryKeys calculateSKey(SDatabaseEntry key, SDatabaseEntry data)
key
- the primary keydata
- the primary datadefault SOperationStatus remotePut(java.util.List<TKeyDataWithSecondaryKeys> pairs, SDatabaseEntry retKey, PutHelper.RemotePutFunction func) throws SDatabaseException
SDatabaseException
java.util.Set<SSecondaryDatabase> getSecondaryDatabases()
default <V> V remoteCallWithIOException(com.sleepycat.client.RemoteServiceCallable<V> remote) throws java.io.IOException
java.io.IOException
default <V> V remoteCall(com.sleepycat.client.RemoteServiceCallable<V> remote)
default <V> V handleRuntimeExceptions(com.sleepycat.client.RemoteServiceCallable<V> remote) throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.