Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
static ByteRange |
CellUtil.fillFamilyRange(Cell cell,
ByteRange range) |
static ByteRange |
CellUtil.fillQualifierRange(Cell cell,
ByteRange range) |
static ByteRange |
CellUtil.fillRowRange(Cell cell,
ByteRange range)
ByteRange
|
static ByteRange |
CellUtil.fillTagRange(Cell cell,
ByteRange range) |
static ByteRange |
CellUtil.fillValueRange(Cell cell,
ByteRange range) |
Modifier and Type | Method and Description |
---|---|
static ByteRange |
CellUtil.fillFamilyRange(Cell cell,
ByteRange range) |
static ByteRange |
CellUtil.fillQualifierRange(Cell cell,
ByteRange range) |
static ByteRange |
CellUtil.fillRowRange(Cell cell,
ByteRange range)
ByteRange
|
static ByteRange |
CellUtil.fillTagRange(Cell cell,
ByteRange range) |
static ByteRange |
CellUtil.fillValueRange(Cell cell,
ByteRange range) |
Modifier and Type | Interface and Description |
---|---|
interface |
PositionedByteRange
Extends
ByteRange with additional methods to support tracking a
consumers position within the viewport. |
Modifier and Type | Class and Description |
---|---|
class |
org.apache.hadoop.hbase.util.AbstractByteRange
An abstract implementation of the ByteRange API
|
class |
org.apache.hadoop.hbase.util.AbstractPositionedByteRange
Extends the basic
SimpleByteRange implementation with position
support. |
class |
SimpleByteRange
A read only version of the
ByteRange . |
class |
SimpleMutableByteRange
A basic mutable
ByteRange implementation. |
class |
SimplePositionedByteRange
Extends the basic
SimpleMutableByteRange implementation with position
support and it is a readonly version. |
class |
SimplePositionedMutableByteRange
Extends the basic
AbstractPositionedByteRange implementation with
position support and it is a mutable version. |
Modifier and Type | Method and Description |
---|---|
ByteRange |
SimpleMutableByteRange.deepCopy() |
ByteRange |
SimpleByteRange.deepCopy() |
ByteRange |
ByteRange.deepCopy()
Create a new
ByteRange with new backing byte[] containing a copy
of the content from this range's window. |
ByteRange |
ByteRange.get(int index,
byte[] dst)
Fill
dst with bytes from the range, starting from index . |
ByteRange |
ByteRange.get(int index,
byte[] dst,
int offset,
int length)
Fill
dst with bytes from the range, starting from index . |
ByteRange |
SimpleMutableByteRange.put(int index,
byte val) |
ByteRange |
SimpleByteRange.put(int index,
byte val) |
ByteRange |
ByteRange.put(int index,
byte val)
Store
val at index . |
ByteRange |
SimpleMutableByteRange.put(int index,
byte[] val) |
ByteRange |
SimpleByteRange.put(int index,
byte[] val) |
ByteRange |
ByteRange.put(int index,
byte[] val)
Store
val at index . |
ByteRange |
SimpleMutableByteRange.put(int index,
byte[] val,
int offset,
int length) |
ByteRange |
SimpleByteRange.put(int index,
byte[] val,
int offset,
int length) |
ByteRange |
ByteRange.put(int index,
byte[] val,
int offset,
int length)
Store
length bytes from val into this range, starting at
index . |
ByteRange |
SimpleMutableByteRange.putInt(int index,
int val) |
ByteRange |
SimpleByteRange.putInt(int index,
int val) |
ByteRange |
ByteRange.putInt(int index,
int val)
Store the int value at
index |
ByteRange |
SimpleMutableByteRange.putLong(int index,
long val) |
ByteRange |
SimpleByteRange.putLong(int index,
long val) |
ByteRange |
ByteRange.putLong(int index,
long val)
Store the long value at
index |
ByteRange |
SimpleMutableByteRange.putShort(int index,
short val) |
ByteRange |
SimpleByteRange.putShort(int index,
short val) |
ByteRange |
ByteRange.putShort(int index,
short val)
Store the short value at
index |
ByteRange |
SimpleByteRange.set(byte[] bytes) |
ByteRange |
ByteRange.set(byte[] bytes)
Reuse this
ByteRange over a new byte[]. |
ByteRange |
SimpleByteRange.set(byte[] bytes,
int offset,
int length) |
ByteRange |
ByteRange.set(byte[] bytes,
int offset,
int length)
Reuse this
ByteRange over a new byte[]. |
ByteRange |
SimpleByteRange.set(int capacity) |
ByteRange |
ByteRange.set(int capacity)
Reuse this
ByteRange over a new byte[]. |
ByteRange |
ByteRange.setLength(int length)
Update the length of this range.
|
ByteRange |
ByteRange.setOffset(int offset)
Update the beginning of this range.
|
ByteRange |
SimpleMutableByteRange.shallowCopy() |
ByteRange |
SimpleByteRange.shallowCopy() |
ByteRange |
ByteRange.shallowCopy()
Create a new
ByteRange that points at this range's byte[]. |
ByteRange |
SimpleMutableByteRange.shallowCopySubRange(int innerOffset,
int copyLength) |
ByteRange |
SimpleByteRange.shallowCopySubRange(int innerOffset,
int copyLength) |
ByteRange |
ByteRange.shallowCopySubRange(int innerOffset,
int copyLength)
Create a new
ByteRange that points at this range's byte[]. |
ByteRange |
SimpleMutableByteRange.unset() |
ByteRange |
SimpleByteRange.unset() |
ByteRange |
ByteRange.unset()
Nullifies this ByteRange.
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<ByteRange> |
ByteRangeUtils.fromArrays(Collection<byte[]> arrays) |
Modifier and Type | Method and Description |
---|---|
static int |
ByteRangeUtils.numEqualPrefixBytes(ByteRange left,
ByteRange right,
int rightInnerOffset) |
static void |
ByteRangeUtils.write(OutputStream os,
ByteRange byteRange) |
static void |
ByteRangeUtils.write(OutputStream os,
ByteRange byteRange,
int byteRangeInnerOffset) |
Modifier and Type | Method and Description |
---|---|
static ArrayList<byte[]> |
ByteRangeUtils.copyToNewArrays(Collection<ByteRange> ranges) |
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.