Unsupported HBase Java Methods

This topic identifies the HBase Java methods that are not supported for MapR Database tables. Attempts to call any of these methods results in an UnsupportedOperationException exception.

Methods regarding ACLs for cells:

  • Put.setACL(String user, org.apache.hadoop.hbase.security.access.Permission perms)
  • Append.setACL(Map<String,org.apache.hadoop.hbase.security.access.Permission> perms)
  • Delete.setACL(Map<String,org.apache.hadoop.hbase.security.access.Permission> perms)
  • Increment.setACL(Map<String,org.apache.hadoop.hbase.security.access.Permission> perms)

Methods regarding cell visibility:

  • Put.setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility expression)
  • Append.setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility expression)
  • Delete.setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility expression)
  • Increment.setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility expression)

Methods regarding time-to-live for cell values:

  • Put.setTTL(long ttl)
  • Append.setTTL(long ttl)
  • Delete.setTTL(long ttl)
  • Increment.setTTL(long ttl)

Other methods

  • Delete.deleteFamilyVersion(byte[] family, long timestamp)
  • Scan.setReversed(boolean reversed)
  • Scan.setBatch()
  • Scan.setCaching()
  • Scanner.next(int nbRows)