_connect_java.mdx 598 字节
Newer Older
G
gccgdb1234 已提交
1
```java title="Native Connection"
D
dingbo 已提交
2 3
{{#include docs-examples/java/src/main/java/com/taos/example/JNIConnectExample.java}}
```
G
gccgdb1234 已提交
4
```java title="REST Connection"
D
dingbo 已提交
5 6
{{#include docs-examples/java/src/main/java/com/taos/example/RESTConnectExample.java:main}}
```
G
gccgdb1234 已提交
7 8 9
When using REST connection, the feature of bulk pulling can be enabled if the size of resulting data set is huge.

```java title="Enable Bulk Pulling" {4}
D
dingbo 已提交
10 11
{{#include docs-examples/java/src/main/java/com/taos/example/WSConnectExample.java:main}}
```
G
gccgdb1234 已提交
12
More configuration about connection,please refer to [Java Connector](/reference/connector/java)