| 程序包 | 说明 |
|---|---|
| com.alibaba.hbase.util | |
| org.apache.hadoop.hbase.client.index |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
OrderedBytes.putBigDecimal(byte[] output,
int offset,
BigDecimal val,
AliHBaseColumn.SortOrder order)
Put a BigDecimal value into the specified byte array position, using its binary-comparable form with explicit sort order.
|
static int |
OrderedBytes.putByte(byte[] output,
int offset,
byte val,
AliHBaseColumn.SortOrder order)
Put a byte value into the specified byte array position, using its binary-comparable form with explicit sort order.
|
static int |
OrderedBytes.putDouble(byte[] output,
int offset,
double val,
AliHBaseColumn.SortOrder order)
Put a double value into the specified byte array position, using its binary-comparable form with explicit sort order.
|
static int |
OrderedBytes.putFloat(byte[] output,
int offset,
float val,
AliHBaseColumn.SortOrder order)
Put a float value into the specified byte array position, using its binary-comparable form with explicit sort order.
|
static int |
OrderedBytes.putInt(byte[] output,
int offset,
int val,
AliHBaseColumn.SortOrder order)
Put an integer value into the specified byte array position, using its binary-comparable form with explicit sort order.
|
static int |
OrderedBytes.putLong(byte[] output,
int offset,
long val,
AliHBaseColumn.SortOrder order)
Put a long value into the specified byte array position, using its binary-comparable form with explicit sort order.
|
static int |
OrderedBytes.putShort(byte[] output,
int offset,
short val,
AliHBaseColumn.SortOrder order)
Put a short value into the specified byte array position, using its binary-comparable form with explicit sort order.
|
static BigDecimal |
OrderedBytes.toBigDecimal(byte[] bytes,
AliHBaseColumn.SortOrder order)
Deserialize a BigDecimal value from its binary-comparable byte array with explicit sort order.
|
static BigDecimal |
OrderedBytes.toBigDecimal(byte[] bytes,
int offset,
int length,
AliHBaseColumn.SortOrder order)
Deserialize a BigDecimal value from its binary-comparable byte array with explicit sort order.
|
static byte |
OrderedBytes.toByte(byte[] bytes,
AliHBaseColumn.SortOrder order)
Deserialize a byte value from its binary-comparable byte array with explicit sort order.
|
static byte |
OrderedBytes.toByte(byte[] bytes,
int offset,
AliHBaseColumn.SortOrder order)
Deserialize a byte value from its binary-comparable byte array with explicit sort order.
|
static byte[] |
OrderedBytes.toBytes(BigDecimal val,
AliHBaseColumn.SortOrder order)
Serialize a BigDecimal value into its binary-comparable byte array with explicit sort order.
|
static byte[] |
OrderedBytes.toBytes(byte val,
AliHBaseColumn.SortOrder order)
Serialize a byte value into its binary-comparable byte array with explicit sort order.
|
static byte[] |
OrderedBytes.toBytes(double val,
AliHBaseColumn.SortOrder order)
Serialize a double value into its binary-comparable byte array with explicit sort order.
|
static byte[] |
OrderedBytes.toBytes(float val,
AliHBaseColumn.SortOrder order)
Serialize a float value into its binary-comparable byte array with explicit sort order.
|
static byte[] |
OrderedBytes.toBytes(int val,
AliHBaseColumn.SortOrder order)
Serialize an integer value into its binary-comparable byte array with explicit sort order.
|
static byte[] |
OrderedBytes.toBytes(long val,
AliHBaseColumn.SortOrder order)
Serialize a long value into its binary-comparable byte array with explicit sort order.
|
static byte[] |
OrderedBytes.toBytes(short val,
AliHBaseColumn.SortOrder order)
Serialize a short value into its binary-comparable byte array with explicit sort order.
|
static double |
OrderedBytes.toDouble(byte[] bytes,
AliHBaseColumn.SortOrder order)
Deserialize a double value from its binary-comparable byte array with explicit sort order.
|
static double |
OrderedBytes.toDouble(byte[] bytes,
int offset,
AliHBaseColumn.SortOrder order)
Deserialize a double value from its binary-comparable byte array with explicit sort order.
|
static float |
OrderedBytes.toFloat(byte[] bytes,
AliHBaseColumn.SortOrder order)
Deserialize a float value from its binary-comparable byte array with explicit sort order.
|
static float |
OrderedBytes.toFloat(byte[] bytes,
int offset,
AliHBaseColumn.SortOrder order)
Deserialize a float value from its binary-comparable byte array with explicit sort order.
|
static int |
OrderedBytes.toInt(byte[] bytes,
AliHBaseColumn.SortOrder order)
Deserialize an integer value from its binary-comparable byte array with explicit sort order.
|
static int |
OrderedBytes.toInt(byte[] bytes,
int offset,
AliHBaseColumn.SortOrder order)
Deserialize an integer value from its binary-comparable byte array with explicit sort order.
|
static long |
OrderedBytes.toLong(byte[] bytes,
AliHBaseColumn.SortOrder order)
Deserialize a long value from its binary-comparable byte array with explicit sort order.
|
static long |
OrderedBytes.toLong(byte[] bytes,
int offset,
AliHBaseColumn.SortOrder order)
Deserialize a long value from its binary-comparable byte array with explicit sort order.
|
static short |
OrderedBytes.toShort(byte[] bytes,
AliHBaseColumn.SortOrder order)
Deserialize a short value from its binary-comparable byte array with explicit sort order.
|
static short |
OrderedBytes.toShort(byte[] bytes,
int offset,
AliHBaseColumn.SortOrder order)
Deserialize a short value from its binary-comparable byte array with explicit sort order.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AliHBaseColumn.SortOrder |
AliHBaseColumn.SortOrder.fromImplSortOrder(com.alibaba.lindorm.client.schema.SortOrder so) |
static AliHBaseColumn.SortOrder |
AliHBaseColumn.SortOrder.getDefault() |
AliHBaseColumn.SortOrder |
AliHBaseColumn.getSortOrder() |
static AliHBaseColumn.SortOrder |
AliHBaseColumn.SortOrder.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AliHBaseColumn.SortOrder[] |
AliHBaseColumn.SortOrder.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AliHBaseIndexDescriptor.addIndexedColumn(byte[] family,
byte[] qualifier,
AliHBaseColumn.SortOrder sortOrder)
Add an indexed column to this index, with an explicit sort order.
|
void |
AliHBaseIndexDescriptor.addIndexedColumn(String family,
String qualifier,
AliHBaseColumn.SortOrder sortOrder) |
static AliHBaseColumn |
AliHBaseColumn.createIndexedColumn(byte[] family,
byte[] qualifier,
AliHBaseColumn.SortOrder sortOrder) |
Copyright © 2019. All rights reserved.