equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
58 * this {@link OutOperation} |
58 * this {@link OutOperation} |
59 * @return this {@link OutOperation} |
59 * @return this {@link OutOperation} |
60 * @throws IllegalStateException if this method has been called previously on |
60 * @throws IllegalStateException if this method has been called previously on |
61 * this {@link Operation} or this {@link Operation} has been submitted. |
61 * this {@link Operation} or this {@link Operation} has been submitted. |
62 */ |
62 */ |
63 public OutOperation<T> apply(Function<Result.OutParameterMap, ? extends T> processor); |
63 public OutOperation<T> apply(Function<Result.OutColumn, ? extends T> processor); |
64 |
64 |
65 // Covariant overrides |
65 // Covariant overrides |
66 |
66 |
67 @Override |
67 @Override |
68 public OutOperation<T> onError(Consumer<Throwable> handler); |
68 public OutOperation<T> onError(Consumer<Throwable> handler); |