You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/05/18 03:57:18 UTC

[GitHub] [incubator-iotdb] xingtanzjr commented on a change in pull request #1217: Client csharp

xingtanzjr commented on a change in pull request #1217:
URL: https://github.com/apache/incubator-iotdb/pull/1217#discussion_r426357651



##########
File path: client-csharp/IoTDBClient/Program.cs
##########
@@ -0,0 +1,99 @@
+/**
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+**/
+using System;
+using System.Net;
+using System.Threading.Tasks;
+using IoTDBService;
+using Thrift;
+using Thrift.Protocol;
+using Thrift.Server;
+
+using Thrift.Transport;
+using Thrift.Transport.Client;
+
+namespace IoTDBClient
+{
+
+    public enum TSDataType : ushort
+    {
+        BOOLEAN = 0,
+        INT32 = 1,
+        INT64 = 2,
+        FLOAT = 3,
+        DOUBLE =4,
+        TEXT = 5
+    }
+
+    public enum TSEncoding : ushort
+    {
+        PLAIN,
+        PLAIN_DICTIONARY,
+        RLE,
+        DIFF,
+        TS_2DIFF,
+        BITMAP,
+        GORILLA,
+        REGULAR
+    }
+    public enum Compressor: ushort { UNCOMPRESSED, SNAPPY, GZIP, LZO, SDT, PAA, PLA}
+
+    class Program
+    {
+

Review comment:
       Let's remove duplicated blank lines here : )




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org