Class CellCreator
java.lang.Object
org.apache.hadoop.hbase.mapreduce.CellCreator
Facade to create Cells for HFileOutputFormat. The created Cells are of
Put
type.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(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) 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) Deprecated.since 0.98.9create
(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) Returns Visibility expression resolver
-
Field Details
-
VISIBILITY_EXP_RESOLVER_CLASS
- See Also:
-
visExpResolver
-
-
Constructor Details
-
CellCreator
-
-
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 keyroffset
- row offsetrlength
- row lengthfamily
- family namefoffset
- family offsetflength
- family lengthqualifier
- column qualifierqoffset
- qualifier offsetqlength
- qualifier lengthtimestamp
- version timestampvalue
- column valuevoffset
- value offsetvlength
- 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 keyroffset
- row offsetrlength
- row lengthfamily
- family namefoffset
- family offsetflength
- family lengthqualifier
- column qualifierqoffset
- qualifier offsetqlength
- qualifier lengthtimestamp
- version timestampvalue
- column valuevoffset
- value offsetvlength
- value lengthvisExpression
- 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 keyroffset
- row offsetrlength
- row lengthfamily
- family namefoffset
- family offsetflength
- family lengthqualifier
- column qualifierqoffset
- qualifier offsetqlength
- qualifier lengthtimestamp
- version timestampvalue
- column valuevoffset
- value offsetvlength
- value length- Returns:
- created Cell
- Throws:
IOException
-
getVisibilityExpressionResolver
Returns Visibility expression resolver
-