Package org.apache.hadoop.hbase.test
Class IntegrationTestLoadCommonCrawl.HBaseKeyWritable
java.lang.Object
org.apache.hadoop.hbase.test.IntegrationTestLoadCommonCrawl.HBaseKeyWritable
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
- Enclosing class:
- IntegrationTestLoadCommonCrawl
public static class IntegrationTestLoadCommonCrawl.HBaseKeyWritable
extends Object
implements org.apache.hadoop.io.Writable
-
Field Summary
Modifier and TypeFieldDescriptionprivate byte[]
private int
private int
private byte[]
private int
private int
private byte[]
private int
private int
private long
-
Constructor Summary
ConstructorDescriptionHBaseKeyWritable
(byte[] row, byte[] family) HBaseKeyWritable
(byte[] row, byte[] family, byte[] qualifier) HBaseKeyWritable
(byte[] row, byte[] family, byte[] qualifier, long ts) HBaseKeyWritable
(byte[] row, byte[] family, long ts) HBaseKeyWritable
(byte[] row, int rowOffset, int rowLength, byte[] family, int familyOffset, int familyLength, byte[] qualifier, int qualifierOffset, int qualifierLength, long ts) HBaseKeyWritable
(org.apache.hadoop.hbase.Cell cell) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
int
byte[]
int
int
byte[]
int
int
long
void
readFields
(DataInput in) void
setFamily
(byte[] family) void
setFamilyLength
(int familyLength) void
setFamilyOffset
(int familyOffset) void
setQualifier
(byte[] qualifier) void
setQualifierLength
(int qualifierLength) void
setQualifierOffset
(int qualifierOffset) void
setRow
(byte[] row) void
setRowLength
(int rowLength) void
setRowOffset
(int rowOffset) void
setTimestamp
(long ts) void
write
(DataOutput out)
-
Field Details
-
row
-
rowOffset
-
rowLength
-
family
-
familyOffset
-
familyLength
-
qualifier
-
qualifierOffset
-
qualifierLength
-
ts
-
-
Constructor Details
-
HBaseKeyWritable
public HBaseKeyWritable() -
HBaseKeyWritable
public HBaseKeyWritable(byte[] row, int rowOffset, int rowLength, byte[] family, int familyOffset, int familyLength, byte[] qualifier, int qualifierOffset, int qualifierLength, long ts) -
HBaseKeyWritable
-
HBaseKeyWritable
-
HBaseKeyWritable
-
HBaseKeyWritable
-
HBaseKeyWritable
-
-
Method Details
-
readFields
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
write
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
getRowArray
-
setRow
-
getRowOffset
-
setRowOffset
-
getRowLength
-
setRowLength
-
getFamilyArray
-
setFamily
-
getFamilyOffset
-
setFamilyOffset
-
getFamilyLength
-
setFamilyLength
-
getQualifierArray
-
setQualifier
-
getQualifierOffset
-
setQualifierOffset
-
getQualifierLength
-
setQualifierLength
-
getTimestamp
-
setTimestamp
-