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)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
static ByteRange |
CellUtil.fillQualifierRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
static ByteRange |
CellUtil.fillRowRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
static ByteRange |
CellUtil.fillTagRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
static ByteRange |
CellUtil.fillValueRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
Modifier and Type | Method and Description |
---|---|
static ByteRange |
CellUtil.fillFamilyRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
static ByteRange |
CellUtil.fillQualifierRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
static ByteRange |
CellUtil.fillRowRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
static ByteRange |
CellUtil.fillTagRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
static ByteRange |
CellUtil.fillValueRange(Cell cell,
ByteRange range)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0.
|
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 |
SimpleByteRange.deepCopy() |
ByteRange |
SimpleMutableByteRange.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 |
SimpleByteRange.put(int index,
byte val) |
ByteRange |
SimpleMutableByteRange.put(int index,
byte val) |
ByteRange |
ByteRange.put(int index,
byte val)
Store
val at index . |
ByteRange |
SimpleByteRange.put(int index,
byte[] val) |
ByteRange |
SimpleMutableByteRange.put(int index,
byte[] val) |
ByteRange |
ByteRange.put(int index,
byte[] val)
Store
val at index . |
ByteRange |
SimpleByteRange.put(int index,
byte[] val,
int offset,
int length) |
ByteRange |
SimpleMutableByteRange.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 |
SimpleByteRange.putInt(int index,
int val) |
ByteRange |
SimpleMutableByteRange.putInt(int index,
int val) |
ByteRange |
ByteRange.putInt(int index,
int val)
Store the int value at
index |
ByteRange |
SimpleByteRange.putLong(int index,
long val) |
ByteRange |
SimpleMutableByteRange.putLong(int index,
long val) |
ByteRange |
ByteRange.putLong(int index,
long val)
Store the long value at
index |
ByteRange |
SimpleByteRange.putShort(int index,
short val) |
ByteRange |
SimpleMutableByteRange.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 |
SimpleByteRange.shallowCopy() |
ByteRange |
SimpleMutableByteRange.shallowCopy() |
ByteRange |
ByteRange.shallowCopy()
Create a new
ByteRange that points at this range's byte[]. |
ByteRange |
SimpleByteRange.shallowCopySubRange(int innerOffset,
int copyLength) |
ByteRange |
SimpleMutableByteRange.shallowCopySubRange(int innerOffset,
int copyLength) |
ByteRange |
ByteRange.shallowCopySubRange(int innerOffset,
int copyLength)
Create a new
ByteRange that points at this range's byte[]. |
ByteRange |
SimpleByteRange.unset() |
ByteRange |
SimpleMutableByteRange.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–2020 The Apache Software Foundation. All rights reserved.