Class CellCreator

java.lang.Object
org.apache.hadoop.hbase.mapreduce.CellCreator

@Public public class CellCreator extends Object
Facade to create Cells for HFileOutputFormat. The created Cells are of Put type.
  • Field Details

  • Constructor Details

    • CellCreator

      public CellCreator(org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • create

      public Cell create(byte[] row, int roffset, int rlength, byte[] family, int foffset, int flength, byte[] qualifier, int qoffset, int qlength, long timestamp, byte[] value, int voffset, int vlength) throws IOException
      Parameters:
      row - row key
      roffset - row offset
      rlength - row length
      family - family name
      foffset - family offset
      flength - family length
      qualifier - column qualifier
      qoffset - qualifier offset
      qlength - qualifier length
      timestamp - version timestamp
      value - column value
      voffset - value offset
      vlength - value length
      Returns:
      created Cell
      Throws:
      IOException
    • create

      @Deprecated public Cell create(byte[] row, int roffset, int rlength, byte[] family, int foffset, int flength, byte[] qualifier, int qoffset, int qlength, long timestamp, byte[] value, int voffset, int vlength, String visExpression) throws IOException
      Deprecated.
      since 0.98.9
      Parameters:
      row - row key
      roffset - row offset
      rlength - row length
      family - family name
      foffset - family offset
      flength - family length
      qualifier - column qualifier
      qoffset - qualifier offset
      qlength - qualifier length
      timestamp - version timestamp
      value - column value
      voffset - value offset
      vlength - value length
      visExpression - visibility expression to be associated with cell
      Returns:
      created Cell
      Throws:
      IOException
      See Also:
    • create

      public Cell create(byte[] row, int roffset, int rlength, byte[] family, int foffset, int flength, byte[] qualifier, int qoffset, int qlength, long timestamp, byte[] value, int voffset, int vlength, List<Tag> tags) throws IOException
      Parameters:
      row - row key
      roffset - row offset
      rlength - row length
      family - family name
      foffset - family offset
      flength - family length
      qualifier - column qualifier
      qoffset - qualifier offset
      qlength - qualifier length
      timestamp - version timestamp
      value - column value
      voffset - value offset
      vlength - value length
      Returns:
      created Cell
      Throws:
      IOException
    • getVisibilityExpressionResolver

      Returns Visibility expression resolver