@InterfaceAudience.LimitedPrivate(value="Coprocesssor") public interface RawCell extends Cell
Modifier and Type | Field and Description |
---|---|
static int |
MAX_TAGS_LENGTH |
Modifier and Type | Method and Description |
---|---|
static void |
checkForTagsLength(int tagsLength)
Check the length of tags.
|
default byte[] |
cloneTags()
Allows cloning the tags in the cell to a new byte[]
|
static Cell |
createCell(Cell cell,
List<Tag> tags)
Returns A new cell which is having the extra tags also added to it.
|
default Optional<Tag> |
getTag(byte type)
Returns the specific tag of the given type
|
default Iterator<Tag> |
getTags()
Creates a list of tags in the current cell
|
getFamilyArray, getFamilyLength, getFamilyOffset, getQualifierArray, getQualifierLength, getQualifierOffset, getRowArray, getRowLength, getRowOffset, getSequenceId, getSerializedSize, getTagsArray, getTagsLength, getTagsOffset, getTimestamp, getType, getTypeByte, getValueArray, getValueLength, getValueOffset
static final int MAX_TAGS_LENGTH
default byte[] cloneTags()
default Iterator<Tag> getTags()
default Optional<Tag> getTag(byte type)
type
- the type of the tagstatic void checkForTagsLength(int tagsLength)
tagsLength
- the given length of tagsIllegalArgumentException
- if tagslength is invalidstatic Cell createCell(Cell cell, List<Tag> tags)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.