- add(int) - Method in class com.apple.foundationdb.KeySelector
-
Returns a new KeySelector
offset by a given
number of keys from this one.
- add(String) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a String
appended as the last element.
- add(long) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a long
appended as the last element.
- add(byte[]) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a byte
array appended as the last element.
- add(boolean) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a boolean
appended as the last element.
- add(UUID) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a UUID
appended as the last element.
- add(BigInteger) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a BigInteger
appended as the last element.
- add(float) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a float
appended as the last element.
- add(double) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a double
appended as the last element.
- add(Versionstamp) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this
Tuple
with a
Versionstamp
object appended as the last
element.
- add(List<? extends Object>) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with an List
appended as the last element.
- add(Tuple) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a Tuple
appended as the last element.
- add(byte[], int, int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with a byte
array appended as the last element.
- addAll(List<? extends Object>) - Method in class com.apple.foundationdb.tuple.Tuple
-
Create a copy of this Tuple
with a list of items appended.
- addAll(Tuple) - Method in class com.apple.foundationdb.tuple.Tuple
-
Create a copy of this Tuple
with all elements from anther Tuple
appended.
- addObject(Object) - Method in class com.apple.foundationdb.tuple.Tuple
-
Creates a copy of this Tuple
with an appended last element.
- addReadConflictKey(byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Adds a key to the transaction's read conflict ranges as if you had read
the key.
- addReadConflictRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Adds a range of keys to the transaction's read conflict ranges as if you
had read the range.
- addWriteConflictKey(byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Adds a key to the transaction's write conflict ranges as if you had
written the key.
- addWriteConflictRange(byte[], byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Adds a range of keys to the transaction's write conflict ranges as if you
had cleared the range.
- applySafely(Function<I, ? extends CompletableFuture<O>>, I) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Run Function
func
, returning all caught exceptions as a
CompletableFuture
in an error state.
- asList() - Method in interface com.apple.foundationdb.async.AsyncIterable
-
Asynchronously return the results of this operation as a List
.
- AsyncIterable<T> - Interface in com.apple.foundationdb.async
-
A collection of elements that can be iterated over in a non-blocking fashion.
- AsyncIterator<T> - Interface in com.apple.foundationdb.async
-
A version of Iterator
that allows for non-blocking iteration over elements.
- AsyncUtil - Class in com.apple.foundationdb.async
-
Provided utilities for using and manipulating CompletableFuture
s.
- cancel() - Method in interface com.apple.foundationdb.async.AsyncIterator
-
Cancels any outstanding asynchronous work associated with this AsyncIterator
.
- cancel() - Method in interface com.apple.foundationdb.async.Cancellable
-
Cancels this operation or signal.
- cancel() - Method in interface com.apple.foundationdb.async.CloseableAsyncIterator
-
- cancel() - Method in interface com.apple.foundationdb.Transaction
-
Cancels the Transaction
.
- Cancellable - Interface in com.apple.foundationdb.async
-
Describes an operation or signal that can be cancelled.
- clear(byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Clears a given key from the database.
- clear(byte[], byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Clears a range of keys in the database.
- clear(Range) - Method in interface com.apple.foundationdb.Transaction
-
Clears a range of keys in the database.
- clearRangeStartsWith(byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Deprecated.
- CloneableException - Interface in com.apple.foundationdb.async
-
An Exception
that can be duplicated with a new backtrace.
- close() - Method in interface com.apple.foundationdb.async.CloseableAsyncIterator
-
Cancels any outstanding asynchronous work, closes the iterator, and frees any associated
resources.
- close() - Method in interface com.apple.foundationdb.Database
-
Close the Database
object and release any associated resources.
- close() - Method in interface com.apple.foundationdb.Transaction
-
Close the Transaction
object and release any associated resources.
- CloseableAsyncIterator<T> - Interface in com.apple.foundationdb.async
-
A version of
AsyncIterator
that must be closed once no longer in use in order to free
any associated resources.
- Cluster - Class in com.apple.foundationdb
-
The Cluster
represents a connection to a physical set of cooperating machines
running FoundationDB.
- ClusterOptions - Class in com.apple.foundationdb
-
A set of options that can be set on a
Cluster
.
- ClusterOptions(OptionConsumer) - Constructor for class com.apple.foundationdb.ClusterOptions
-
- code() - Method in enum com.apple.foundationdb.MutationType
-
Gets the FoundationDB native-level constant code for a MutationType
.
- code() - Method in enum com.apple.foundationdb.StreamingMode
-
Gets the FoundationDB native-level constant code for a StreamingMode
.
- collect(AsyncIterable<V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Iterates over a stream of items and returns the result as a list.
- collect(AsyncIterable<V>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Iterates over a set of items and returns the result as a list.
- collectRemaining(AsyncIterator<V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Iterates over a set of items and returns the remaining results as a list.
- collectRemaining(AsyncIterator<V>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Iterates over a set of items and returns the remaining results as a list.
- com.apple.foundationdb - package com.apple.foundationdb
-
Provides an API for the FoundationDB transactional key/value store.
- com.apple.foundationdb.async - package com.apple.foundationdb.async
-
Provides additional constructs for asynchronous programming against Java's CompletableFuture
s.
- com.apple.foundationdb.directory - package com.apple.foundationdb.directory
-
Provides tools for managing hierarchically related key subspaces.
- com.apple.foundationdb.subspace - package com.apple.foundationdb.subspace
-
Provides a convenient way to define namespaces for different categories
of data.
- com.apple.foundationdb.tuple - package com.apple.foundationdb.tuple
-
Provides a set of utilities for serializing and deserializing typed data
for use in FoundationDB.
- commit() - Method in interface com.apple.foundationdb.Transaction
-
Commit this Transaction
.
- compare(Iterable<?>, Iterable<?>) - Method in class com.apple.foundationdb.tuple.IterableComparator
-
Compare two Iterable
s in a way consistent with their
byte representation.
- compareTo(Tuple) - Method in class com.apple.foundationdb.tuple.Tuple
-
Compare the byte-array representation of this Tuple
against another.
- compareTo(Versionstamp) - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Compares two Versionstamp
instances in a manner consistent with their
key order when serialized in the database as keys.
- compareUnsigned(byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Compare byte arrays for equality and ordering purposes.
- complete(byte[], int) - Static method in class com.apple.foundationdb.tuple.Versionstamp
-
Creates a complete Versionstamp
instance with the given
transaction and user versions.
- complete(byte[]) - Static method in class com.apple.foundationdb.tuple.Versionstamp
-
Creates a complete Versionstamp
instance with the given
transaction and default user versions.
- composeExceptionally(CompletableFuture<V>, Function<Throwable, CompletableFuture<V>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Composes an asynchronous task with an exception-handler that returns a CompletableFuture
of the same type.
- composeHandle(CompletableFuture<V>, BiFunction<V, Throwable, ? extends CompletableFuture<T>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Compose a handler bi-function to the result of a future.
- composeHandleAsync(CompletableFuture<V>, BiFunction<V, Throwable, ? extends CompletableFuture<T>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Compose a handler bi-function to the result of a future.
- composeHandleAsync(CompletableFuture<V>, BiFunction<V, Throwable, ? extends CompletableFuture<T>>, Executor) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Compose a handler bi-function to the result of a future.
- contains(byte[]) - Method in class com.apple.foundationdb.subspace.Subspace
-
Tests whether the specified key starts with this Subspace
's prefix, indicating that
the Subspace
logically contains key.
- create(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates a subdirectory of this Directory
located at subpath
(creating parent directories if necessary).
- create(TransactionContext, List<String>, byte[]) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates a subdirectory of this Directory
located at subpath
(creating parent directories if necessary).
- create(TransactionContext, List<String>, byte[], byte[]) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates a subdirectory of this Directory
located at subpath
(creating parent directories if necessary).
- create(TransactionContext, List<String>, byte[], byte[]) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Creates a directory located at path
(creating parent directories if necessary).
- create(TransactionContext, List<String>, byte[], byte[]) - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
- createCluster() - Method in class com.apple.foundationdb.FDB
-
- createCluster(String) - Method in class com.apple.foundationdb.FDB
-
Connects to the cluster specified by clusterFilePath
.
- createCluster(String, Executor) - Method in class com.apple.foundationdb.FDB
-
Connects to the cluster specified by clusterFilePath
.
- createOrOpen(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates or opens the subdirectory of this Directory
located at subpath
(creating parent directories, if necessary).
- createOrOpen(TransactionContext, List<String>, byte[]) - Method in interface com.apple.foundationdb.directory.Directory
-
Creates or opens the subdirectory of this Directory
located at subpath
(creating parent directories, if necessary).
- createOrOpen(TransactionContext, List<String>, byte[]) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Creates or opens the directory located at path
(creating parent directories, if necessary).
- createOrOpen(TransactionContext, List<String>, byte[]) - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
- createTransaction() - Method in interface com.apple.foundationdb.Database
-
- createTransaction(Executor) - Method in interface com.apple.foundationdb.Database
-
Creates a
Transaction
that operates on this
Database
with the given
Executor
for asynchronous callbacks.
- createWithContentSubspace(Subspace) - Static method in class com.apple.foundationdb.directory.DirectoryLayer
-
Creates a new DirectoryLayer
formed with a default node subspace and specified content subspace.
- createWithNodeSubspace(Subspace) - Static method in class com.apple.foundationdb.directory.DirectoryLayer
-
Creates a new DirectoryLayer
formed with a specified node subspace and default content subspace.
- get(byte[]) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets a value from the database.
- get(Object) - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets a new subspace which is equivalent to this subspace with its prefix
Tuple
extended by
the specified
Object
.
- get(Tuple) - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets a new subspace which is equivalent to this subspace with its prefix
Tuple
extended by
the specified
Tuple
.
- get(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item without forcing a type.
- getAddressesForKey(Transaction, byte[]) - Static method in class com.apple.foundationdb.LocalityUtil
-
Returns a list of public network addresses as strings, one for each of
the storage servers responsible for storing key
and its associated
value.
- getAll(Collection<CompletableFuture<V>>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Collects the results of many asynchronous processes into one asynchronous output.
- getAPIVersion() - Method in class com.apple.foundationdb.FDB
-
- getBigInteger(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a BigInteger
.
- getBoolean(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a boolean
.
- getBoundaryKeys(Database, byte[], byte[]) - Static method in class com.apple.foundationdb.LocalityUtil
-
Returns a CloseableAsyncIterator
of keys k
such that
begin <= k < end
and k
is located at the start of a
contiguous range stored on a single server.
This method is not transactional.
- getBoundaryKeys(Transaction, byte[], byte[]) - Static method in class com.apple.foundationdb.LocalityUtil
-
Returns a CloseableAsyncIterator
of keys k
such that
begin <= k < end
and k
is located at the start of a
contiguous range stored on a single server.
This method is not transactional.
- getBytes(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a byte[]
.
- getBytes() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Retrieve a byte-array representation of this Versionstamp
.
- getCode() - Method in exception com.apple.foundationdb.FDBException
-
Gets the code for this error.
- getCommittedVersion() - Method in interface com.apple.foundationdb.Transaction
-
Gets the version number at which a successful commit modified the database.
- getDatabase() - Method in interface com.apple.foundationdb.Transaction
-
Returns the
Database
that this
Transaction
is interacting
with.
- getDefault() - Static method in class com.apple.foundationdb.directory.DirectoryLayer
-
Gets the default instance of the DirectoryLayer.
- getDirectoryLayer() - Method in interface com.apple.foundationdb.directory.Directory
-
- getDirectoryLayer() - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Returns this
.
- getDirectoryLayer() - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
- getDouble(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a double
.
- getExecutor() - Method in interface com.apple.foundationdb.ReadTransactionContext
-
Retrieves the Executor
used by this TransactionContext
when running
asynchronous callbacks.
- getFloat(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a float
.
- getItems() - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets the unserialized contents of this Tuple
.
- getKey() - Method in class com.apple.foundationdb.KeySelector
-
Returns a copy of the key that serves as the anchor for this KeySelector
.
- getKey() - Method in class com.apple.foundationdb.KeyValue
-
Gets the key from the pair.
- getKey(KeySelector) - Method in interface com.apple.foundationdb.ReadTransaction
-
Returns the key referenced by the specified KeySelector
.
- getKey() - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets the key encoding the prefix used for this Subspace
.
- getLayer() - Method in interface com.apple.foundationdb.directory.Directory
-
Gets the layer byte string that was stored when this Directory
was created.
- getLayer() - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Returns the layer byte string for this DirectoryLayer
, which is always an empty
array.
- getLayer() - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
- getLong(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a long
.
- getNestedList(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a List
.
- getNestedTuple(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a
Tuple
.
- getOffset() - Method in class com.apple.foundationdb.KeySelector
-
Returns the key offset parameter for this KeySelector
.
- getPath() - Method in interface com.apple.foundationdb.directory.Directory
-
Gets the path represented by this Directory
.
- getPath() - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Gets the path for the root node of this DirectoryLayer
.
- getPath() - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
- getRange(KeySelector, KeySelector) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int, boolean) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(KeySelector, KeySelector, int, boolean, StreamingMode) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[]) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int, boolean) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(byte[], byte[], int, boolean, StreamingMode) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int, boolean) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getRange(Range, int, boolean, StreamingMode) - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets an ordered range of keys and values from the database.
- getReadVersion() - Method in interface com.apple.foundationdb.ReadTransaction
-
Gets the version at which the reads for this Transaction
will access the database.
- getString(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a String
.
- getTransactionVersion() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Retrieve the portion of this Versionstamp
that is set by
the database.
- getUserVersion() - Method in class com.apple.foundationdb.tuple.Versionstamp
-
Retrieve the portion of this Versionstamp
that is set
by the user.
- getUUID(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets an indexed item as a UUID
.
- getValue() - Method in class com.apple.foundationdb.KeyValue
-
Gets the value from the pair.
- getVersionstamp() - Method in interface com.apple.foundationdb.Transaction
-
Returns a future which will contain the versionstamp which was used by any versionstamp
operations in this transaction.
- getVersionstamp(int) - Method in class com.apple.foundationdb.tuple.Tuple
-
- Range - Class in com.apple.foundationdb
-
A simple description of an exact range of keyspace, specified by a begin and end key.
- Range(byte[], byte[]) - Constructor for class com.apple.foundationdb.Range
-
Construct a new Range
with an inclusive begin key and an exclusive
end key.
- range() - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets a
Range
respresenting all keys strictly in the
Subspace
.
- range(Tuple) - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets a
Range
representing all keys in the
Subspace
strictly starting with
the specified
Tuple
.
- range() - Method in class com.apple.foundationdb.tuple.Tuple
-
Returns a range representing all keys that encode Tuple
s strictly starting
with this Tuple
.
- read(Function<? super ReadTransaction, T>) - Method in interface com.apple.foundationdb.Database
-
Runs a read-only transactional function against this Database
with retry logic.
- read(Function<? super ReadTransaction, T>, Executor) - Method in interface com.apple.foundationdb.Database
-
Runs a read-only transactional function against this Database
with retry logic.
- read(Function<? super ReadTransaction, T>) - Method in interface com.apple.foundationdb.ReadTransactionContext
-
Runs a function in this context that takes a read-only transaction.
- readAsync(Function<? super ReadTransaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.Database
-
Runs a read-only transactional function against this Database
with retry logic.
- readAsync(Function<? super ReadTransaction, ? extends CompletableFuture<T>>, Executor) - Method in interface com.apple.foundationdb.Database
-
Runs a read-only transactional function against this Database
with retry logic.
- readAsync(Function<? super ReadTransaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.ReadTransactionContext
-
Runs a function in this context that takes a read-only transaction.
- ReadTransaction - Interface in com.apple.foundationdb
-
- ReadTransactionContext - Interface in com.apple.foundationdb
-
A context in which a ReadTransaction
is available for database operations.
- READY_FALSE - Static variable in class com.apple.foundationdb.async.AsyncUtil
-
A completed future of type Boolean
that is set to false
.
- READY_TRUE - Static variable in class com.apple.foundationdb.async.AsyncUtil
-
A completed future of type Boolean
that is set to true
.
- remove(TransactionContext) - Method in interface com.apple.foundationdb.directory.Directory
-
Removes this Directory
and all of its subdirectories, as well as all of their contents.
- remove(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Removes the subdirectory of this Directory
located at subpath
and all of its subdirectories,
as well as all of their contents.
- remove(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Removes the directory located at path
and all of its subdirectories,
as well as all of their contents.
- remove(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
- removeIfExists(TransactionContext) - Method in interface com.apple.foundationdb.directory.Directory
-
Removes this Directory
and all of its subdirectories, as well as all of their contents.
- removeIfExists(TransactionContext, List<String>) - Method in interface com.apple.foundationdb.directory.Directory
-
Removes the subdirectory of this Directory
located at subpath
and all of its subdirectories,
as well as all of their contents.
- removeIfExists(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectoryLayer
-
Removes the directory located at subpath
and all of its subdirectories,
as well as all of their contents.
- removeIfExists(TransactionContext, List<String>) - Method in class com.apple.foundationdb.directory.DirectorySubspace
-
- replace(byte[], byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Replaces occurrences of a pattern in a byte array.
- replace(byte[], int, int, byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Replaces occurrences of a pattern in a byte array.
- retargetClone() - Method in interface com.apple.foundationdb.async.CloneableException
-
Create and return a new Exception
that has a backtrace including the
calling line of code.
- retargetClone() - Method in exception com.apple.foundationdb.FDBException
-
- ROW_LIMIT_UNLIMITED - Static variable in interface com.apple.foundationdb.ReadTransaction
-
When passed to a getRange()
call that takes a limit
parameter,
indicates that the query should return unlimited rows.
- run(Function<? super Transaction, T>) - Method in interface com.apple.foundationdb.Database
-
Runs a transactional function against this Database
with retry logic.
- run(Function<? super Transaction, T>, Executor) - Method in interface com.apple.foundationdb.Database
-
Runs a transactional function against this Database
with retry logic.
- run(Function<? super Transaction, T>) - Method in interface com.apple.foundationdb.Transaction
-
Run a function once against this Transaction
.
- run(Function<? super Transaction, T>) - Method in interface com.apple.foundationdb.TransactionContext
-
Runs a function in this context that takes a transaction.
- runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.Database
-
Runs a transactional function against this Database
with retry logic.
- runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>, Executor) - Method in interface com.apple.foundationdb.Database
-
Runs a transactional function against this Database
with retry logic.
- runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.Transaction
-
Run a function once against this Transaction
.
- runAsync(Function<? super Transaction, ? extends CompletableFuture<T>>) - Method in interface com.apple.foundationdb.TransactionContext
-
Runs a function in this context that takes a transaction.
- selectAPIVersion(int) - Static method in class com.apple.foundationdb.FDB
-
Select the version for the client API.
- set(byte[], byte[]) - Method in interface com.apple.foundationdb.Transaction
-
Sets the value for a given key.
- setAccessSystemKeys() - Method in class com.apple.foundationdb.TransactionOptions
-
Allows this transaction to read and modify system keys (those that start with the byte 0xFF).
- setBuggifyDisable() - Method in class com.apple.foundationdb.NetworkOptions
-
- setBuggifyEnable() - Method in class com.apple.foundationdb.NetworkOptions
-
- setBuggifySectionActivatedProbability(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the probability of a BUGGIFY section being active for the current execution.
- setBuggifySectionFiredProbability(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the probability of an active BUGGIFY section being fired.
- setCallbacksOnExternalThreads() - Method in class com.apple.foundationdb.NetworkOptions
-
If set, callbacks from external client libraries can be called from threads created by the FoundationDB client library.
- setCausalReadDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
- setCausalReadRisky() - Method in class com.apple.foundationdb.TransactionOptions
-
The read version will be committed, and usually will be the latest committed, but might not be the latest committed in the event of a fault or partition.
- setCausalWriteRisky() - Method in class com.apple.foundationdb.TransactionOptions
-
The transaction, if not self-conflicting, may be committed a second time after commit succeeds, in the event of a fault.
- setClusterFile(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Deprecated.
- setDatacenterId(String) - Method in class com.apple.foundationdb.DatabaseOptions
-
Specify the datacenter ID that was passed to fdbserver processes running in the same datacenter as this client, for better location-aware load balancing.
- setDebugRetryLogging(String) - Method in class com.apple.foundationdb.TransactionOptions
-
- setDisableClientStatisticsLogging() - Method in class com.apple.foundationdb.NetworkOptions
-
Disables logging of client statistics, such as sampled transaction activity.
- setDisableLocalClient() - Method in class com.apple.foundationdb.NetworkOptions
-
Prevents connections through the local client, allowing only connections through externally loaded client libraries.
- setDisableMultiVersionClientApi() - Method in class com.apple.foundationdb.NetworkOptions
-
Disables the multi-version client API and instead uses the local client directly.
- setDurabilityDatacenter() - Method in class com.apple.foundationdb.TransactionOptions
-
- setDurabilityDevNullIsWebScale() - Method in class com.apple.foundationdb.TransactionOptions
-
Deprecated.
- setDurabilityRisky() - Method in class com.apple.foundationdb.TransactionOptions
-
- setEnableSlowTaskProfiling() - Method in class com.apple.foundationdb.NetworkOptions
-
Enables debugging feature to perform slow task profiling.
- setExternalClientDirectory(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Searches the specified path for dynamic libraries and adds them to the list of client libraries for use by the multi-version client API.
- setExternalClientLibrary(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Adds an external client library for use by the multi-version client API.
- setInitializeNewDatabase() - Method in class com.apple.foundationdb.TransactionOptions
-
This is a write-only transaction which sets the initial configuration.
- setKnob(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set internal tuning or debugging knobs.
- setLocalAddress(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Deprecated.
- setLocationCacheSize(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Set the size of the client location cache.
- setLockAware() - Method in class com.apple.foundationdb.TransactionOptions
-
The transaction can read and write to locked databases, and is resposible for checking that it took the lock.
- setMachineId(String) - Method in class com.apple.foundationdb.DatabaseOptions
-
Specify the machine ID that was passed to fdbserver processes running on the same machine as this client, for better location-aware load balancing.
- setMaxRetryDelay(long) - Method in class com.apple.foundationdb.TransactionOptions
-
Set the maximum amount of backoff delay incurred in the call to onError if the error is retryable.
- setMaxWatches(long) - Method in class com.apple.foundationdb.DatabaseOptions
-
Set the maximum number of watches allowed to be outstanding on a database connection.
- setNextWriteNoWriteConflictRange() - Method in class com.apple.foundationdb.TransactionOptions
-
The next write performed on this transaction will not generate a write conflict range.
- setOption(int, byte[]) - Method in interface com.apple.foundationdb.OptionConsumer
-
Attempt to set the given option.
- setPriorityBatch() - Method in class com.apple.foundationdb.TransactionOptions
-
Specifies that this transaction should be treated as low priority and that default priority transactions should be processed first.
- setPrioritySystemImmediate() - Method in class com.apple.foundationdb.TransactionOptions
-
Specifies that this transaction should be treated as highest priority and that lower priority transactions should block behind this one.
- setReadAheadDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
Deprecated.
- setReadLockAware() - Method in class com.apple.foundationdb.TransactionOptions
-
The transaction can read from locked databases.
- setReadSystemKeys() - Method in class com.apple.foundationdb.TransactionOptions
-
Allows this transaction to read system keys (those that start with the byte 0xFF).
- setReadVersion(long) - Method in interface com.apple.foundationdb.Transaction
-
Directly sets the version of the database at which to execute reads.
- setReadYourWritesDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
Reads performed by a transaction will not see any prior mutations that occured in that transaction, instead seeing the value which was in the database at the transaction's read version.
- setRetryLimit(long) - Method in class com.apple.foundationdb.TransactionOptions
-
Set a maximum number of retries after which additional calls to onError will throw the most recently seen error code.
- setSnapshotRywDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
Snapshot read operations will not see the results of writes done in the same transaction.
- setSnapshotRywEnable() - Method in class com.apple.foundationdb.TransactionOptions
-
Snapshot read operations will see the results of writes done in the same transaction.
- setTimeout(long) - Method in class com.apple.foundationdb.TransactionOptions
-
Set a timeout in milliseconds which, when elapsed, will cause the transaction automatically to be cancelled.
- setTLSCaBytes(byte[]) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the ca bundle.
- setTLSCaPath(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the file from which to load the certificate authority bundle.
- setTLSCertBytes(byte[]) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the certificate chain.
- setTLSCertPath(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the file from which to load the certificate chain.
- setTLSKeyBytes(byte[]) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the private key corresponding to your own certificate.
- setTLSKeyPath(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the file from which to load the private key corresponding to your own certificate.
- setTLSPassword(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the passphrase for encrypted private key.
- setTLSPlugin(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Deprecated.
- setTLSVerifyPeers(byte[]) - Method in class com.apple.foundationdb.NetworkOptions
-
Set the peer certificate field verification criteria.
- setTraceEnable(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Enables trace output to a file in a directory of the clients choosing.
- setTraceLogGroup(String) - Method in class com.apple.foundationdb.NetworkOptions
-
Sets the 'LogGroup' attribute with the specified value for all events in the trace output files.
- setTraceMaxLogsSize(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Sets the maximum size of all the trace output files put together.
- setTraceRollSize(long) - Method in class com.apple.foundationdb.NetworkOptions
-
Sets the maximum size in bytes of a single trace output file.
- setTransactionLoggingEnable(String) - Method in class com.apple.foundationdb.TransactionOptions
-
Enables tracing for this transaction and logs results to the client trace logs.
- setUnclosedWarning(boolean) - Method in class com.apple.foundationdb.FDB
-
Enables or disables the stderr warning that is printed whenever an object with FoundationDB
native resources is garbage collected without being closed.
- setUsedDuringCommitProtectionDisable() - Method in class com.apple.foundationdb.TransactionOptions
-
By default, operations that are performed on a transaction while it is being committed will not only fail themselves, but they will attempt to fail other in-flight operations (such as the commit) as well.
- size() - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets the number of elements in this Tuple
.
- snapshot() - Method in interface com.apple.foundationdb.Transaction
-
Return special-purpose, read-only view of the database.
- sourcePath - Variable in exception com.apple.foundationdb.directory.DirectoryMoveException
-
The path of the directory being moved.
- split(byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Splits a byte array at each occurrence of a pattern.
- split(byte[], int, int, byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Splits a byte array at each occurrence of a pattern.
- startNetwork() - Method in class com.apple.foundationdb.FDB
-
Initializes networking.
- startNetwork(Executor) - Method in class com.apple.foundationdb.FDB
-
Initializes networking.
- startsWith(byte[]) - Static method in class com.apple.foundationdb.Range
-
Returns a Range
that describes all possible keys that are prefixed with a
specified key.
- startsWith(byte[], byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Check if a byte array starts with another byte array.
- stopNetwork() - Method in class com.apple.foundationdb.FDB
-
Stops the FoundationDB networking engine.
- stored - Variable in exception com.apple.foundationdb.directory.MismatchedLayerException
-
The layer byte string that the directory was created with.
- stream() - Method in class com.apple.foundationdb.tuple.Tuple
-
Gets a Stream
of the unserialized contents of this Tuple
.
- StreamingMode - Enum in com.apple.foundationdb
-
Options that control the way the Java binding performs range reads.
- strinc(byte[]) - Static method in class com.apple.foundationdb.tuple.ByteArrayUtil
-
Computes the first key that would sort outside the range prefixed by key
.
- Subspace - Class in com.apple.foundationdb.subspace
-
Subspace
provide a convenient way to use
Tuple
s to define namespaces for
different categories of data.
- Subspace() - Constructor for class com.apple.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with an empty prefix
Tuple
.
- Subspace(Tuple) - Constructor for class com.apple.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with the specified prefix
Tuple
.
- Subspace(byte[]) - Constructor for class com.apple.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with the specified byte string, which will
be prepended to all packed keys.
- Subspace(Tuple, byte[]) - Constructor for class com.apple.foundationdb.subspace.Subspace
-
Constructor for a subspace formed with both a prefix
Tuple
and a
prefix byte string.
- subspace(Tuple) - Method in class com.apple.foundationdb.subspace.Subspace
-
Gets a new subspace which is equivalent to this subspace with its prefix
Tuple
extended by
the specified
Tuple
.
- success(CompletableFuture<V>) - Static method in class com.apple.foundationdb.async.AsyncUtil
-
Maps the outcome of a task into a completion signal.