TDengine/docs/en/07-develop/01-connect/_connect_java.mdx
Shuduo Sang ef80b5b05b
docs: update grafana doc for 3.0 (#21300)
* docs: fix tab value and label

* docs: fix tab value and label

* docs: add dbname note in grafa and fix lots of unicode characters in english doc
2023-05-15 12:26:03 +08:00

15 lines
601 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)