src/jdk.incubator.adba/share/classes/jdk/incubator/sql2/MultiOperation.java
author lancea
Mon, 23 Apr 2018 13:55:47 -0400
branchJDK-8188051-branch
changeset 56475 e700edfac7ad
child 56797 fb523d4d9185
permissions -rwxr-xr-x
JDK-8188051-branch: Updates to sync with AOJ
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
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    36
 * processed by an Operation. The Operations can be created by calling rowOperation,
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    37
 * rowProcessorOperation, or countOperation if the kind of results is known. These
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    38
 * results are processed in the order the Operations are submitted. Any results
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    39
 * not processed by an explicit Operation is processed by calling the appropriate
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    40
 * handler specified by onRows or onCount. If any result is an error that error
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    41
 * is processed by calling the handler specified by onError. If the appropriate
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    42
 * handler is not specified that result is ignored, including errors.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    43
 * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    44
 * ISSUE: Should this have a collector?
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    45
 *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    46
 * @param <T> The type of the result of this {@link Operation}
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    47
 */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    48
public interface MultiOperation<T> extends OutOperation<T> {
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    49
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
   * Returns a {@link RowOperation} to process a row sequence result. The
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    52
   * {@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
    53
   * result is of the wrong type for the next submitted {@link Operation} the
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    54
   * {@link MultiOperation} is completed with
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    55
   * {@link IllegalStateException}.
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
  /**
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    62
   * Returns a {@link RowProcessorOperation} to process a row sequence result. The
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    63
   * {@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
    64
   * result is of the wrong type for the next submitted {@link Operation} the
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    65
   * {@link MultiOperation} is completed with
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    66
   * {@link IllegalStateException}.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    67
   *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    68
   * @return a {@link RowProcessorOperation} that is part of this {@link MultiOperation}
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    69
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    70
  public RowProcessorOperation<T> rowProcessorOperation();
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
  /**
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    73
   * Returns a {@link CountOperation} to process a count result. The {@link Operation}s
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    74
   * are executed in the order they are submitted. If a result is of the wrong
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    75
   * type for the next submitted Operation the {@link MultiOperation} is completed
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    76
   * with {@link IllegalStateException}.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    77
   *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    78
   * @return a {@link CountOperation} that is part of this {@link MultiOperation}
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    79
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    80
  public CountOperation<T> countOperation();
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    81
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
   * Provides a handler for trailing count results. The provided handler is called for
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    84
   * each count result not processed by CountOperation. When called the first argument is the number of results
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    85
   * that preceeded the current result. The second argument is a
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    86
   * {@link CountOperation} that will process the current result. This
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    87
   * {@link CountOperation} has not been configured in any way nor has it been
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    88
   * submitted. The handler configures the {@link CountOperation} and submits
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    89
   * it. The count result is processed when the {@link CountOperation} is
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    90
   * submitted. If the {@link CountOperation} is not submitted when the handler
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    91
   * returns the count result is ignored.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    92
   * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    93
   * 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
    94
   *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    95
   * @param handler not null
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    96
   * @return this MultiOperation
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    97
   * @throws IllegalStateException if this method was called previously
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    98
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
    99
  public MultiOperation<T> onCount(BiConsumer<Integer, CountOperation<T>> handler);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   100
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   101
  /**
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   102
   * Provides a handler for trailing row sequence results. The provided handler is called
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   103
   * for each row sequence result not processed by a RowOperation. When called the first argument is the number
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   104
   * of results that preceeded the current result. The second argument is a
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   105
   * {@link RowOperation} that will process the current result. This
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   106
   * {@link RowOperation} has not been configured in any way nor has it been
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   107
   * submitted. The handler configures the {@link RowOperation} and submits it.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   108
   * The row sequence result is processed when the {@link RowOperation} is
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   109
   * submitted. If the {@link RowOperation} is not submitted when the handler
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   110
   * returns, the row sequence result is ignored.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   111
   * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   112
   * If this method is not called any trailing row sequence results are ignored.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   113
   * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   114
   * ISSUE: Should there be a version of this method that provides 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   115
   * RowProcessorOperations? If so only one of that method or this one can be called.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   116
   *
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   117
   * @param handler
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   118
   * @return This MultiOperation
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   119
   * @throws IllegalStateException if this method was called previously
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   120
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   121
  public MultiOperation<T> onRows(BiConsumer<Integer, RowOperation<T>> handler);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   122
  
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
   * Provides an error handler for this {@link Operation}. The provided handler 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   125
   * is called for each error that occurs. When called the first argument is the 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   126
   * number of results, including errors, that preceeded the current error. The
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   127
   * second argument is a {@link Throwable} corresponding to the error. When the
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   128
   * handler returns processing of the MultiOperation results continues. 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   129
   * Only one onError method may be called.
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   130
   * 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   131
   * @param handler a BiConsumer that handles an error
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   132
   * @return this MultiOperation
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   133
   * @throws IllegalStateException if this method was called previously
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   134
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   135
  public MultiOperation<T> onError(BiConsumer<Integer, Throwable> handler);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   136
  // Covariant overrides
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   137
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   138
  /**
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   139
   * 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
   140
   * 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
   141
   * errors, this handler is not called.
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
   * @param handler
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   144
   * @return 
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   145
   */
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   146
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   147
  public MultiOperation<T> onError(Consumer<Throwable> handler);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   148
  
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   149
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   150
  public MultiOperation<T> apply(Function<Result.OutParameterMap, ? extends T> processor);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   151
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   152
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   153
  public MultiOperation<T> outParameter(String id, SqlType type);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   154
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   155
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   156
  public MultiOperation<T> set(String id, Object value, SqlType type);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   157
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   158
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   159
  public MultiOperation<T> set(String id, Object value);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   160
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   161
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   162
  public MultiOperation<T> set(String id, CompletionStage<?> source, SqlType type);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   163
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   164
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   165
  public MultiOperation<T> set(String id, CompletionStage<?> source);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   166
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   167
  @Override
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   168
  public MultiOperation<T> timeout(Duration minTime);
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   169
e700edfac7ad JDK-8188051-branch: Updates to sync with AOJ
lancea
parents:
diff changeset
   170
}