summaryrefslogtreecommitdiff
path: root/docs/user-guide.md
diff options
context:
space:
mode:
authorlifengchao <[email protected]>2023-12-29 10:20:29 +0800
committerlifengchao <[email protected]>2023-12-29 10:20:29 +0800
commit879697c2f727e4bae7d66fbf42e06ba83e03cd9f (patch)
tree51ba5d52674d05fbbeda0305cb964cc8ab74a505 /docs/user-guide.md
parent51418173022ec827f3b022073fb56bd73f7802ae (diff)
[improve][core] print sink 输出模式配置改为字符串枚举类型, 配置项改为mode,可选枚举值:stdout,log_info,log_warn
Diffstat (limited to 'docs/user-guide.md')
-rw-r--r--docs/user-guide.md24
1 files changed, 11 insertions, 13 deletions
diff --git a/docs/user-guide.md b/docs/user-guide.md
index bd550e0..41af047 100644
--- a/docs/user-guide.md
+++ b/docs/user-guide.md
@@ -105,19 +105,17 @@ fields:
```
`name` The name of the field. `type` The data type of the field.
-| Data type | Value type in Java | Description |
-|:----------|:--------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| string | `java.lang.String` | string |
-| boolean | `java.lang.Boolean` | boolean |
-| int | `java.lang.Integer` | All numbers from -2,147,483,648 to 2,147,483,647 are allowed. |
-| bigint | `java.lang.Long` | All numbers between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 are allowed. |
-| float | `java.lang.Float` | Float-precision numeric data from -1.79E+308 to 1.79E+308. |
-| double | `java.lang.Double` | Double precision floating point. Handle most decimals. |
-| decimal | `java.math.BigDecimal` | DOUBLE type stored as a string, allowing a fixed decimal point. |
-| null | `java.lang.Void` | null |
-| bytes | `byte[]` | bytes. |
-| struct | `java.util.Map` | A Map is an object that maps keys to values. The key type includes `int` `string` `bigint` `float` `double` `decimal` `date` `time` `timestamp` `null` , and the value type includes `int` `string` `boolean` `bigint` `float` `double` `decimal` `date` `time` `timestamp` `null` `array` `map`. |
-| array | `List<Object>` | A array is a data type that represents a collection of elements. The element type includes `int` `string` `boolean` `bigint` `float` `double` `array` `map`. |
+| Data type | Value type in Java | Description |
+|:----------|:--------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| string | `java.lang.String` | string |
+| boolean | `java.lang.Boolean` | boolean |
+| int | `java.lang.Integer` | All numbers from -2,147,483,648 to 2,147,483,647 are allowed. |
+| bigint | `java.lang.Long` | All numbers between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 are allowed. |
+| float | `java.lang.Float` | Float-precision numeric data from -1.79E+308 to 1.79E+308. |
+| double | `java.lang.Double` | Double precision floating point. Handle most decimals. |
+| binary | `byte[]` | bytes. |
+| struct | `java.util.Map<String, Object>` | A Map is an object that maps keys to values. The value type includes all types. example: struct<id:int, client_ip:string, data:struct<id:int, name:string>>. |
+| array | `List<Object>` | A array is a data type that represents a collection of elements. The element type includes all types. example: array<int>, array<struct<id:int, client_ip:string>>. |
## Sources