querySinglePointLastData.sh 460 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. pointIndex=1
  7. storagePath="root.test1.wf01.wt01";
  8. echo "----test query point last data pointIndex:${pointIndex}"
  9. java -cp ./lib/iotdb.jar demo.query.last.QuerySinglePointLastData \
  10. --host $host --storagePath ${storagePath} --pointNamePrefix pointName1_ --pointIndex ${pointIndex} \
  11. --showQueryResult 1 2>&1 | tee -a ./log/iotdb/out.log