Parameters | Description |
Data Destination | Specify the HBase data source to write to. |
Namespace | Supports selecting or manually entering the space to write to. |
Table | Support selection or manual entry of the table name to be written to. If the data source network is not connected and the table information cannot be fetched directly, you can manually enter the table name. Data synchronization can still be performed when the DataInLong network is connected. |
rowkey Rule | Click configure to enter the rowkey configuration page, then configure the type and corresponding value. |
Advanced Settings | You can configure parameters according to business needs. |
Parameters | Description |
Data Destination | Select the available HBase data source in the current project. |
Namespace | Enter or select the namespace manually. |
Table | Select the corresponding table in the data source. |
rowkey Rule | The HBase data source needs to configure rowkey Regulations. |
Advanced Settings (optional) | You can configure parameters according to business needs. |
Internal Types | HBase Type |
CHAR,VARCHAR,STRING | byte[] toBytes(String s),String toString(byte[] b) |
BOOLEAN | byte[] toBytes(boolean b),boolean toBoolean(byte[] b) |
BINARY VARBINARY | Returns byte[] as is. |
DECIMAL | byte[] toBytes(BigDecimal v),BigDecimal toBigDecimal(byte[] b) |
TINYINT | new byte[] { val },bytes[0] // returns first and only byte from bytes |
SMALLINT | byte[] toBytes(short val),short toShort(byte[] bytes) |
INT | byte[] toBytes(int val),int toInt(byte[] bytes) |
BIGINT | byte[] toBytes(long val),long toLong(byte[] bytes) |
FLOAT | byte[] toBytes(float val),float toFloat(byte[] bytes) |
DOUBLE | byte[] toBytes(double val),double toDouble(byte[] bytes) |
DATE | Stores the number of days since epoch as int value. |
TIME | Stores the number of milliseconds of the day as int value. |
TIMESTAMP | Stores the milliseconds since epoch as long value. |
Was this page helpful?