TDengine/docs/en/08-develop/01-connect/_connect_java.mdx

16 lines
612 B
Text
Raw Normal View History

```java title="Native Connection"
2022-06-13 07:32:44 +00:00
{{#include docs/examples/java/src/main/java/com/taos/example/JNIConnectExample.java}}
```
```java title="REST Connection"
2022-06-13 07:32:44 +00:00
{{#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}
2022-06-13 07:32:44 +00:00
{{#include docs/examples/java/src/main/java/com/taos/example/WSConnectExample.java:main}}
```
2024-08-12 06:02:40 +00:00
More configuration about connection, please refer to [Java Client Library](../../reference/connectors/java)