Package org.apache.hadoop.hbase
Class TestCellUtil.TestCell
java.lang.Object
org.apache.hadoop.hbase.TestCellUtil.TestCell
- All Implemented Interfaces:
org.apache.hadoop.hbase.Cell
,org.apache.hadoop.hbase.ExtendedCell
,org.apache.hadoop.hbase.io.HeapSize
,org.apache.hadoop.hbase.RawCell
- Enclosing class:
- TestCellUtil
private static class TestCellUtil.TestCell
extends Object
implements org.apache.hadoop.hbase.ExtendedCell
Cell used in test. Has row only.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Cell
org.apache.hadoop.hbase.Cell.Type
-
Field Summary
Fields inherited from interface org.apache.hadoop.hbase.ExtendedCell
CELL_NOT_BASED_ON_CHUNK
Fields inherited from interface org.apache.hadoop.hbase.RawCell
MAX_TAGS_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte
int
byte[]
int
int
byte[]
short
int
long
int
byte[]
int
int
long
byte
byte[]
int
int
long
heapSize()
void
setSequenceId
(long seqId) void
setTimestamp
(byte[] ts) void
setTimestamp
(long ts) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.ExtendedCell
deepClone, getChunkId, getSerializedSize, getType, write, write
Methods inherited from interface org.apache.hadoop.hbase.RawCell
cloneTags, getTag, getTags
-
Field Details
-
row
-
-
Constructor Details
-
TestCell
TestCell(int i)
-
-
Method Details
-
getRowArray
- Specified by:
getRowArray
in interfaceorg.apache.hadoop.hbase.Cell
-
getRowOffset
- Specified by:
getRowOffset
in interfaceorg.apache.hadoop.hbase.Cell
-
getRowLength
- Specified by:
getRowLength
in interfaceorg.apache.hadoop.hbase.Cell
-
getFamilyArray
- Specified by:
getFamilyArray
in interfaceorg.apache.hadoop.hbase.Cell
-
getFamilyOffset
- Specified by:
getFamilyOffset
in interfaceorg.apache.hadoop.hbase.Cell
-
getFamilyLength
- Specified by:
getFamilyLength
in interfaceorg.apache.hadoop.hbase.Cell
-
getQualifierArray
- Specified by:
getQualifierArray
in interfaceorg.apache.hadoop.hbase.Cell
-
getQualifierOffset
- Specified by:
getQualifierOffset
in interfaceorg.apache.hadoop.hbase.Cell
-
getQualifierLength
- Specified by:
getQualifierLength
in interfaceorg.apache.hadoop.hbase.Cell
-
getTimestamp
- Specified by:
getTimestamp
in interfaceorg.apache.hadoop.hbase.Cell
-
getTypeByte
- Specified by:
getTypeByte
in interfaceorg.apache.hadoop.hbase.ExtendedCell
-
getValueArray
- Specified by:
getValueArray
in interfaceorg.apache.hadoop.hbase.Cell
-
getValueOffset
- Specified by:
getValueOffset
in interfaceorg.apache.hadoop.hbase.Cell
-
getValueLength
- Specified by:
getValueLength
in interfaceorg.apache.hadoop.hbase.Cell
-
getSerializedSize
- Specified by:
getSerializedSize
in interfaceorg.apache.hadoop.hbase.Cell
- Specified by:
getSerializedSize
in interfaceorg.apache.hadoop.hbase.ExtendedCell
-
getTagsArray
- Specified by:
getTagsArray
in interfaceorg.apache.hadoop.hbase.RawCell
-
getTagsOffset
- Specified by:
getTagsOffset
in interfaceorg.apache.hadoop.hbase.RawCell
-
getSequenceId
- Specified by:
getSequenceId
in interfaceorg.apache.hadoop.hbase.ExtendedCell
-
getTagsLength
- Specified by:
getTagsLength
in interfaceorg.apache.hadoop.hbase.RawCell
-
heapSize
- Specified by:
heapSize
in interfaceorg.apache.hadoop.hbase.io.HeapSize
-
setSequenceId
- Specified by:
setSequenceId
in interfaceorg.apache.hadoop.hbase.ExtendedCell
- Throws:
IOException
-
setTimestamp
- Specified by:
setTimestamp
in interfaceorg.apache.hadoop.hbase.ExtendedCell
- Throws:
IOException
-
setTimestamp
- Specified by:
setTimestamp
in interfaceorg.apache.hadoop.hbase.ExtendedCell
- Throws:
IOException
-