querySinglePointLastData.sh 440 B

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