Package org.apache.hadoop.hbase
Class ExtendedCellBuilderImpl
java.lang.Object
org.apache.hadoop.hbase.ExtendedCellBuilderImpl
- All Implemented Interfaces:
CellBuilder
,ExtendedCellBuilder
,RawCellBuilder
- Direct Known Subclasses:
IndividualBytesFieldCellBuilder
,KeyValueBuilder
@Private
public abstract class ExtendedCellBuilderImpl
extends Object
implements ExtendedCellBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprotected byte[]
protected int
protected int
protected int
protected int
protected byte[]
protected int
protected int
protected byte[]
protected long
protected byte[]
protected int
protected int
protected long
protected KeyValue.Type
protected byte[]
protected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
clear()
Remove all internal elements from builder.protected abstract ExtendedCell
setFamily
(byte[] family) setFamily
(byte[] family, int fOffset, int fLength) setQualifier
(byte[] qualifier) setQualifier
(byte[] qualifier, int qOffset, int qLength) setRow
(byte[] row) setRow
(byte[] row, int rOffset, int rLength) setSequenceId
(long seqId) Internal usage.setTags
(byte[] tags) setTags
(byte[] tags, int tagsOffset, int tagsLength) setTimestamp
(long timestamp) setType
(byte type) setValue
(byte[] value) setValue
(byte[] value, int vOffset, int vLength)
-
Field Details
-
row
-
rOffset
-
rLength
-
family
-
fOffset
-
fLength
-
qualifier
-
qOffset
-
qLength
-
timestamp
-
type
-
value
-
vOffset
-
vLength
-
seqId
-
tags
-
tagsOffset
-
tagsLength
-
-
Constructor Details
-
ExtendedCellBuilderImpl
public ExtendedCellBuilderImpl()
-
-
Method Details
-
setRow
- Specified by:
setRow
in interfaceCellBuilder
- Specified by:
setRow
in interfaceExtendedCellBuilder
- Specified by:
setRow
in interfaceRawCellBuilder
-
setRow
- Specified by:
setRow
in interfaceCellBuilder
- Specified by:
setRow
in interfaceExtendedCellBuilder
- Specified by:
setRow
in interfaceRawCellBuilder
-
setFamily
- Specified by:
setFamily
in interfaceCellBuilder
- Specified by:
setFamily
in interfaceExtendedCellBuilder
- Specified by:
setFamily
in interfaceRawCellBuilder
-
setFamily
- Specified by:
setFamily
in interfaceCellBuilder
- Specified by:
setFamily
in interfaceExtendedCellBuilder
- Specified by:
setFamily
in interfaceRawCellBuilder
-
setQualifier
- Specified by:
setQualifier
in interfaceCellBuilder
- Specified by:
setQualifier
in interfaceExtendedCellBuilder
- Specified by:
setQualifier
in interfaceRawCellBuilder
-
setQualifier
- Specified by:
setQualifier
in interfaceCellBuilder
- Specified by:
setQualifier
in interfaceExtendedCellBuilder
- Specified by:
setQualifier
in interfaceRawCellBuilder
-
setTimestamp
- Specified by:
setTimestamp
in interfaceCellBuilder
- Specified by:
setTimestamp
in interfaceExtendedCellBuilder
- Specified by:
setTimestamp
in interfaceRawCellBuilder
-
setType
- Specified by:
setType
in interfaceCellBuilder
- Specified by:
setType
in interfaceExtendedCellBuilder
- Specified by:
setType
in interfaceRawCellBuilder
-
setType
- Specified by:
setType
in interfaceExtendedCellBuilder
-
setValue
- Specified by:
setValue
in interfaceCellBuilder
- Specified by:
setValue
in interfaceExtendedCellBuilder
- Specified by:
setValue
in interfaceRawCellBuilder
-
setValue
- Specified by:
setValue
in interfaceCellBuilder
- Specified by:
setValue
in interfaceExtendedCellBuilder
- Specified by:
setValue
in interfaceRawCellBuilder
-
setTags
- Specified by:
setTags
in interfaceExtendedCellBuilder
-
setTags
- Specified by:
setTags
in interfaceExtendedCellBuilder
-
setTags
- Specified by:
setTags
in interfaceExtendedCellBuilder
- Specified by:
setTags
in interfaceRawCellBuilder
-
setSequenceId
Description copied from interface:ExtendedCellBuilder
Internal usage. Be careful before you use this while building a cell- Specified by:
setSequenceId
in interfaceExtendedCellBuilder
- Parameters:
seqId
- set the seqId- Returns:
- the current ExternalCellBuilder
-
checkBeforeBuild
-
innerBuild
-
build
- Specified by:
build
in interfaceCellBuilder
- Specified by:
build
in interfaceExtendedCellBuilder
- Specified by:
build
in interfaceRawCellBuilder
-
clear
Description copied from interface:CellBuilder
Remove all internal elements from builder.- Specified by:
clear
in interfaceCellBuilder
- Specified by:
clear
in interfaceExtendedCellBuilder
- Specified by:
clear
in interfaceRawCellBuilder
-