You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2025/06/23 19:49:00 UTC

[jira] [Updated] (HDDS-13318) Simplify the Table.getRangeKVs methods

     [ https://issues.apache.org/jira/browse/HDDS-13318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz-wo Sze updated HDDS-13318:
------------------------------
    Description: 
In Table,
- Combine getRangeKVs and getSequentialRangeKVs into one method.
- Change the parameter MetadataKeyFilter... filters to non-varargs since the size is always <= 1.
- Remove the preKey and nextKey parameters from MetadataKeyFilter since they are always null as mentioned in the comment below.
{code}
// RDBTable.java
          // NOTE: the preKey and nextKey are never checked
          // in all existing underlying filters, so they could
          // be safely as null here.
{code}

  was:
In Table,
- Combine getRangeKVs and getSequentialRangeKVs into one method.
- Change the parameter MetadataKeyFilter... filters to non-varargs since the size is always <= 1.


> Simplify the Table.getRangeKVs methods
> --------------------------------------
>
>                 Key: HDDS-13318
>                 URL: https://issues.apache.org/jira/browse/HDDS-13318
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: db
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> In Table,
> - Combine getRangeKVs and getSequentialRangeKVs into one method.
> - Change the parameter MetadataKeyFilter... filters to non-varargs since the size is always <= 1.
> - Remove the preKey and nextKey parameters from MetadataKeyFilter since they are always null as mentioned in the comment below.
> {code}
> // RDBTable.java
>           // NOTE: the preKey and nextKey are never checked
>           // in all existing underlying filters, so they could
>           // be safely as null here.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org