src/jdk.incubator.adba/share/classes/jdk/incubator/sql2/MultiOperation.java
author lancea
Wed, 20 Jun 2018 15:38:40 -0400
branchJDK-8188051-branch
changeset 56797 fb523d4d9185
parent 56475 e700edfac7ad
child 56997 c9cbac2979fb
permissions -rwxr-xr-x
JDK-8188051-branch updates
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     1
/*
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     2
 * Copyright (c)  2017, 2018, Oracle and/or its affiliates. All rights reserved.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     4
 * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    10
 * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    15
 * accompanied this code).
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    16
 * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    20
 * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    23
 * questions.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    24
 */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    25
package jdk.incubator.sql2;
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    26
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    27
import java.time.Duration;
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    28
import java.util.concurrent.CompletionStage;
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    29
import java.util.function.BiConsumer;
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    30
import java.util.function.Consumer;
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    31
import java.util.function.Function;
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    32
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    33
/**
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    34
 * A multi-operation is an {@link Operation} that returns one or more results in
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    35
 * addition to the out result defined by the {@link Operation}. Each result is
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    36
 * processed by an Operation. The Operations can be created by calling
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    37
 * rowOperation, rowProcessorOperation, or countOperation if the kind of results
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    38
 * is known. These results are processed in the order the Operations are
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    39
 * submitted. Any results not processed by an explicit Operation is processed by
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    40
 * calling the appropriate handler specified by onRows or onCount. If any result
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    41
 * is an error that error is processed by calling the handler specified by
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    42
 * onError. If the appropriate handler is not specified that result is ignored,
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    43
 * including errors.
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    44
 *
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    45
 * ISSUE: Should this have a collector?
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    46
 *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    47
 * @param <T> The type of the result of this {@link Operation}
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    48
 */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    49
public interface MultiOperation<T> extends OutOperation<T> {
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    50
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    51
  /**
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    52
   * Returns a {@link RowOperation} to process a row sequence result. The
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    53
   * {@link Operation}s are executed in the order they are submitted. If a
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    54
   * result is of the wrong type for the next submitted {@link Operation} the
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    55
   * {@link MultiOperation} is completed with {@link IllegalStateException}.
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    56
   *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    57
   * @return a {@link RowOperation} that is part of this {@link MultiOperation}
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    58
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    59
  public RowOperation<T> rowOperation();
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    60
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    61
  /**
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    62
   * Returns a {@link RowPublisherOperation} to process a row sequence result.
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    63
   * The {@link Operation}s are executed in the order they are submitted. If a
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    64
   * result is of the wrong type for the next submitted {@link Operation} the
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    65
   * {@link MultiOperation} is completed with {@link IllegalStateException}.
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    66
   *
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    67
   * @return a {@link RowPublisherOperation} that is part of this
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    68
   * {@link MultiOperation}
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    69
   */
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    70
  public RowPublisherOperation<T> rowProcessorOperation();
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    71
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    72
  /**
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    73
   * Returns a {@link RowCountOperation} to process a count result. The
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    74
   * {@link Operation}s are executed in the order they are submitted. If a
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    75
   * result is of the wrong type for the next submitted Operation the
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    76
   * {@link MultiOperation} is completed with {@link IllegalStateException}.
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    77
   *
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    78
   * @return a {@link RowCountOperation} that is part of this
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    79
   * {@link MultiOperation}
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    80
   */
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    81
  public RowCountOperation<T> rowCountOperation();
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    82
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    83
  /**
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    84
   * Provides a handler for trailing count results. The provided handler is
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    85
   * called for each count result not processed by RowCountOperation. When
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    86
   * called the first argument is the number of results that preceeded the
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    87
   * current result. The second argument is a {@link RowCountOperation} that
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    88
   * will process the current result. This {@link RowCountOperation} has not
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    89
   * been configured in any way nor has it been submitted. The handler
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    90
   * configures the {@link RowCountOperation} and submits it. The count result
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    91
   * is processed when the {@link RowCountOperation} is submitted. If the
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    92
   * {@link RowCountOperation} is not submitted when the handler returns the
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    93
   * count result is ignored.
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
    94
   *
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    95
   * If this method is not called any trailing count results are ignored.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    96
   *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    97
   * @param handler not null
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    98
   * @return this MultiOperation
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    99
   * @throws IllegalStateException if this method was called previously
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   100
   */
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   101
  public MultiOperation<T> onCount(BiConsumer<Integer, RowCountOperation<T>> handler);
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   102
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   103
  /**
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   104
   * Provides a handler for trailing row sequence results. The provided handler
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   105
   * is called for each row sequence result not processed by a RowOperation.
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   106
   * When called the first argument is the number of results that preceeded the
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   107
   * current result. The second argument is a {@link RowOperation} that will
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   108
   * process the current result. This {@link RowOperation} has not been
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   109
   * configured in any way nor has it been submitted. The handler configures the
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   110
   * {@link RowOperation} and submits it. The row sequence result is processed
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   111
   * when the {@link RowOperation} is submitted. If the {@link RowOperation} is
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   112
   * not submitted when the handler returns, the row sequence result is ignored.
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   113
   *
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   114
   * If this method is not called any trailing row sequence results are ignored.
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   115
   *
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   116
   * ISSUE: Should there be a version of this method that provides
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   117
   * RowProcessorOperations? If so only one of that method or this one can be
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   118
   * called.
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   119
   *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   120
   * @param handler
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   121
   * @return This MultiOperation
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   122
   * @throws IllegalStateException if this method was called previously
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   123
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   124
  public MultiOperation<T> onRows(BiConsumer<Integer, RowOperation<T>> handler);
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   125
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   126
  /**
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   127
   * Provides an error handler for this {@link Operation}. The provided handler
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   128
   * is called for each error that occurs. When called the first argument is the
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   129
   * number of results, including errors, that preceeded the current error. The
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   130
   * second argument is a {@link Throwable} corresponding to the error. When the
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   131
   * handler returns processing of the MultiOperation results continues. Only
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   132
   * one onError method may be called.
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   133
   *
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   134
   * @param handler a BiConsumer that handles an error
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   135
   * @return this MultiOperation
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   136
   * @throws IllegalStateException if this method or 
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   137
   * {@link MultiOperation#onError(java.util.function.Consumer)} was called 
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   138
   * previously
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   139
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   140
  public MultiOperation<T> onError(BiConsumer<Integer, Throwable> handler);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   141
  // Covariant overrides
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   142
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   143
  /**
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   144
   * This handler is called if the execution fails completely. If the execution
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   145
   * returns any individual results, even if any or all of those results are
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   146
   * errors, this handler is not called.
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   147
   *
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   148
   * @param handler
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   149
   * @return
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   150
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   151
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   152
  public MultiOperation<T> onError(Consumer<Throwable> handler);
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   153
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   154
  @Override
56797
fb523d4d9185 JDK-8188051-branch updates
lancea
parents: 56475
diff changeset
   155
  public MultiOperation<T> apply(Function<Result.OutColumn, ? extends T> processor);
56475
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   156
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   157
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   158
  public MultiOperation<T> outParameter(String id, SqlType type);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   159
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   160
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   161
  public MultiOperation<T> set(String id, Object value, SqlType type);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   162
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   163
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   164
  public MultiOperation<T> set(String id, Object value);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   165
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   166
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   167
  public MultiOperation<T> set(String id, CompletionStage<?> source, SqlType type);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   168
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   169
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   170
  public MultiOperation<T> set(String id, CompletionStage<?> source);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   171
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   172
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   173
  public MultiOperation<T> timeout(Duration minTime);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   174
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   175
}