org.apache.hadoop.hbase.mapreduce
Class CellCreator
java.lang.Object
org.apache.hadoop.hbase.mapreduce.CellCreator
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class CellCreator
- extends Object
Facade to create Cells for HFileOutputFormat. The created Cells are of Put type.
|
Constructor Summary |
CellCreator(org.apache.hadoop.conf.Configuration conf)
|
|
Method Summary |
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)
|
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)
|
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)
Deprecated. |
VisibilityExpressionResolver |
getVisibilityExpressionResolver()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VISIBILITY_EXP_RESOLVER_CLASS
@InterfaceStability.Unstable
public static final String VISIBILITY_EXP_RESOLVER_CLASS
- See Also:
- Constant Field Values
CellCreator
public CellCreator(org.apache.hadoop.conf.Configuration conf)
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.
- 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
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 lengthtags -
- Returns:
- created Cell
- Throws:
IOException
getVisibilityExpressionResolver
@InterfaceStability.Unstable
public VisibilityExpressionResolver getVisibilityExpressionResolver()
- Returns:
- Visibility expression resolver
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.