Repository: vxquery Updated Branches: refs/heads/prestonc/exrt_benchmark_queries 6fccebf63 -> 2dec6dbf5
Updated comment style for XQuery benchmark queries. Project: http://git-wip-us.apache.org/repos/asf/vxquery/repo Commit: http://git-wip-us.apache.org/repos/asf/vxquery/commit/2dec6dbf Tree: http://git-wip-us.apache.org/repos/asf/vxquery/tree/2dec6dbf Diff: http://git-wip-us.apache.org/repos/asf/vxquery/diff/2dec6dbf Branch: refs/heads/prestonc/exrt_benchmark_queries Commit: 2dec6dbf527c157a3a58eafec5f56ec5ad2cd37a Parents: 6fccebf Author: Preston Carman <[email protected]> Authored: Thu Oct 2 14:49:15 2014 -0700 Committer: Preston Carman <[email protected]> Committed: Thu Oct 2 14:49:15 2014 -0700 ---------------------------------------------------------------------- .../main/resources/noaa-ghcn-daily/queries/q05_count_join.xq | 8 +++++--- .../resources/noaa-ghcn-daily/queries/q05_count_sensor.xq | 7 +++++-- .../resources/noaa-ghcn-daily/queries/q05_count_station.xq | 7 +++++-- .../main/resources/noaa-ghcn-daily/queries/q06_count_join.xq | 8 +++++--- .../resources/noaa-ghcn-daily/queries/q06_count_sensor.xq | 7 +++++-- .../resources/noaa-ghcn-daily/queries/q06_count_station.xq | 7 +++++-- .../main/resources/noaa-ghcn-daily/queries/q07_count_join.xq | 7 +++++-- .../main/resources/noaa-ghcn-daily/queries/q07_count_tmax.xq | 7 +++++-- .../main/resources/noaa-ghcn-daily/queries/q07_count_tmin.xq | 7 +++++-- 9 files changed, 45 insertions(+), 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_join.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_join.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_join.xq index b5bbc2e..76e3458 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_join.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_join.xq @@ -15,9 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Aggregate Query :) -(: Find the lowest recorded temperature (TMIN) in the United States for :) -(: 2001. :) +(: +XQuery Join Aggregate Query +------------------- +Find the lowest recorded temperature (TMIN) in the United States for 2001. +:) fn:count( let $station_collection := "/tmp/1.0_partition_ghcnd_all_xml/stations" for $s in collection($station_collection)/stationCollection/station http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_sensor.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_sensor.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_sensor.xq index 8548742..3b1046b 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_sensor.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_sensor.xq @@ -15,8 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Aggregate Query :) -(: Count all sensor readings for TMIN in 2001. :) +(: +XQuery Join Aggregate Query +------------------- +Count all sensor readings for TMIN in 2001. +:) count( let $sensor_collection := "/tmp/1.0_partition_ghcnd_all_xml/sensors" for $r in collection($sensor_collection)/dataCollection/data http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_station.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_station.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_station.xq index 6f3a6b8..7c2a7ef 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_station.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_count_station.xq @@ -15,8 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Aggregate Query :) -(: Count all stations in the United States. :) +(: +XQuery Join Aggregate Query +------------------- +Count all stations in the United States. +:) count( let $station_collection := "/tmp/1.0_partition_ghcnd_all_xml/stations" for $s in collection($station_collection)/stationCollection/station http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_join.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_join.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_join.xq index 9ccfc70..bad6406 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_join.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_join.xq @@ -15,9 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Query :) -(: Find the highest recorded temperature (TMAX) for each station for each :) -(: day over the year 2000. :) +(: +XQuery Join Query +------------------- +Find the highest recorded temperature (TMAX) for each station for each day over the year 2000. +:) fn:count( let $station_collection := "/tmp/1.0_partition_ghcnd_all_xml/stations" for $s in collection($station_collection)/stationCollection/station http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_sensor.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_sensor.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_sensor.xq index d0a0c0a..54d81c6 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_sensor.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_sensor.xq @@ -15,8 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Query :) -(: Count max temperature (TMAX) readings for 2000-01-01. :) +(: +XQuery Join Query +------------------- +Count max temperature (TMAX) readings for 2000-01-01. +:) count( let $sensor_collection := "/tmp/1.0_partition_ghcnd_all_xml/sensors" for $r in collection($sensor_collection)/dataCollection/data http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_station.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_station.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_station.xq index 3c1dc98..c94dc78 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_station.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_count_station.xq @@ -15,8 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Query :) -(: Count all the stations. :) +(: +XQuery Join Query +------------------- +Count all the stations. +:) count( let $station_collection := "/tmp/1.0_partition_ghcnd_all_xml/stations" for $s in collection($station_collection)/stationCollection/station http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_join.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_join.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_join.xq index a1f6818..0ddada0 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_join.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_join.xq @@ -15,8 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Query :) -(: Find the all the records for TMIN. :) +(: +XQuery Join Query +------------------- +Find the all the records for TMIN. +:) fn:count( let $sensor_collection_min := "/tmp/1.0_partition_ghcnd_all_xml/sensors" for $r_min in collection($sensor_collection_min)/dataCollection/data http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmax.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmax.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmax.xq index 1ec7362..0b5511f 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmax.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmax.xq @@ -15,8 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Query :) -(: Find the all the records for TMAX. :) +(: +XQuery Join Query +------------------- +Find the all the records for TMAX. +:) count( let $sensor_collection_max := "/tmp/1.0_partition_ghcnd_all_xml/sensors" for $r_max in collection($sensor_collection_max)/dataCollection/data http://git-wip-us.apache.org/repos/asf/vxquery/blob/2dec6dbf/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmin.xq ---------------------------------------------------------------------- diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmin.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmin.xq index 2391c70..fda029a 100644 --- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmin.xq +++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_count_tmin.xq @@ -15,8 +15,11 @@ specific language governing permissions and limitations under the License. :) -(: XQuery Join Query :) -(: Find the all the records for TMIN. :) +(: +XQuery Join Query +------------------- +Find the all the records for TMIN. +:) count( let $sensor_collection_min := "/tmp/1.0_partition_ghcnd_all_xml/sensors" for $r_min in collection($sensor_collection_min)/dataCollection/data
