@Override
  public ExtendedCell current() {
    if (
      isEmpty() || cellScannerIndex == INITIAL_CELLSCANNER_INDEX || cellScannerIndex >= cells.length
    ) {
      return null;
    }
    return this.cells[cellScannerIndex];
  }
For client users: You should only use the return value as a {@link Cell}, {@link ExtendedCell}
is marked as IA.Private which means there is no guarantee about its API stability.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Result.java