tencent cloud

TDSQL Boundless

HBase Compatibility

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-07-13 17:25:18

TDSQL Boundless (HBase Compatibility Mode) Supported Data Types

No.
Data Type
Name
Example
Description
1
String
string data
"Hello TDSQL World!"
-
2
Integer
integer data
12345
boundary values: Integer.MAX_VALUE, Integer.MIN_VALUE
3
Long
long integer data
9876543210L
boundary values: Long.MAX_VALUE, Long.MIN_VALUE
4
Double
double
3.141592654
boundary values: Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN
5
Float
float
2.71828f
boundary values: Float.MAX_VALUE, Float.POSITIVE_INFINITY, Float.NaN
6
Boolean
Boolean
TRUE
-
7
Short
short
32767
-
8
Byte
byte data
127
-
9
Binary Data
binary data pattern
{0x00, 0x01, 0x02, 0x03, 0x04, 0x05}
-
10
ASCII Data
ASCII data
{0x48, 0x65, 0x6C, 0x6C, 0x6F} (Hello)
-
11
Empty Data
Null Data
{}
-
12
List
List Type
["product_001", "product_002", "product_003", "product_002"]
-
13
Set
Collection Type
[1001, 1002, 1003, 1004, 1005]
-
14
Text
Text Type
"TDSQL Boundless is a distributed database designed for large-scale data processing and real-time analytics."
-
15
Sparse String
Sparse String
{"zh-CN": "Hello", "ja-JP": "こんにちは", "ko-KR": "안녕하세요"}
HBase
Sparse String is used to store sparse string data, which can save storage space.
16
Sparse Binary
Sparse Byte Array
{"thumbnail": {0x89, 0x50, 0x4E, 0x47}, "avatar": {0xFF, 0xD8, 0xFF, 0xE0}}
HBase
Sparse Byte Array is used to store sparse binary data, which can save storage space.

Interface Compatibility

HTable Interface

TDSQL Boundless HBase-Client client implements the HTableInterface interface, and its interface compatibility is as follows:
No.
Modifier and Type
Methods and Descriptions
TDSQL Boundless Compatibility
1
append(Append append)
Supported
2
batch(List<? extends Row> actions)
Similar to batch(List, Object[]), but returns an array of results rather than using the result parameter reference.
Supported
3
void
batch(List<? extends Row> actions, Object[] results)
A method for batch executing Deletes, Gets, Puts, Increments, Appends, and RowMutations.
Supported
4
boolean
checkAndDelete(byte[] row, byte[] family, byte[] qualifier, byte[] value,Delete delete)
Atomically checks whether the value of the row/column family/column qualifier matches the expected value.
Supported
5
boolean
checkAndPut(byte[] row, byte[] family, byte[] qualifier, byte[] value, Put put)
Atomically checks whether the value of the row/column family/column qualifier matches the expected value.
Supported
6
void
Release all occupied resources or discard pending changes in internal buffers.
Supported
7
<T extends CoprocessorProtocol,R>Map<byte[],R>
coprocessorExec(Class protocol, byte[] startKey, byte[] endKey, Batch.Call<T,R> callable)
Invokes the passed Batch.Call on the CoprocessorProtocol instance in the chosen region.
Not supported
8
<T extends CoprocessorProtocol,R> void
coprocessorExec(Class protocol, byte[] startKey, byte[] endKey, Batch.Call<T,R> callable, Batch.Callback callback)
Invoke the passed Batch.Call on the CoprocessorProtocol instance in the selected region, and use a callback to process the results.
Not supported
9
<T extends CoprocessorProtocol > T
coprocessorProxy(Class protocol, byte[] row)
Creates and returns a proxy for accessing the CoprocessorProtocol instance in the region containing the specified row.
Not supported
10
void
delete(Delete delete)
Delete the specified cell or row.
Supported
11
void
delete(List<Delete> deletes)
Batch delete the specified cells or rows.
Supported
12
boolean
exists(Get get)
Checks whether the columns specified by the Get exist in the table.
Supported
13
void
Execute all buffered Put operations.
Not supported
14
get(Get get)
Extract specific cells from the specified row.
Supported
15
get(List<Get> gets)
Perform batch extraction of specific cells from the specified row.
Supported
16
org.apache.hadoop.conf.Configuration
Returns the Configuration object used by the current instance.
Supported
17
getScanner(byte[] family)
Obtain a scanner for the specified column family in the current table.
Supported
18
getScanner(byte[] family, byte[] qualifier)
Obtain a scanner for the specified column family and column qualifier in the current table.
Supported
19
Returns a scanner for the current table based on the Scan object.
Supported
20
Obtain the table descriptor of the current table.
Not supported
21
byte[]
Obtain the name of the current table.
Not supported
22
long
Returns the maximum size of the write buffer for the current table (in bytes).
Not supported
23
increment(Increment increment)
Increments the value of one or more columns within a single row.
Supported
24
long
incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount)
Atomically increment the value of the specified column.
Supported
25
long
incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount, Durability durability)
Atomically increment the value of the specified column.
Not supported
26
boolean
Check whether the "Auto Refresh" feature is enabled.
Not supported
27
void
Perform multiple atomic mutation operations on a single row.
Supported
28
void
put(List<Put> puts)
Batch insert data into the table.
Supported
29
void
put(Put put)
Insert data into the table.
Supported
30
void
setAutoFlush(boolean autoFlush)
Not supported
31
void
setAutoFlush(boolean autoFlush, boolean clearBufferOnFail)
Enables or disables the "auto-refresh" feature and allows choosing to clear the buffer upon failure.
Not supported
32
void
setWriteBufferSize(long writeBufferSize)
Set the buffer size (in bytes).
Not supported

