@InterfaceAudience.Public public class CellCreator extends Object
Put
type.Modifier and Type | Field and Description |
---|---|
private VisibilityExpressionResolver |
visExpResolver |
static String |
VISIBILITY_EXP_RESOLVER_CLASS |
Constructor and Description |
---|
CellCreator(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
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()
Returns Visibility expression resolver
|
public static final String VISIBILITY_EXP_RESOLVER_CLASS
private VisibilityExpressionResolver visExpResolver
public CellCreator(org.apache.hadoop.conf.Configuration conf)
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
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 lengthIOException
@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
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 cellIOException
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
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 n * @return created Cell nIOException
public VisibilityExpressionResolver getVisibilityExpressionResolver()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.