[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to