querySinglePointLastData.sh 440 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. ROOT=$(cd `dirname $0`/../../../; pwd)
  3. cd $ROOT
  4. #host=39.104.80.229
  5. host=127.0.0.1
  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