querySinglePointLastData.sh 481 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. # 该功能目前没用
  3. ROOT=$(cd `dirname $0`/../../../; pwd)
  4. cd $ROOT
  5. source $ROOT/shell/tsdb/common.sh
  6. host=39.104.80.229
  7. pointIndex=1
  8. storagePath="root.test1.wf01.wt01";
  9. echo "----test query point last data pointIndex:${pointIndex}"
  10. java -cp ./lib/iotdb.jar demo.query.last.QuerySinglePointLastData \
  11. --host $host --storagePath ${storagePath} --pointNamePrefix pointName1_ --pointIndex ${pointIndex} \
  12. --showQueryResult 3 2>&1 | tee -a ./log/iotdb/out.log