public class ElementConvertor extends Object
| 构造器和说明 |
|---|
ElementConvertor() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.hadoop.hbase.HColumnDescriptor |
toHbasecolumnFamilyDescriptor(com.alibaba.lindorm.client.schema.LindormTableDescriptor tableDescriptor,
com.alibaba.lindorm.client.schema.ColumnFamilyDescriptor in) |
static org.apache.hadoop.hbase.client.Delete |
toHBaseDelete(com.alibaba.lindorm.client.core.widecolumnservice.WDelete in) |
static List<org.apache.hadoop.hbase.client.Delete> |
toHBaseDeletes(List<com.alibaba.lindorm.client.core.widecolumnservice.WDelete> in) |
static org.apache.hadoop.hbase.client.Put |
toHBasePut(com.alibaba.lindorm.client.core.widecolumnservice.WPut in)
Creates a
Put (HBase) from a WPut (Lindorm) |
static List<org.apache.hadoop.hbase.client.Put> |
toHBasePuts(List<com.alibaba.lindorm.client.core.widecolumnservice.WPut> in)
Converts multiple
WPuts (Lindorm) into a list of Puts (HBase). |
static org.apache.hadoop.hbase.client.Result |
toHBaseResult(com.alibaba.lindorm.client.core.widecolumnservice.WResult in)
Create a
Result (HBase) from a WResult (Lindorm) |
static org.apache.hadoop.hbase.client.Result[] |
toHBaseResults(List<com.alibaba.lindorm.client.core.widecolumnservice.WResult> in)
Converts multiple
WResults (Lindorm) into a list of Results
(HBase). |
static org.apache.hadoop.hbase.client.Result[] |
toHBaseResults(com.alibaba.lindorm.client.core.widecolumnservice.WResult[] in) |
static org.apache.hadoop.hbase.HTableDescriptor |
toHbaseTableDescriptor(String namespace,
com.alibaba.lindorm.client.schema.LindormTableDescriptor in) |
static org.apache.hadoop.hbase.TableName |
toHBaseTableName(String table) |
static com.alibaba.lindorm.client.schema.DataType |
toInterpreterDataType(String interpreterClassName) |
static com.alibaba.lindorm.client.core.widecolumnservice.WAppend |
toLindormAppend(org.apache.hadoop.hbase.client.Append append) |
static com.alibaba.lindorm.client.schema.ColumnFamilyDescriptor |
toLindormcolumnFamilyDescriptor(org.apache.hadoop.hbase.HColumnDescriptor in,
boolean limitedDescriptorEnable) |
static com.alibaba.lindorm.client.core.widecolumnservice.filter.WCompareFilter.CompareOp |
toLindormCompareOp(org.apache.hadoop.hbase.filter.CompareFilter.CompareOp operator) |
static com.alibaba.lindorm.client.core.widecolumnservice.WDelete |
toLindormDelete(org.apache.hadoop.hbase.client.Delete delete)
Creates a
WDelete (Tablestore) from a Delete (HBase). |
static List<com.alibaba.lindorm.client.core.widecolumnservice.WDelete> |
toLindormDeleteList(List<org.apache.hadoop.hbase.client.Delete> in)
Converts multiple
Deletes (HBase) into a list of WDeletes
(Lindorm). |
static List<com.alibaba.lindorm.client.schema.LindormFamilyAttributes> |
toLindormFamilyAttributes(org.apache.hadoop.hbase.HColumnDescriptor in,
boolean limitedDescriptorEnable) |
static com.alibaba.lindorm.client.core.widecolumnservice.WGet |
toLindormGet(org.apache.hadoop.hbase.client.Get get)
Creates a
WGet (Lindorm) from a Get (HBase). |
static List<com.alibaba.lindorm.client.core.widecolumnservice.WGet> |
toLindormGets(List<org.apache.hadoop.hbase.client.Get> in)
Converts multiple
Gets (HBase) into a list of WGets (Lindorm). |
static com.alibaba.lindorm.client.core.widecolumnservice.WIncrement |
toLindormIncrement(org.apache.hadoop.hbase.client.Increment inc) |
static com.alibaba.lindorm.client.core.widecolumnservice.WPut |
toLindormPut(org.apache.hadoop.hbase.client.Put put)
Creates a
WPut (Lindorm) from a Put (HBase) |
static List<com.alibaba.lindorm.client.core.widecolumnservice.WPut> |
toLindormPuts(List<org.apache.hadoop.hbase.client.Put> in)
Converts multiple
Puts (HBase) into a list of WPuts (Lindorm). |
static com.alibaba.lindorm.client.core.widecolumnservice.WRowMutations |
toLindormRowMutation(org.apache.hadoop.hbase.client.RowMutations rowMutations) |
static com.alibaba.lindorm.client.core.widecolumnservice.WScan |
toLindormScan(org.apache.hadoop.hbase.client.Scan scan) |
static com.alibaba.lindorm.client.schema.LindormTableDescriptor |
toLindormTableDescripter(org.apache.hadoop.hbase.HTableDescriptor htd,
boolean limitedDescriptorEnable) |
static String |
toLindormTableFullName(org.apache.hadoop.hbase.TableName tableName) |
static byte[] |
toValueBytes(com.alibaba.lindorm.client.dml.ColumnValue cv,
org.apache.hadoop.hbase.coprocessor.ColumnInterpreter interpreterClassName) |
public static com.alibaba.lindorm.client.core.widecolumnservice.WDelete toLindormDelete(org.apache.hadoop.hbase.client.Delete delete)
throws IOException
WDelete (Tablestore) from a Delete (HBase).delete - the Delete to convertWDeleteIOExceptionpublic static List<org.apache.hadoop.hbase.client.Delete> toHBaseDeletes(List<com.alibaba.lindorm.client.core.widecolumnservice.WDelete> in) throws IOException
IOExceptionpublic static org.apache.hadoop.hbase.client.Delete toHBaseDelete(com.alibaba.lindorm.client.core.widecolumnservice.WDelete in)
public static List<com.alibaba.lindorm.client.core.widecolumnservice.WDelete> toLindormDeleteList(List<org.apache.hadoop.hbase.client.Delete> in) throws IOException
Deletes (HBase) into a list of WDeletes
(Lindorm).in - list of Deletes to convertWDeletesIOExceptionpublic static com.alibaba.lindorm.client.core.widecolumnservice.WGet toLindormGet(org.apache.hadoop.hbase.client.Get get)
throws IOException
WGet (Lindorm) from a Get (HBase).get - the Get to convertWGet objectIOExceptionpublic static com.alibaba.lindorm.client.core.widecolumnservice.filter.WCompareFilter.CompareOp toLindormCompareOp(org.apache.hadoop.hbase.filter.CompareFilter.CompareOp operator)
throws IOException
IOExceptionpublic static List<org.apache.hadoop.hbase.client.Put> toHBasePuts(List<com.alibaba.lindorm.client.core.widecolumnservice.WPut> in)
WPuts (Lindorm) into a list of Puts (HBase).in - list of WPuts to convertPutspublic static org.apache.hadoop.hbase.client.Put toHBasePut(com.alibaba.lindorm.client.core.widecolumnservice.WPut in)
Put (HBase) from a WPut (Lindorm)in - the WPut to convertPutpublic static List<com.alibaba.lindorm.client.core.widecolumnservice.WPut> toLindormPuts(List<org.apache.hadoop.hbase.client.Put> in) throws IOException
Puts (HBase) into a list of WPuts (Lindorm).in - list of Puts to convertWPutsIOExceptionpublic static com.alibaba.lindorm.client.core.widecolumnservice.WPut toLindormPut(org.apache.hadoop.hbase.client.Put put)
throws IOException
WPut (Lindorm) from a Put (HBase)put - the Put to convertWPutIOExceptionpublic static com.alibaba.lindorm.client.core.widecolumnservice.WIncrement toLindormIncrement(org.apache.hadoop.hbase.client.Increment inc)
throws IOException
IOExceptionpublic static com.alibaba.lindorm.client.core.widecolumnservice.WAppend toLindormAppend(org.apache.hadoop.hbase.client.Append append)
throws IOException
IOExceptionpublic static com.alibaba.lindorm.client.core.widecolumnservice.WScan toLindormScan(org.apache.hadoop.hbase.client.Scan scan)
throws IOException
IOExceptionpublic static List<com.alibaba.lindorm.client.core.widecolumnservice.WGet> toLindormGets(List<org.apache.hadoop.hbase.client.Get> in) throws IOException
Gets (HBase) into a list of WGets (Lindorm).in - list of Gets to convertWGet objectsIOExceptionpublic static org.apache.hadoop.hbase.client.Result[] toHBaseResults(List<com.alibaba.lindorm.client.core.widecolumnservice.WResult> in)
WResults (Lindorm) into a list of Results
(HBase).in - array of WResults to convertResultspublic static org.apache.hadoop.hbase.client.Result[] toHBaseResults(com.alibaba.lindorm.client.core.widecolumnservice.WResult[] in)
public static org.apache.hadoop.hbase.client.Result toHBaseResult(com.alibaba.lindorm.client.core.widecolumnservice.WResult in)
Result (HBase) from a WResult (Lindorm)in - public static org.apache.hadoop.hbase.HColumnDescriptor toHbasecolumnFamilyDescriptor(com.alibaba.lindorm.client.schema.LindormTableDescriptor tableDescriptor,
com.alibaba.lindorm.client.schema.ColumnFamilyDescriptor in)
public static com.alibaba.lindorm.client.schema.ColumnFamilyDescriptor toLindormcolumnFamilyDescriptor(org.apache.hadoop.hbase.HColumnDescriptor in,
boolean limitedDescriptorEnable)
public static List<com.alibaba.lindorm.client.schema.LindormFamilyAttributes> toLindormFamilyAttributes(org.apache.hadoop.hbase.HColumnDescriptor in, boolean limitedDescriptorEnable) throws IOException
IOExceptionpublic static org.apache.hadoop.hbase.HTableDescriptor toHbaseTableDescriptor(String namespace, com.alibaba.lindorm.client.schema.LindormTableDescriptor in)
public static com.alibaba.lindorm.client.schema.LindormTableDescriptor toLindormTableDescripter(org.apache.hadoop.hbase.HTableDescriptor htd,
boolean limitedDescriptorEnable)
public static org.apache.hadoop.hbase.TableName toHBaseTableName(String table)
public static com.alibaba.lindorm.client.core.widecolumnservice.WRowMutations toLindormRowMutation(org.apache.hadoop.hbase.client.RowMutations rowMutations)
throws IOException
IOExceptionpublic static com.alibaba.lindorm.client.schema.DataType toInterpreterDataType(String interpreterClassName)
public static byte[] toValueBytes(com.alibaba.lindorm.client.dml.ColumnValue cv,
org.apache.hadoop.hbase.coprocessor.ColumnInterpreter interpreterClassName)
public static String toLindormTableFullName(org.apache.hadoop.hbase.TableName tableName)
Copyright © 2019. All rights reserved.