content: package com.aliyun.hitsdb.client;
  
  import com.aliyun.hitsdb.client.exception.http.HttpClientInitException;
  import com.aliyun.hitsdb.client.value.request.LastPointQuery;
  import com.aliyun.hitsdb.client.value.request.LastPointSubQuery;
  import com.aliyun.hitsdb.client.value.response.LastDataValue;
  import org.junit.After;
  import org.junit.Before;
  import org.junit.Ignore;
  import org.junit.Test;
  
  import java.io.IOException;
  import java.util.ArrayList;
  import java.util.HashMap;
  import java.util.List;
  import java.util.Map;
  
  @Ignore
  public class TestHiTSDBClientTableOp {
      HiTSDB tsdb;
  
      @Before
      public void init() throws HttpClientInitException {
          HiTSDBConfig config = HiTSDBConfig
                  .address("127.0.0.1", 8242)
                  .config();
          
          tsdb = HiTSDBClientFactory.connect(config);
      }
  
      @After
      public void after() {
          try {
              tsdb.close();
          } catch (IOException e) {
              e.printStackTrace();
          }
      }
  
      @Test
      public void testTruncate() {
          System.out.println(tsdb.truncate());
      }
  }
  