mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
15 lines
602 B
Text
15 lines
602 B
Text
```java title="Native Connection"
|
||
{{#include docs/examples/java/src/main/java/com/taos/example/JNIConnectExample.java}}
|
||
```
|
||
|
||
```java title="REST Connection"
|
||
{{#include docs/examples/java/src/main/java/com/taos/example/RESTConnectExample.java:main}}
|
||
```
|
||
|
||
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}
|
||
{{#include docs/examples/java/src/main/java/com/taos/example/WSConnectExample.java:main}}
|
||
```
|
||
|
||
More configuration about connection,please refer to [Java Connector](/reference/connector/java)
|