You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2023/11/09 06:27:21 UTC
(phoenix) branch 5.1 updated: PHOENIX-7102 phoenix-connectors doesn't compile with core HEAD
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push:
new 0757f8dae8 PHOENIX-7102 phoenix-connectors doesn't compile with core HEAD
0757f8dae8 is described below
commit 0757f8dae8c8db22659ec9ffa9e25b994c0474a9
Author: Istvan Toth <st...@apache.org>
AuthorDate: Tue Nov 7 18:19:27 2023 +0100
PHOENIX-7102 phoenix-connectors doesn't compile with core HEAD
---
.../phoenix/iterate/TableResultIterator.java | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
index 9ef7eb8200..9087411c4f 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java
@@ -155,6 +155,29 @@ public class TableResultIterator implements ResultIterator {
ScanUtil.setScanAttributesForClient(scan, table, plan.getContext().getConnection());
}
+ // Constructors without maxQueryEndTime to maintain API compatibility for phoenix-connectors
+ public TableResultIterator(MutationState mutationState, Scan scan, ScanMetricsHolder scanMetricsHolder,
+ long renewLeaseThreshold, QueryPlan plan, ParallelScanGrouper scanGrouper) throws SQLException {
+ this(mutationState, scan, scanMetricsHolder, renewLeaseThreshold, plan, scanGrouper, null, false, Long.MAX_VALUE);
+ }
+
+ public TableResultIterator(MutationState mutationState, Scan scan, ScanMetricsHolder scanMetricsHolder,
+ long renewLeaseThreshold, QueryPlan plan, ParallelScanGrouper scanGrouper,Map<ImmutableBytesPtr,ServerCache> caches) throws SQLException {
+ this(mutationState, scan, scanMetricsHolder, renewLeaseThreshold, plan, scanGrouper, caches, false, Long.MAX_VALUE);
+ }
+
+ public TableResultIterator(MutationState mutationState, Scan scan, ScanMetricsHolder scanMetricsHolder,
+ long renewLeaseThreshold, QueryPlan plan, ParallelScanGrouper scanGrouper, boolean isMapReduceContext) throws SQLException {
+ this(mutationState, scan, scanMetricsHolder, renewLeaseThreshold, plan, scanGrouper, null, isMapReduceContext, Long.MAX_VALUE);
+ }
+
+ public TableResultIterator(MutationState mutationState, Scan scan, ScanMetricsHolder scanMetricsHolder,
+ long renewLeaseThreshold, QueryPlan plan, ParallelScanGrouper scanGrouper,Map<ImmutableBytesPtr,ServerCache> caches,
+ boolean isMapReduceContext) throws SQLException {
+ this(mutationState, scan, scanMetricsHolder, renewLeaseThreshold, plan, scanGrouper, caches, isMapReduceContext, Long.MAX_VALUE);
+ }
+ // End Constructors without maxQueryEndTime to maintain API compatibility for phoenix-connectors
+
@Override
public void close() throws SQLException {
try {