# Uses of Interface
com.ocient.util.CompletableFutures.Result

Packages that use CompletableFutures.Result
Package
Description
com.ocient.transport
com.ocient.util

## Uses of CompletableFutures.Result in com.ocient.transport

Subinterfaces of CompletableFutures.Result in com.ocient.transport
Modifier and Type
Interface
Description
`interface`
`TransportResult<T>`
A specialization of the `CompletableFutures.Result` interface that represents the result of an I/O operation.
Classes in com.ocient.transport that implement CompletableFutures.Result
Modifier and Type
Class
Description
`static class`
`TransportResult.FailedTransportResult<T>`
`static class`
`TransportResult.SuccessTransportResult<T>`

## Uses of CompletableFutures.Result in com.ocient.util

Subinterfaces of CompletableFutures.Result in com.ocient.util
Modifier and Type
Interface
Description
`static interface`
`CompletableFutures.IOResult<T>`
A specialization of the `CompletableFutures.Result` interface that represents the result of an I/O operation.
`static interface`
`CompletableFutures.SQLResult<T>`
A specialization of the `CompletableFutures.Result` interface that represents the result of executing a SQL query.
Classes in com.ocient.util that implement CompletableFutures.Result
Modifier and Type
Class
Description
`static class`
`CompletableFutures.FailedResult<T,E extends Exception>`
A Result that represents a failed operation.
`static class`
`CompletableFutures.SuccessResult<T,E extends Exception>`
A Result that represents a successful operation T.
Methods in com.ocient.util that return CompletableFutures.Result
Modifier and Type
Method
Description
`static <T, E extends Exception>
CompletableFutures.Result<T,E>`
CompletableFutures.`blockingGetResult(CompletionStage<? extends CompletableFutures.Result<T,E>> stage, Function<Throwable,E> onMarshal)`
Blocks until the specified `CompletionStage` completes and returns its result as a `CompletableFutures.Result` instance.
`static <T, E extends Exception>
CompletableFutures.Result<T,E>`
CompletableFutures.`fail(E e)`
Returns a new instance of `CompletableFutures.Result` that represents a failed computation with the specified exception.
`default <U> CompletableFutures.Result<U,E>`
CompletableFutures.Result.`mapSuccess(Function<? super T,? extends U> fn)`
Maps the success value of this Result to a new Result of a different type by applying the given function.
`static <T, E extends Exception>
CompletableFutures.Result<T,E>`
CompletableFutures.`success(T item)`
Returns a new instance of `CompletableFutures.Result` that represents a successful computation with the specified result.
`static <E extends Exception>
CompletableFutures.Result<Void,E>`
CompletableFutures.Result.`voidResult()`
Returns a `CompletableFutures.Result` that represents a successful execution of an operation that does not produce a result.
Methods in com.ocient.util that return types with arguments of type CompletableFutures.Result
Modifier and Type
Method
Description
`static <E extends Exception>
CompletionStage<CompletableFutures.Result<Void,E>>`
CompletableFutures.Result.`voidFuture()`
Returns a `CompletionStage` that completes successfully with a `CompletableFutures.Result` that represents a successful execution of an operation that does not produce a result.
Methods in com.ocient.util with parameters of type CompletableFutures.Result
Modifier and Type
Method
Description
`default boolean`
CompletableFutures.Result.`equals(CompletableFutures.Result<T,E> other)`
Equality operator for `CompletableFutures.SQLResult`.
Method parameters in com.ocient.util with type arguments of type CompletableFutures.Result
Modifier and Type
Method
Description
`static <T, E extends Exception>
CompletableFutures.Result<T,E>`
CompletableFutures.`blockingGetResult(CompletionStage<? extends CompletableFutures.Result<T,E>> stage, Function<Throwable,E> onMarshal)`
Blocks until the specified `CompletionStage` completes and returns its result as a `CompletableFutures.Result` instance.