This is an automated email from the ASF dual-hosted git repository.

kadir pushed a commit to branch 5.2
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.2 by this push:
     new 1afb337470 PHOENIX-7287 Leverage bloom filters for multi-key point 
lookups (addendum)
1afb337470 is described below

commit 1afb3374700645944ae00e9d6d7cdcce718a6620
Author: Kadir Ozdemir <[email protected]>
AuthorDate: Tue Jul 9 22:04:49 2024 -0700

    PHOENIX-7287 Leverage bloom filters for multi-key point lookups (addendum)
---
 .../main/java/org/apache/phoenix/filter/SkipScanFilter.java   | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/phoenix-core-client/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
 
b/phoenix-core-client/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
index a9cb711653..14c1812ebc 100644
--- 
a/phoenix-core-client/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
+++ 
b/phoenix-core-client/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java
@@ -93,12 +93,21 @@ public class SkipScanFilter extends FilterBase implements 
Writable {
     public SkipScanFilter() {
     }
 
+    public SkipScanFilter(SkipScanFilter filter, boolean 
includeMultipleVersions) {
+        this(filter.slots, filter.slotSpan, filter.schema, 
includeMultipleVersions,
+                filter.isMultiKeyPointLookup);
+    }
+
     public SkipScanFilter(SkipScanFilter filter, boolean 
includeMultipleVersions,
             boolean isMultiKeyPointLookup) {
         this(filter.slots, filter.slotSpan, filter.schema, 
includeMultipleVersions,
                 isMultiKeyPointLookup);
     }
 
+    public SkipScanFilter(List<List<KeyRange>> slots, RowKeySchema schema) {
+        this(slots, ScanUtil.getDefaultSlotSpans(slots.size()), schema, false);
+    }
+    
     public SkipScanFilter(List<List<KeyRange>> slots, RowKeySchema schema, 
boolean isMultiKeyPointLookup) {
         this(slots, ScanUtil.getDefaultSlotSpans(slots.size()), schema, 
isMultiKeyPointLookup);
     }
@@ -107,7 +116,7 @@ public class SkipScanFilter extends FilterBase implements 
Writable {
             boolean isMultiKeyPointLookup) {
         this(slots, slotSpan, schema, false, isMultiKeyPointLookup);
     }
-    
+
     private SkipScanFilter(List<List<KeyRange>> slots, int[] slotSpan, 
RowKeySchema schema,
             boolean includeMultipleVersions, boolean isMultiKeyPointLookup) {
         init(slots, slotSpan, schema, includeMultipleVersions, 
isMultiKeyPointLookup);

Reply via email to