hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16353) Deprecate / Remove Get.isClosestRowBefore()
Date Thu, 25 Aug 2016 16:26:20 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437171#comment-15437171
] 

Yi Liang commented on HBASE-16353:
----------------------------------

Just review the related code, from the comments found that they will be removed in 3.0.0,
so we can mark it as resolved later.
{code}
  /**
   * This will always return the default value which is false as client cannot set the value
to this
   * property any more.
   * @deprecated since 2.0.0 and will be removed in 3.0.0
   */
  @Deprecated
  public boolean isClosestRowBefore() {
    return closestRowBefore;
  }

  /**
   * This is not used any more and does nothing. Use reverse scan instead.
   * @deprecated since 2.0.0 and will be removed in 3.0.0
   */
  @Deprecated
  public Get setClosestRowBefore(boolean closestRowBefore) {
    // do Nothing
    return this;
  }
{code}

> Deprecate / Remove Get.isClosestRowBefore() 
> --------------------------------------------
>
>                 Key: HBASE-16353
>                 URL: https://issues.apache.org/jira/browse/HBASE-16353
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Yi Liang
>              Labels: beginner
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-16353-V1.patch
>
>
> We no longer have "get closest row" functionality in 1.0+. We forgot to remove Get.setClosestRowBefore()
/  isClosestRowBefore and deprecate the field in PB {{closest_row_before}}. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message