@InterfaceAudience.Private public abstract class ExtendedCellBuilderImpl extends Object implements ExtendedCellBuilder
Modifier and Type | Field and Description |
---|---|
protected byte[] |
family |
protected int |
fLength |
protected int |
fOffset |
protected int |
qLength |
protected int |
qOffset |
protected byte[] |
qualifier |
protected int |
rLength |
protected int |
rOffset |
protected byte[] |
row |
protected long |
seqId |
protected byte[] |
tags |
protected int |
tagsLength |
protected int |
tagsOffset |
protected long |
timestamp |
protected KeyValue.Type |
type |
protected byte[] |
value |
protected int |
vLength |
protected int |
vOffset |
Constructor and Description |
---|
ExtendedCellBuilderImpl() |
protected byte[] row
protected int rOffset
protected int rLength
protected byte[] family
protected int fOffset
protected int fLength
protected byte[] qualifier
protected int qOffset
protected int qLength
protected long timestamp
protected KeyValue.Type type
protected byte[] value
protected int vOffset
protected int vLength
protected long seqId
protected byte[] tags
protected int tagsOffset
protected int tagsLength
public ExtendedCellBuilderImpl()
public ExtendedCellBuilder setRow(byte[] row)
setRow
in interface CellBuilder
setRow
in interface ExtendedCellBuilder
setRow
in interface RawCellBuilder
public ExtendedCellBuilder setRow(byte[] row, int rOffset, int rLength)
setRow
in interface CellBuilder
setRow
in interface ExtendedCellBuilder
setRow
in interface RawCellBuilder
public ExtendedCellBuilder setFamily(byte[] family)
setFamily
in interface CellBuilder
setFamily
in interface ExtendedCellBuilder
setFamily
in interface RawCellBuilder
public ExtendedCellBuilder setFamily(byte[] family, int fOffset, int fLength)
setFamily
in interface CellBuilder
setFamily
in interface ExtendedCellBuilder
setFamily
in interface RawCellBuilder
public ExtendedCellBuilder setQualifier(byte[] qualifier)
setQualifier
in interface CellBuilder
setQualifier
in interface ExtendedCellBuilder
setQualifier
in interface RawCellBuilder
public ExtendedCellBuilder setQualifier(byte[] qualifier, int qOffset, int qLength)
setQualifier
in interface CellBuilder
setQualifier
in interface ExtendedCellBuilder
setQualifier
in interface RawCellBuilder
public ExtendedCellBuilder setTimestamp(long timestamp)
setTimestamp
in interface CellBuilder
setTimestamp
in interface ExtendedCellBuilder
setTimestamp
in interface RawCellBuilder
public ExtendedCellBuilder setType(Cell.Type type)
setType
in interface CellBuilder
setType
in interface ExtendedCellBuilder
setType
in interface RawCellBuilder
public ExtendedCellBuilder setType(byte type)
setType
in interface ExtendedCellBuilder
public ExtendedCellBuilder setValue(byte[] value)
setValue
in interface CellBuilder
setValue
in interface ExtendedCellBuilder
setValue
in interface RawCellBuilder
public ExtendedCellBuilder setValue(byte[] value, int vOffset, int vLength)
setValue
in interface CellBuilder
setValue
in interface ExtendedCellBuilder
setValue
in interface RawCellBuilder
public ExtendedCellBuilder setTags(byte[] tags)
setTags
in interface ExtendedCellBuilder
public ExtendedCellBuilder setTags(byte[] tags, int tagsOffset, int tagsLength)
setTags
in interface ExtendedCellBuilder
public ExtendedCellBuilder setTags(List<Tag> tags)
setTags
in interface ExtendedCellBuilder
setTags
in interface RawCellBuilder
public ExtendedCellBuilder setSequenceId(long seqId)
ExtendedCellBuilder
setSequenceId
in interface ExtendedCellBuilder
seqId
- set the seqIdprivate void checkBeforeBuild()
protected abstract ExtendedCell innerBuild()
public ExtendedCell build()
build
in interface CellBuilder
build
in interface ExtendedCellBuilder
build
in interface RawCellBuilder
public ExtendedCellBuilder clear()
CellBuilder
clear
in interface CellBuilder
clear
in interface ExtendedCellBuilder
clear
in interface RawCellBuilder
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.