Uses of Interface
com.ocient.util.CompletableFutures.SQLResult
Packages that use CompletableFutures.SQLResult
-
Uses of CompletableFutures.SQLResult in com.ocient.jdbc
Fields in com.ocient.jdbc declared as CompletableFutures.SQLResultModifier and TypeFieldDescriptionstatic final CompletableFutures.SQLResult<Boolean> XGResultSet.CONTINUE_ITERATIONCommonly used markersstatic final CompletableFutures.SQLResult<Boolean> XGResultSet.STOP_ITERATIONFields in com.ocient.jdbc with type parameters of type CompletableFutures.SQLResultModifier and TypeFieldDescriptionstatic final CompletableFuture<CompletableFutures.SQLResult<Boolean>> XGResultSet.CONTINUE_ITERATION_ASYNCstatic final CompletableFuture<CompletableFutures.SQLResult<Boolean>> XGResultSet.STOP_ITERATION_ASYNCMethods in com.ocient.jdbc that return types with arguments of type CompletableFutures.SQLResultModifier and TypeMethodDescriptionXGConnection.awaitActivation()XGResultSet.awaitClose()XGConnection.closeAsync()XGResultSet.closeAsync()XGStatement.closeAsync()XGStatement.closeResultSet()XGConnectionFactory.create(XGConnectionInfo info) Returns aCompletionStageofCompletableFutures.SQLResultwhich completes when the connection is successfully established, or completes exceptionally if the connection cannot be established.XGConnection.fetchAuthenticators()Fetches allClientWireProtocol.Authenticatorsprotected CompletionStage<CompletableFutures.SQLResult<Void>> XGConnection.fetchServerVersion()Asynchronously fetches the version of the server.XGStatement.fetchSystemMetadataResultSet(ClientWireProtocol.FetchSystemMetadata.SystemMetadataCall call, String schema, String table, String col, boolean test, XGResultSet.Option... options) XGStatement.fetchSystemMetadataString(ClientWireProtocol.FetchSystemMetadata.SystemMetadataCall call) XGConnection.forceExternalAsync(boolean force) XGConnection.forkConnectionAsync(XGConnectionInfo.Hint hint, boolean hint_bypassLoadBalancerOnHandshakeOnly) XGResultSet.initResultSet(XGConnection conn, int fetchSize, XGStatement stmt, int parallelism, XGConnectionFactory channelFactory, RowTransformerFactory rowTransformerFactory, SortMode sortMode, Map<String, Integer> streamProperties) Initializes a newXGResultSetobject and returns a CompletionStage that completes when the result set's metadata has been retrieved from the server and completes with an exceptionalCompletableFutures.SQLResulton failure.XGResultSet.initResultSetMetadata(XGConnection conn, int fetchSize, XGStatement stmt, ClientWireProtocol.ResultSet data, XGResultSet.Option... options) Initializes a newXGResultSetobject and returns a CompletionStage that completes when the result set's metadata has been retrieved from the server and completes with an exceptionalCompletableFutures.SQLResulton failure.protected CompletionStage<CompletableFutures.SQLResult<Void>> XGConnection.initTransport(String ip, int port) protected CompletionStage<CompletableFutures.SQLResult<Void>> XGConnection.initTransportAndBeginHandshake()XGConnection.leaseConnection(XGConnectionInfo info) Leases a connection to the database specified byinfo.XGConnection.reconnect()XGConnection.reconnect(boolean shouldRequestVersion) Deprecated.Force a redirect to the provided endpoint.XGConnection.refreshSession()XGConnection.refreshToken()protected CompletionStage<CompletableFutures.SQLResult<Void>> XGConnection.reset(boolean forceParameterRefresh) protected CompletionStage<CompletableFutures.SQLResult<Void>> XGPreparedStatement.reset()protected CompletionStage<CompletableFutures.SQLResult<Void>> XGStatement.reset()protected CompletionStage<CompletableFutures.SQLResult<Void>> XGConnection.sendHeartbeat()Sends a heartbeat message to test the connection with the server asynchronously.XGConnection.sendParameterMessage(ClientWireProtocol.SetParameter param) CompletionStage<CompletableFutures.SQLResult<com.ocient.jdbc.XGConnection.Session.State>> XGConnection.sendRefreshSession()CompletionStage<CompletableFutures.SQLResult<com.ocient.jdbc.XGConnection.Session.State>> XGConnection.sendRefreshToken(com.ocient.jdbc.XGConnection.Session.State oldState) protected <Response> CompletionStage<CompletableFutures.SQLResult<Response>> XGConnection.sendRequest(ClientWireProtocol.Request request, XGConnection.ResponseHandler<Response> responseHandler, Predicate<SQLWarning> warningHandler, XGConnection.ConfirmationSupplier<Response> confirmationSupplier) Sends a request message to the remote server and waits for a response.protected CompletionStage<CompletableFutures.SQLResult<Void>> XGConnection.sendRequestWithoutResponse(ClientWireProtocol.Request request) Sends a request message to the remote server byt does not wait for a response.XGConnection.sendRequestWithStandardResponse(ClientWireProtocol.Request request, Predicate<SQLWarning> warningHandler) Sends a request message to the remote server and waits for a standard confirmation response.XGConnection.setMaxRowsHardLimit(Integer maxRows, boolean reset) XGConnection.setMaxTempDisk(Integer maxTempDisk, boolean reset) XGConnection.setMaxTime(Integer maxTime, boolean reset) XGConnection.setMemoryTracing(boolean memoryTracing, boolean reset) XGConnection.setParallelism(Integer parallelism, boolean reset) XGConnection.setPriority(Double priority, boolean reset) XGConnection.setPriorityAdjustFactor(Double priorityAdjustFactor, boolean reset) XGConnection.setPriorityAdjustTime(Integer priorityAdjustTime, boolean reset) XGConnection.setSchemaAsync(String schema) XGConnection.setServiceClassName(String serviceClassName, boolean reset) -
Uses of CompletableFutures.SQLResult in com.ocient.util
Methods in com.ocient.util that return CompletableFutures.SQLResultModifier and TypeMethodDescriptionstatic <T> CompletableFutures.SQLResult<T> CompletableFutures.blockingGetSQLResult(CompletionStage<CompletableFutures.SQLResult<T>> stage) Blocks until the specifiedCompletionStagecompletes and returns its result as aCompletableFutures.SQLResultinstance.static <T> CompletableFutures.SQLResult<T> CompletableFutures.SQLResult.fail(SQLException e) Creates a new instance ofSQLResultthat represents a failed execution of a SQL query.static <T> CompletableFutures.SQLResult<T> CompletableFutures.SQLResult.failOrMarshal(Throwable throwable) Returns a new Result object that represents a failed operation with the givenSQLException.default <U> CompletableFutures.SQLResult<U> CompletableFutures.SQLResult.flatMapSuccess(Function<? super T, ? extends CompletableFutures.SQLResult<U>> fn) Maps the success value of this SQLResult to theCompletableFutures.SQLResulttype returned from the given function.default <U> CompletableFutures.SQLResult<U> CompletableFutures.SQLResult.mapSuccess(Function<? super T, ? extends U> fn) static <T> CompletableFutures.SQLResult<T> CompletableFutures.SQLResult.success(T item) Creates a new instance ofSQLResultthat represents a successful execution of a SQL query.static CompletableFutures.SQLResult<Void> CompletableFutures.SQLResult.voidResult()Returns aCompletableFutures.SQLResultthat represents a successful execution of a SQL query that does not produce a result.Methods in com.ocient.util that return types with arguments of type CompletableFutures.SQLResultModifier and TypeMethodDescriptionstatic <T> CompletionStage<CompletableFutures.SQLResult<T>> CompletableFutures.SQLResult.failAsync(SQLException e) Creates a new completed stage that represents a failed execution of a SQL query.static <T> CompletionStage<CompletableFutures.SQLResult<T>> CompletableFutures.SQLResult.failOrMarshalAsync(Throwable throwable) Returns a new completed stage that represents a failed operation with the givenSQLException.default <U> CompletionStage<CompletableFutures.SQLResult<U>> CompletableFutures.SQLResult.mapSuccessAsync(Function<? super T, ? extends CompletionStage<CompletableFutures.SQLResult<U>>> fn) Maps the success value of this Result to a new completed stage of a differentCompletableFutures.SQLResulttype by applying the given function.CompletionStage<com.ibm.asyncutil.util.Either<com.ibm.asyncutil.iteration.AsyncIterator.End, CompletableFutures.SQLResult<List<Row>>>> Iterators.LazyFanInPriorityQueue.nextStage()default CompletionStage<CompletableFutures.SQLResult<T>> CompletableFutures.SQLResult.recoverAsync(Function<? super SQLException, ? extends CompletionStage<CompletableFutures.SQLResult<T>>> fn) Maps the error value of this SQLResult to a new completion stage that completes with a new SQLResult by applying the given function.static <T> CompletionStage<CompletableFutures.SQLResult<T>> CompletableFutures.SQLResult.successAsync(T item) Creates a new completed stage that represents a successful execution of a SQL query.CompletableFutures.SQLResult.voidFuture()Returns aCompletionStagethat completes successfully with aCompletableFutures.SQLResultthat represents a successful execution of a SQL query that does not produce a result.Methods in com.ocient.util with parameters of type CompletableFutures.SQLResultModifier and TypeMethodDescriptionbooleanIterators.LazyFanInPriorityQueue.send(int streamIndex, CompletableFutures.SQLResult<RowBatch> batchOrEx, QueuePermit permit) Sends an item to the specified stream index.Method parameters in com.ocient.util with type arguments of type CompletableFutures.SQLResultModifier and TypeMethodDescriptionstatic <T> CompletableFutures.SQLResult<T> CompletableFutures.blockingGetSQLResult(CompletionStage<CompletableFutures.SQLResult<T>> stage) Blocks until the specifiedCompletionStagecompletes and returns its result as aCompletableFutures.SQLResultinstance.default <U> CompletableFutures.SQLResult<U> CompletableFutures.SQLResult.flatMapSuccess(Function<? super T, ? extends CompletableFutures.SQLResult<U>> fn) Maps the success value of this SQLResult to theCompletableFutures.SQLResulttype returned from the given function.default <U> CompletionStage<CompletableFutures.SQLResult<U>> CompletableFutures.SQLResult.mapSuccessAsync(Function<? super T, ? extends CompletionStage<CompletableFutures.SQLResult<U>>> fn) Maps the success value of this Result to a new completed stage of a differentCompletableFutures.SQLResulttype by applying the given function.default CompletionStage<CompletableFutures.SQLResult<T>> CompletableFutures.SQLResult.recoverAsync(Function<? super SQLException, ? extends CompletionStage<CompletableFutures.SQLResult<T>>> fn) Maps the error value of this SQLResult to a new completion stage that completes with a new SQLResult by applying the given function.Constructor parameters in com.ocient.util with type arguments of type CompletableFutures.SQLResultModifierConstructorDescriptionLazyFanInPriorityQueue(int width, int capacity, SortMode sortMode, String queryId, Consumer<CompletableFutures.SQLResult<RowBatch>> onAdd, BiConsumer<CompletableFutures.SQLResult<RowBatch>, QueuePermit> onRemove, Executor executor) Constructs a LazyFanInPriorityQueue with the specified parameters.LazyFanInPriorityQueue(int width, int capacity, SortMode sortMode, String queryId, Consumer<CompletableFutures.SQLResult<RowBatch>> onAdd, BiConsumer<CompletableFutures.SQLResult<RowBatch>, QueuePermit> onRemove, Executor executor) Constructs a LazyFanInPriorityQueue with the specified parameters.
XGConnection.leaseConnection(XGConnectionInfo)orinvalid reference