Admin Interface

The TDSQL Boundless HBase-Client implements the Admin interface, and its interface compatibility is as follows:
No.
Modifier and Type
Methods and Descriptions
TDSQL Boundless
Compatibility
1
void
Add a column family to an existing table.
Not supported
2
void
Create a new table.
Supported
3
void
deleteColumnFamily(TableName tableName, byte[] columnFamily)
Delete a column family from the table.
Not supported
4
void
Delete a table.
Supported
5
void
Disable the table and wait for completion.
Supported
6
void
Enable the table.
Supported
7
org.apache.hadoop.conf.Configuration
Retrieve the configuration in use for the instance.
Supported
8
Connection
Retrieve the connection used by this object.
Supported
9
Obtain the table descriptor.
Supported
10
boolean
Check whether the table is disabled.
Supported
11
boolean
Check whether the table is enabled.
Supported
12
Obtain the list of table descriptors.
Supported
13
List all user-space tables matching a given pattern.
Supported
14
List all user-space table names.
Supported
15
void
Primary compression table.
Not supported
16
void
majorCompact(TableName tableName, byte[] columnFamily)
Column families in the primary compression table.
Not supported
17
void
Modify existing column families in the table.
Supported
18
void
Modify existing tables (more IRB-friendly version).
Supported
19
boolean
Check whether the table exists.
Supported
20
void
Truncate table.
Supported

Scan Filter Support List

TDSQL Boundless (HBase compatibility mode) supports the following Scan Filters, which can be used in both Scan and Get operations.
Filter Name
Description
Compatibility
ColumnPrefixFilter
Returns all columns whose names start with the specified string.
Supported
ColumnPaginationFilter
Returns a specified number of columns starting from a given column or offset.
Supported
FirstKeyOnlyFilter
Returns only the first Cell of each row.
Supported
KeyOnlyFilter
Does not return the value. The optional lenAsVal parameter replaces the value with its length.
Supported
RandomRowFilter
Retains rows randomly based on a given probability (sampling).
Supported
TimestampsFilter
Retains only the data within the given set of timestamps.
Supported
DependentColumnFilter
Returns other cells with the same timestamp based on a specified dependency column. Optionally excludes the dependency column itself and supports value comparison.
Supported
SingleColumnValueFilter
Filters rows by comparing the values of a specified column and retains that column for rows that meet the condition.
Supported
SingleColumnValueExcludeFilter
Filters rows by comparing the values of a specified column but excludes that comparison column.
Supported
ColumnRangeFilter
Retains only columns whose names fall within the specified range.
Supported
MultipleColumnPrefixFilter
Retains only columns whose names match any of the specified prefixes.
Supported
MultiRowRangeFilter
Retains only rows that fall within multiple RowRange intervals.
Supported
InclusiveStopFilter
Returns all rows up to and including the specified row.
Supported
FamilyFilter
Filters rows by comparing specific column family names.
Supported
FuzzyRowFilter
Filters row keys based on fuzzy matching rules.
Supported
ColumnValueFilter
Filters rows by comparing the values of a specified column.
Supported
FilterList
Supports arbitrary nested combinations of AND/OR and aligns semantically with HBase 2.6.
Supported
Note:
Filter only supports the BinaryComparator. Other Comparators, such as RegexStringComparator and SubstringComparator, are not currently supported.
Scan and Get operations can both use Filters.
Condition.filter is not supported.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백