|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.thrift.ThriftUtilities
public class ThriftUtilities
| Constructor Summary | |
|---|---|
ThriftUtilities()
|
|
| Method Summary | |
|---|---|
static List<TCell> |
cellFromHBase(KeyValue in)
This utility method creates a list of Thrift TCell "struct" based on an Hbase Cell object. |
static List<TCell> |
cellFromHBase(KeyValue[] in)
This utility method creates a list of Thrift TCell "struct" based on an Hbase Cell array. |
static ColumnDescriptor |
colDescFromHbase(HColumnDescriptor in)
This utility method creates a new Thrift ColumnDescriptor "struct" based on an Hbase HColumnDescriptor object. |
static HColumnDescriptor |
colDescFromThrift(ColumnDescriptor in)
This utility method creates a new Hbase HColumnDescriptor object based on a Thrift ColumnDescriptor "struct". |
static List<TRowResult> |
rowResultFromHBase(Result in)
|
static List<TRowResult> |
rowResultFromHBase(Result[] in)
This utility method creates a list of Thrift TRowResult "struct" based on an Hbase RowResult object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThriftUtilities()
| Method Detail |
|---|
public static HColumnDescriptor colDescFromThrift(ColumnDescriptor in)
throws IllegalArgument
in - Thrift ColumnDescriptor object
IllegalArgumentpublic static ColumnDescriptor colDescFromHbase(HColumnDescriptor in)
in - Hbase HColumnDescriptor object
public static List<TCell> cellFromHBase(KeyValue in)
in - Hbase Cell object
public static List<TCell> cellFromHBase(KeyValue[] in)
in - Hbase Cell array
public static List<TRowResult> rowResultFromHBase(Result[] in)
in - Hbase RowResult object
public static List<TRowResult> rowResultFromHBase(Result in)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||