@InterfaceAudience.Private public class ColumnCount extends Object
NOT thread-safe because it is not used in a multi-threaded context, yet.
Constructor and Description |
---|
ColumnCount(byte[] column)
Constructor
|
ColumnCount(byte[] column,
int count)
Constructor
|
ColumnCount(byte[] column,
int offset,
int length,
int count)
Constuctor
|
public ColumnCount(byte[] column)
column
- the qualifier to count the versions forpublic ColumnCount(byte[] column, int count)
column
- the qualifier to count the versions forcount
- initial countpublic ColumnCount(byte[] column, int offset, int length, int count)
column
- the qualifier to count the versions foroffset
- in the passed buffer where to start the qualifier fromlength
- of the qualifiercount
- initial countpublic byte[] getBuffer()
public int getOffset()
public int getLength()
public int decrement()
public int increment()
public void setCount(int count)
count
- new count to setCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.