diff --git a/src/UserGuide/Master/Tree/User-Manual/User-defined-function_apache.md b/src/UserGuide/Master/Tree/User-Manual/User-defined-function_apache.md index 5a5631a49..2d3d56cf3 100644 --- a/src/UserGuide/Master/Tree/User-Manual/User-defined-function_apache.md +++ b/src/UserGuide/Master/Tree/User-Manual/User-defined-function_apache.md @@ -246,7 +246,7 @@ The `validate` method is used to validate the parameters entered by the user. In this method, you can limit the number and types of input time series, check the attributes of user input, or perform any custom verification. -Please refer to the Javadoc for the usage of `UDFParameterValidator`. +Please refer to the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java) for the usage of `UDFParameterValidator`. 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -343,7 +343,7 @@ The first type of parameters are optional. If the parameters are not provided, t The sliding step parameter is also optional. If the parameter is not provided, the sliding step will be set to the same as the time interval for dividing the time axis. -The relationship between the three types of parameters can be seen in the figure below. Please see the Javadoc for more details. +The relationship between the three types of parameters can be seen in the figure below. Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java) for more details.
@@ -388,7 +388,7 @@ Window opening diagram: **For numerical data, if the state difference is less th StateWindowAccessStrategy can only take one column as input for now. -Please see the Javadoc for more details. +Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java) for more details. 2.2.2 **setOutputDataType** @@ -455,7 +455,7 @@ public class Adder implements UDTF { @Override public Object transform(Row row) throws Exception { - return row.getLong(0) + row.getLong(1); + return row.getLong(0) + row.getLong(1); } } ``` diff --git a/src/UserGuide/Master/Tree/User-Manual/User-defined-function_timecho.md b/src/UserGuide/Master/Tree/User-Manual/User-defined-function_timecho.md index ef856a0e9..368138332 100644 --- a/src/UserGuide/Master/Tree/User-Manual/User-defined-function_timecho.md +++ b/src/UserGuide/Master/Tree/User-Manual/User-defined-function_timecho.md @@ -247,7 +247,7 @@ The `validate` method is used to validate the parameters entered by the user. In this method, you can limit the number and types of input time series, check the attributes of user input, or perform any custom verification. -Please refer to the Javadoc for the usage of `UDFParameterValidator`. +Please refer to the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java) for the usage of `UDFParameterValidator`. 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -344,7 +344,7 @@ The first type of parameters are optional. If the parameters are not provided, t The sliding step parameter is also optional. If the parameter is not provided, the sliding step will be set to the same as the time interval for dividing the time axis. -The relationship between the three types of parameters can be seen in the figure below. Please see the Javadoc for more details. +The relationship between the three types of parameters can be seen in the figure below. Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java) for more details.
@@ -389,7 +389,7 @@ Window opening diagram: **For numerical data, if the state difference is less th StateWindowAccessStrategy can only take one column as input for now. -Please see the Javadoc for more details. +Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java) for more details. 2.2.2 **setOutputDataType** @@ -456,7 +456,7 @@ public class Adder implements UDTF { @Override public Object transform(Row row) throws Exception { - return row.getLong(0) + row.getLong(1); + return row.getLong(0) + row.getLong(1); } } ``` diff --git a/src/UserGuide/V1.3.x/User-Manual/User-defined-function_apache.md b/src/UserGuide/V1.3.x/User-Manual/User-defined-function_apache.md index 0dbf0cb32..6050190ae 100644 --- a/src/UserGuide/V1.3.x/User-Manual/User-defined-function_apache.md +++ b/src/UserGuide/V1.3.x/User-Manual/User-defined-function_apache.md @@ -248,7 +248,7 @@ The `validate` method is used to validate the parameters entered by the user. In this method, you can limit the number and types of input time series, check the attributes of user input, or perform any custom verification. -Please refer to the Javadoc for the usage of `UDFParameterValidator`. +Please refer to the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java) for the usage of `UDFParameterValidator`. 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -345,7 +345,7 @@ The first type of parameters are optional. If the parameters are not provided, t The sliding step parameter is also optional. If the parameter is not provided, the sliding step will be set to the same as the time interval for dividing the time axis. -The relationship between the three types of parameters can be seen in the figure below. Please see the Javadoc for more details. +The relationship between the three types of parameters can be seen in the figure below. Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java) for more details.
@@ -390,7 +390,7 @@ Window opening diagram: **For numerical data, if the state difference is less th StateWindowAccessStrategy can only take one column as input for now. -Please see the Javadoc for more details. +Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java) for more details. 2.2.2 **setOutputDataType** diff --git a/src/UserGuide/V1.3.x/User-Manual/User-defined-function_timecho.md b/src/UserGuide/V1.3.x/User-Manual/User-defined-function_timecho.md index a72e1305f..47a63b2ff 100644 --- a/src/UserGuide/V1.3.x/User-Manual/User-defined-function_timecho.md +++ b/src/UserGuide/V1.3.x/User-Manual/User-defined-function_timecho.md @@ -247,7 +247,7 @@ The `validate` method is used to validate the parameters entered by the user. In this method, you can limit the number and types of input time series, check the attributes of user input, or perform any custom verification. -Please refer to the Javadoc for the usage of `UDFParameterValidator`. +Please refer to the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java) for the usage of `UDFParameterValidator`. 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -344,7 +344,7 @@ The first type of parameters are optional. If the parameters are not provided, t The sliding step parameter is also optional. If the parameter is not provided, the sliding step will be set to the same as the time interval for dividing the time axis. -The relationship between the three types of parameters can be seen in the figure below. Please see the Javadoc for more details. +The relationship between the three types of parameters can be seen in the figure below. Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java) for more details.
@@ -389,7 +389,7 @@ Window opening diagram: **For numerical data, if the state difference is less th StateWindowAccessStrategy can only take one column as input for now. -Please see the Javadoc for more details. +Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java) for more details. 2.2.2 **setOutputDataType** diff --git a/src/UserGuide/dev-1.3/User-Manual/User-defined-function_apache.md b/src/UserGuide/dev-1.3/User-Manual/User-defined-function_apache.md index 172734b8a..6050190ae 100644 --- a/src/UserGuide/dev-1.3/User-Manual/User-defined-function_apache.md +++ b/src/UserGuide/dev-1.3/User-Manual/User-defined-function_apache.md @@ -248,7 +248,7 @@ The `validate` method is used to validate the parameters entered by the user. In this method, you can limit the number and types of input time series, check the attributes of user input, or perform any custom verification. -Please refer to the Javadoc for the usage of `UDFParameterValidator`. +Please refer to the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java) for the usage of `UDFParameterValidator`. 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -345,7 +345,7 @@ The first type of parameters are optional. If the parameters are not provided, t The sliding step parameter is also optional. If the parameter is not provided, the sliding step will be set to the same as the time interval for dividing the time axis. -The relationship between the three types of parameters can be seen in the figure below. Please see the Javadoc for more details. +The relationship between the three types of parameters can be seen in the figure below. Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java) for more details.
@@ -390,7 +390,7 @@ Window opening diagram: **For numerical data, if the state difference is less th StateWindowAccessStrategy can only take one column as input for now. -Please see the Javadoc for more details. +Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java) for more details. 2.2.2 **setOutputDataType** @@ -457,7 +457,7 @@ public class Adder implements UDTF { @Override public Object transform(Row row) throws Exception { - return row.getLong(0) + row.getLong(1); + return row.getLong(0) + row.getLong(1); } } ``` diff --git a/src/UserGuide/dev-1.3/User-Manual/User-defined-function_timecho.md b/src/UserGuide/dev-1.3/User-Manual/User-defined-function_timecho.md index 32dc34b3f..47a63b2ff 100644 --- a/src/UserGuide/dev-1.3/User-Manual/User-defined-function_timecho.md +++ b/src/UserGuide/dev-1.3/User-Manual/User-defined-function_timecho.md @@ -247,7 +247,7 @@ The `validate` method is used to validate the parameters entered by the user. In this method, you can limit the number and types of input time series, check the attributes of user input, or perform any custom verification. -Please refer to the Javadoc for the usage of `UDFParameterValidator`. +Please refer to the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java) for the usage of `UDFParameterValidator`. 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -344,7 +344,7 @@ The first type of parameters are optional. If the parameters are not provided, t The sliding step parameter is also optional. If the parameter is not provided, the sliding step will be set to the same as the time interval for dividing the time axis. -The relationship between the three types of parameters can be seen in the figure below. Please see the Javadoc for more details. +The relationship between the three types of parameters can be seen in the figure below. Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java) for more details.
@@ -389,7 +389,7 @@ Window opening diagram: **For numerical data, if the state difference is less th StateWindowAccessStrategy can only take one column as input for now. -Please see the Javadoc for more details. +Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java) for more details. 2.2.2 **setOutputDataType** @@ -456,7 +456,7 @@ public class Adder implements UDTF { @Override public Object transform(Row row) throws Exception { - return row.getLong(0) + row.getLong(1); + return row.getLong(0) + row.getLong(1); } } ``` diff --git a/src/UserGuide/latest/User-Manual/User-defined-function_apache.md b/src/UserGuide/latest/User-Manual/User-defined-function_apache.md index 8ca243b71..2d3d56cf3 100644 --- a/src/UserGuide/latest/User-Manual/User-defined-function_apache.md +++ b/src/UserGuide/latest/User-Manual/User-defined-function_apache.md @@ -246,7 +246,7 @@ The `validate` method is used to validate the parameters entered by the user. In this method, you can limit the number and types of input time series, check the attributes of user input, or perform any custom verification. -Please refer to the Javadoc for the usage of `UDFParameterValidator`. +Please refer to the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java) for the usage of `UDFParameterValidator`. 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -343,7 +343,7 @@ The first type of parameters are optional. If the parameters are not provided, t The sliding step parameter is also optional. If the parameter is not provided, the sliding step will be set to the same as the time interval for dividing the time axis. -The relationship between the three types of parameters can be seen in the figure below. Please see the Javadoc for more details. +The relationship between the three types of parameters can be seen in the figure below. Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java) for more details.
@@ -388,7 +388,7 @@ Window opening diagram: **For numerical data, if the state difference is less th StateWindowAccessStrategy can only take one column as input for now. -Please see the Javadoc for more details. +Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java) for more details. 2.2.2 **setOutputDataType** diff --git a/src/UserGuide/latest/User-Manual/User-defined-function_timecho.md b/src/UserGuide/latest/User-Manual/User-defined-function_timecho.md index 18aefe718..368138332 100644 --- a/src/UserGuide/latest/User-Manual/User-defined-function_timecho.md +++ b/src/UserGuide/latest/User-Manual/User-defined-function_timecho.md @@ -247,7 +247,7 @@ The `validate` method is used to validate the parameters entered by the user. In this method, you can limit the number and types of input time series, check the attributes of user input, or perform any custom verification. -Please refer to the Javadoc for the usage of `UDFParameterValidator`. +Please refer to the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java) for the usage of `UDFParameterValidator`. 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -344,7 +344,7 @@ The first type of parameters are optional. If the parameters are not provided, t The sliding step parameter is also optional. If the parameter is not provided, the sliding step will be set to the same as the time interval for dividing the time axis. -The relationship between the three types of parameters can be seen in the figure below. Please see the Javadoc for more details. +The relationship between the three types of parameters can be seen in the figure below. Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java) for more details.
@@ -389,7 +389,7 @@ Window opening diagram: **For numerical data, if the state difference is less th StateWindowAccessStrategy can only take one column as input for now. -Please see the Javadoc for more details. +Please see the [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java) for more details. 2.2.2 **setOutputDataType** diff --git a/src/zh/UserGuide/Master/Tree/User-Manual/User-defined-function_apache.md b/src/zh/UserGuide/Master/Tree/User-Manual/User-defined-function_apache.md index 25d78f7aa..7e6bef172 100644 --- a/src/zh/UserGuide/Master/Tree/User-Manual/User-defined-function_apache.md +++ b/src/zh/UserGuide/Master/Tree/User-Manual/User-defined-function_apache.md @@ -244,7 +244,7 @@ udf_reader_transformer_collector_memory_proportion=1:1:1 您可以在该方法中限制输入序列的数量和类型,检查用户输入的属性或者进行自定义逻辑的验证。 - `UDFParameterValidator`的使用方法请见 Javadoc。 +`UDFParameterValidator`的使用方法请见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java)。 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -334,7 +334,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 滑动步长参数也不是必须的。当您不提供滑动步长参数时,滑动步长会被设定为划分时间轴的时间间隔。 -3 类参数的关系可见下图。策略的构造方法详见 Javadoc。 +3 类参数的关系可见下图。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java)。 @@ -378,7 +378,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 3. 针对数值型数据,可以只提供单个窗口内部允许变化的阈值delta,时间轴显示时间窗开始时间会被定义为整个查询结果集中最小的时间戳,时间轴显示时间窗结束时间会被定义为整个查询结果集中最大的时间戳。 4. 针对文本数据以及布尔数据,可以不提供任何参数,开始与结束时间戳见3中解释。 -StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 Javadoc。 +StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java)。 2.2.2 **setOutputDataType** @@ -446,7 +446,7 @@ public class Adder implements UDTF { @Override public Object transform(Row row) throws Exception { - return row.getLong(0) + row.getLong(1); + return row.getLong(0) + row.getLong(1); } } ``` diff --git a/src/zh/UserGuide/Master/Tree/User-Manual/User-defined-function_timecho.md b/src/zh/UserGuide/Master/Tree/User-Manual/User-defined-function_timecho.md index 38da4c2e5..b71338c08 100644 --- a/src/zh/UserGuide/Master/Tree/User-Manual/User-defined-function_timecho.md +++ b/src/zh/UserGuide/Master/Tree/User-Manual/User-defined-function_timecho.md @@ -244,7 +244,7 @@ udf_reader_transformer_collector_memory_proportion=1:1:1 您可以在该方法中限制输入序列的数量和类型,检查用户输入的属性或者进行自定义逻辑的验证。 - `UDFParameterValidator`的使用方法请见 Javadoc。 +`UDFParameterValidator`的使用方法请见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java)。 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -334,7 +334,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 滑动步长参数也不是必须的。当您不提供滑动步长参数时,滑动步长会被设定为划分时间轴的时间间隔。 -3 类参数的关系可见下图。策略的构造方法详见 Javadoc。 +3 类参数的关系可见下图。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java)。 @@ -378,7 +378,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 3. 针对数值型数据,可以只提供单个窗口内部允许变化的阈值delta,时间轴显示时间窗开始时间会被定义为整个查询结果集中最小的时间戳,时间轴显示时间窗结束时间会被定义为整个查询结果集中最大的时间戳。 4. 针对文本数据以及布尔数据,可以不提供任何参数,开始与结束时间戳见3中解释。 -StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 Javadoc。 +StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java)。 2.2.2 **setOutputDataType** @@ -446,7 +446,7 @@ public class Adder implements UDTF { @Override public Object transform(Row row) throws Exception { - return row.getLong(0) + row.getLong(1); + return row.getLong(0) + row.getLong(1); } } ``` diff --git a/src/zh/UserGuide/V1.3.x/User-Manual/User-defined-function_apache.md b/src/zh/UserGuide/V1.3.x/User-Manual/User-defined-function_apache.md index e0816c3a9..f2a7cb627 100644 --- a/src/zh/UserGuide/V1.3.x/User-Manual/User-defined-function_apache.md +++ b/src/zh/UserGuide/V1.3.x/User-Manual/User-defined-function_apache.md @@ -242,7 +242,7 @@ udf_reader_transformer_collector_memory_proportion=1:1:1 您可以在该方法中限制输入序列的数量和类型,检查用户输入的属性或者进行自定义逻辑的验证。 - `UDFParameterValidator`的使用方法请见 Javadoc。 + `UDFParameterValidator`的使用方法请见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java)。 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -332,7 +332,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 滑动步长参数也不是必须的。当您不提供滑动步长参数时,滑动步长会被设定为划分时间轴的时间间隔。 -3 类参数的关系可见下图。策略的构造方法详见 Javadoc。 +3 类参数的关系可见下图。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java)。 @@ -376,7 +376,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 3. 针对数值型数据,可以只提供单个窗口内部允许变化的阈值delta,时间轴显示时间窗开始时间会被定义为整个查询结果集中最小的时间戳,时间轴显示时间窗结束时间会被定义为整个查询结果集中最大的时间戳。 4. 针对文本数据以及布尔数据,可以不提供任何参数,开始与结束时间戳见3中解释。 -StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 Javadoc。 +StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java)。 2.2.2 **setOutputDataType** diff --git a/src/zh/UserGuide/V1.3.x/User-Manual/User-defined-function_timecho.md b/src/zh/UserGuide/V1.3.x/User-Manual/User-defined-function_timecho.md index bacdb6fc4..0d4da8a51 100644 --- a/src/zh/UserGuide/V1.3.x/User-Manual/User-defined-function_timecho.md +++ b/src/zh/UserGuide/V1.3.x/User-Manual/User-defined-function_timecho.md @@ -243,7 +243,7 @@ udf_reader_transformer_collector_memory_proportion=1:1:1 您可以在该方法中限制输入序列的数量和类型,检查用户输入的属性或者进行自定义逻辑的验证。 - `UDFParameterValidator`的使用方法请见 Javadoc。 +`UDFParameterValidator`的使用方法请见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java)。 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -333,7 +333,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 滑动步长参数也不是必须的。当您不提供滑动步长参数时,滑动步长会被设定为划分时间轴的时间间隔。 -3 类参数的关系可见下图。策略的构造方法详见 Javadoc。 +3 类参数的关系可见下图。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java)。 @@ -377,7 +377,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 3. 针对数值型数据,可以只提供单个窗口内部允许变化的阈值delta,时间轴显示时间窗开始时间会被定义为整个查询结果集中最小的时间戳,时间轴显示时间窗结束时间会被定义为整个查询结果集中最大的时间戳。 4. 针对文本数据以及布尔数据,可以不提供任何参数,开始与结束时间戳见3中解释。 -StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 Javadoc。 +StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java)。 2.2.2 **setOutputDataType** diff --git a/src/zh/UserGuide/dev-1.3/User-Manual/User-defined-function_apache.md b/src/zh/UserGuide/dev-1.3/User-Manual/User-defined-function_apache.md index f95b12e38..f2a7cb627 100644 --- a/src/zh/UserGuide/dev-1.3/User-Manual/User-defined-function_apache.md +++ b/src/zh/UserGuide/dev-1.3/User-Manual/User-defined-function_apache.md @@ -242,7 +242,7 @@ udf_reader_transformer_collector_memory_proportion=1:1:1 您可以在该方法中限制输入序列的数量和类型,检查用户输入的属性或者进行自定义逻辑的验证。 - `UDFParameterValidator`的使用方法请见 Javadoc。 + `UDFParameterValidator`的使用方法请见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java)。 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -332,7 +332,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 滑动步长参数也不是必须的。当您不提供滑动步长参数时,滑动步长会被设定为划分时间轴的时间间隔。 -3 类参数的关系可见下图。策略的构造方法详见 Javadoc。 +3 类参数的关系可见下图。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java)。 @@ -376,7 +376,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 3. 针对数值型数据,可以只提供单个窗口内部允许变化的阈值delta,时间轴显示时间窗开始时间会被定义为整个查询结果集中最小的时间戳,时间轴显示时间窗结束时间会被定义为整个查询结果集中最大的时间戳。 4. 针对文本数据以及布尔数据,可以不提供任何参数,开始与结束时间戳见3中解释。 -StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 Javadoc。 +StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java)。 2.2.2 **setOutputDataType** @@ -444,7 +444,7 @@ public class Adder implements UDTF { @Override public Object transform(Row row) throws Exception { - return row.getLong(0) + row.getLong(1); + return row.getLong(0) + row.getLong(1); } } ``` diff --git a/src/zh/UserGuide/dev-1.3/User-Manual/User-defined-function_timecho.md b/src/zh/UserGuide/dev-1.3/User-Manual/User-defined-function_timecho.md index e4add1fde..0d4da8a51 100644 --- a/src/zh/UserGuide/dev-1.3/User-Manual/User-defined-function_timecho.md +++ b/src/zh/UserGuide/dev-1.3/User-Manual/User-defined-function_timecho.md @@ -243,7 +243,7 @@ udf_reader_transformer_collector_memory_proportion=1:1:1 您可以在该方法中限制输入序列的数量和类型,检查用户输入的属性或者进行自定义逻辑的验证。 - `UDFParameterValidator`的使用方法请见 Javadoc。 +`UDFParameterValidator`的使用方法请见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java)。 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -333,7 +333,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 滑动步长参数也不是必须的。当您不提供滑动步长参数时,滑动步长会被设定为划分时间轴的时间间隔。 -3 类参数的关系可见下图。策略的构造方法详见 Javadoc。 +3 类参数的关系可见下图。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java)。 @@ -377,7 +377,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 3. 针对数值型数据,可以只提供单个窗口内部允许变化的阈值delta,时间轴显示时间窗开始时间会被定义为整个查询结果集中最小的时间戳,时间轴显示时间窗结束时间会被定义为整个查询结果集中最大的时间戳。 4. 针对文本数据以及布尔数据,可以不提供任何参数,开始与结束时间戳见3中解释。 -StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 Javadoc。 +StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/1.3.4-1/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java)。 2.2.2 **setOutputDataType** @@ -445,7 +445,7 @@ public class Adder implements UDTF { @Override public Object transform(Row row) throws Exception { - return row.getLong(0) + row.getLong(1); + return row.getLong(0) + row.getLong(1); } } ``` diff --git a/src/zh/UserGuide/latest/User-Manual/User-defined-function_apache.md b/src/zh/UserGuide/latest/User-Manual/User-defined-function_apache.md index 6289c6808..7e6bef172 100644 --- a/src/zh/UserGuide/latest/User-Manual/User-defined-function_apache.md +++ b/src/zh/UserGuide/latest/User-Manual/User-defined-function_apache.md @@ -244,7 +244,7 @@ udf_reader_transformer_collector_memory_proportion=1:1:1 您可以在该方法中限制输入序列的数量和类型,检查用户输入的属性或者进行自定义逻辑的验证。 - `UDFParameterValidator`的使用方法请见 Javadoc。 +`UDFParameterValidator`的使用方法请见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java)。 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -334,7 +334,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 滑动步长参数也不是必须的。当您不提供滑动步长参数时,滑动步长会被设定为划分时间轴的时间间隔。 -3 类参数的关系可见下图。策略的构造方法详见 Javadoc。 +3 类参数的关系可见下图。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java)。 @@ -378,7 +378,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 3. 针对数值型数据,可以只提供单个窗口内部允许变化的阈值delta,时间轴显示时间窗开始时间会被定义为整个查询结果集中最小的时间戳,时间轴显示时间窗结束时间会被定义为整个查询结果集中最大的时间戳。 4. 针对文本数据以及布尔数据,可以不提供任何参数,开始与结束时间戳见3中解释。 -StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 Javadoc。 +StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java)。 2.2.2 **setOutputDataType** diff --git a/src/zh/UserGuide/latest/User-Manual/User-defined-function_timecho.md b/src/zh/UserGuide/latest/User-Manual/User-defined-function_timecho.md index 1c414e80a..b71338c08 100644 --- a/src/zh/UserGuide/latest/User-Manual/User-defined-function_timecho.md +++ b/src/zh/UserGuide/latest/User-Manual/User-defined-function_timecho.md @@ -244,7 +244,7 @@ udf_reader_transformer_collector_memory_proportion=1:1:1 您可以在该方法中限制输入序列的数量和类型,检查用户输入的属性或者进行自定义逻辑的验证。 - `UDFParameterValidator`的使用方法请见 Javadoc。 +`UDFParameterValidator`的使用方法请见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/parameter/UDFParameterValidator.java)。 2. **void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) throws Exception** @@ -334,7 +334,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 滑动步长参数也不是必须的。当您不提供滑动步长参数时,滑动步长会被设定为划分时间轴的时间间隔。 -3 类参数的关系可见下图。策略的构造方法详见 Javadoc。 +3 类参数的关系可见下图。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingTimeWindowAccessStrategy.java)。 @@ -378,7 +378,7 @@ void beforeStart(UDFParameters parameters, UDTFConfigurations configurations) th 3. 针对数值型数据,可以只提供单个窗口内部允许变化的阈值delta,时间轴显示时间窗开始时间会被定义为整个查询结果集中最小的时间戳,时间轴显示时间窗结束时间会被定义为整个查询结果集中最大的时间戳。 4. 针对文本数据以及布尔数据,可以不提供任何参数,开始与结束时间戳见3中解释。 -StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 Javadoc。 +StateWindowAccessStrategy 目前只能接收一列输入。策略的构造方法详见 [Javadoc](https://github.com/apache/iotdb/blob/rc/2.0.4/iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/StateWindowAccessStrategy.java)。 2.2.2 **setOutputDataType**