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

16 lines
602 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}}
```
More configuration about connectionplease refer to [Java Connector](/reference/connector/java)