提交 cd3c9e11 编写于 作者: H Haonan Hou

Separate TsFile section into Deployment and Operation manual

上级 900f0e93
......@@ -32,7 +32,7 @@ IoTDB支持:
一共六种数据类型。
其中**FLOAT****DOUBLE**类型的序列,如果编码方式采用[RLE](/#/Documents/0.8.0/chap2/sec3)[TS_2DIFF](/#/Documents/0.8.0/chap2/sec3)可以指定MAX_POINT_NUMBER,该项为浮点数的小数点后位数,具体指定方式请参见本文[第5.1节](/#/Documents/0.8.0/chap5/sec1),若不指定则系统会根据配置文件`tsfile-format.properties`文件中的[float_precision项](/#/Documents/0.8.0/chap4/sec2)配置。
其中**FLOAT****DOUBLE**类型的序列,如果编码方式采用[RLE](/#/Documents/progress/chap2/sec3)[TS_2DIFF](/#/Documents/progress/chap2/sec3)可以指定MAX_POINT_NUMBER,该项为浮点数的小数点后位数,具体指定方式请参见本文[第4.7节](/#/Documents/progress/chap4/sec7),若不指定则系统会根据配置文件`tsfile-format.properties`文件中的[float_precision项](/#/Documents/progress/chap3/sec2)配置。
当系统中用户输入的数据类型与该时间序列的数据类型不对应时,系统会提醒类型错误,如下所示,二阶差分不支持布尔类型的编码:
......
......@@ -19,6 +19,6 @@
-->
# 第3章 系统部署与管理
# 第3章 系统部署
Coming Soon.
\ No newline at end of file
......@@ -18,6 +18,6 @@
under the License.
-->
# 第6章: API
# 第3章: 系统部署
Coming Soon.
\ No newline at end of file
......@@ -20,7 +20,7 @@
-->
<!-- TOC -->
# 第3章 IoTDB操作指南
# 第4章 IoTDB操作指南
## 概览
- Cli / Shell工具
- Cli / Shell运行方式
......
......@@ -21,7 +21,7 @@
# 第4章 IoTDB操作指南
## Sample Data
## 样例数据
我们为您提供一份简化的[样例数据](https://github.com/apache/incubator-iotdb/blob/master/docs/Documentation/OtherMaterial-Sample%20Data.txt)
......
......@@ -19,7 +19,7 @@
-->
# 第3章 IoTDB操作指南
# 第4章 IoTDB操作指南
## 权限管理
......
......@@ -21,7 +21,7 @@
# 第4章 IoTDB操作指南
## IoTDB查询语
## IoTDB查询语
### Schema语句
......
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# 第4章 IoTDB操作指南
Coming Soon.
\ No newline at end of file
......@@ -19,7 +19,7 @@
-->
# 第5章 系统部署与管理
# 第5章 系统管理
## 系统监控
......
......@@ -19,7 +19,7 @@
-->
# 第4章 系统部署与管理
# 第5章 系统管理
## 性能监控
### 引言
......
......@@ -19,7 +19,7 @@
-->
# 第4章 系统管理
# 第5章 系统管理
## 系统日志
......
......@@ -19,7 +19,7 @@
-->
# 第6章: JDBC API
# 第6章: API
## JDBC API
Coming soon.
......
......@@ -19,9 +19,9 @@
-->
# 第7章: Session API
# 第6章: API
# 使用方式
# Session API
## 依赖
......
......@@ -33,6 +33,7 @@
* 1-Deployment
* 2-Configuration
* 3-Build and use IoTDB by Dockerfile
* 4-TsFile library Intallation
# Chapter 4: Operation Manual
* 1-Cli Shell Tool
* 2-Data Model Selection
......@@ -40,6 +41,8 @@
* 4-Data Query
* 5-Data Maintenance
* 6-Priviledge Management
* 7-IoTDB Query Language
* 8-TsFile Usage
# Chapter 5: Management
* 1-System Monitor
* 2-Performance Monitor
......@@ -49,7 +52,6 @@
* 1-JDBC API
* 2-Session API
* 3-Python API
* 4-Get TsFile library
# Chapter 7: System Design
* 1-Hierarchy
# Chapter 8: System Tools
......
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Chapter 3: Deployment
## TsFile libaray Installation
TsFile is an important dependency of IoTDB. It is necessary to install TsFile for using IoTDB.
Before started, maven should be installed. See <a href="https://maven.apache.org/install.html">How to install maven</a>
There are two ways to use TsFile in your own project.
* Using as jars:
* Compile the source codes and build to jars
```
git clone https://github.com/apache/incubator-iotdb.git
cd tsfile/
mvn clean package -Dmaven.test.skip=true
```
Then, all the jars can be get in folder named `target/`. Import `target/tsfile-0.9.0-SNAPSHOT-jar-with-dependencies.jar` to your project.
* Using as a maven dependency:
Compile source codes and deploy to your local repository in three steps:
* Get the source codes
```
git clone https://github.com/apache/incubator-iotdb.git
```
* Compile the source codes and deploy
```
cd tsfile/
mvn clean install -Dmaven.test.skip=true
```
* add dependencies into your project:
```
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.9.0-SNAPSHOT</version>
</dependency>
```
Or, you can download the dependencies from official Maven repository:
* First, find your maven `settings.xml` on path: `${username}\.m2\settings.xml`
, add this `<profile>` to `<profiles>`:
```
<profile>
<id>allow-snapshots</id>
<activation><activeByDefault>true</activeByDefault></activation>
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
```
* Then add dependencies into your project:
```
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.9.0-SNAPSHOT</version>
</dependency>
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册