You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/01/18 09:12:56 UTC
[iotdb] branch ty-graduate updated: format code
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch ty-graduate
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/ty-graduate by this push:
new 08bcbf0 format code
08bcbf0 is described below
commit 08bcbf066122a531fc5c2f9e2fa66a438c6f88e7
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Tue Jan 18 17:09:57 2022 +0800
format code
---
example/session/src/main/java/org/apache/iotdb/SessionExample.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/example/session/src/main/java/org/apache/iotdb/SessionExample.java b/example/session/src/main/java/org/apache/iotdb/SessionExample.java
index eaa44fb..19fcbc1 100644
--- a/example/session/src/main/java/org/apache/iotdb/SessionExample.java
+++ b/example/session/src/main/java/org/apache/iotdb/SessionExample.java
@@ -655,7 +655,8 @@ public class SessionExample {
session.deleteTimeseries(paths);
}
- private static void query(String sql) throws IoTDBConnectionException, StatementExecutionException {
+ private static void query(String sql)
+ throws IoTDBConnectionException, StatementExecutionException {
long startTime = System.currentTimeMillis();
try (SessionDataSet dataSet = session.executeQueryStatement(sql)) {
dataSet.setFetchSize(10000); // default is 10000