Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
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 encoded 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 | | |
15 | Sparse String | Sparse String | | HBase Sparse String is used to store sparse string data, which can save storage space. |
16 | Sparse Binary | Sparse Byte Array | | HBase Sparse Byte Array is used to store sparse binary data, which can save storage space. |
No. | Modifier and Type | Methods and Descriptions | TDSQL Boundless Compatibility |
1 | Supported. | ||
2 | Similar to batch(List, Object[]), but returns an array of results rather than using the result parameter reference. | Supported | |
3 | void | Methods for executing Deletes, Gets, Puts, Increments, Appends, and RowMutations in batches. | Supported |
4 | boolean | Atomically checks whether the value of the row/column family/column qualifier matches the expected value. | Not supported |
5 | boolean | Atomically checks whether the value of the row/column family/column qualifier matches the expected value. | Not supported |
6 | void | close() Release all occupied resources or discard pending changes in internal buffers. | Supported |
7 | Not supported. | ||
8 | 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 | Creates and returns a proxy for accessing the CoprocessorProtocol instance in the region containing the specified row. | Not supported. | |
10 | void | Delete the specified cell or row. | Supported |
11 | void | Batch delete the specified cells or rows. | Supported |
12 | boolean | Check whether the table contains the columns specified by Get. | Supported |
13 | void | Not supported | |
14 | Extract specific cells from the specified row. | Supported. | |
15 | 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 | Supported. | ||
20 | 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 the value of one or more columns in 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 | Batch insert data into the table. | Supported |
29 | void | 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 |
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 | 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 | 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 |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan