Files
secondo/Algebras/SpatialJoin2/SpatialJoin2.examples

46 lines
1.9 KiB
Plaintext
Raw Normal View History

2026-01-23 17:03:45 +08:00
Database : berlintest
Restore : No
Operator : cellnumberG
Number : 1
Signature: (rect2 x real x real x real x real x int) -> stream(int)
Example : query cellnumberG(rectangle2(131.3, 132.5, 131.2, 132.3), 131.0, 131.0, 1.0, 1.0, 10) printstream count
Result : 4
Operator : cellnumberG
Number : 2
Signature: (rect3 x real x real x real x real x real x real x int x int) -> stream(int)
Example : query cellnumberG(rectangle3(131.3, 132.5, 131.3, 132.5, 131.7, 132.5), 131.0, 131.0, 131.0, 1.0, 1.0, 1.0, 10, 6) printstream count
Result : 8
Operator : cellnumberLine
Number : 1
Signature: (rect2 x real x real x real x real x int) -> stream(int)
Example : query cellnumberLine(rectangle2(131.3, 132.5, 131.2, 132.3), 131.0, 131.0, 1.0, 1.0, 10) printstream count
Result : 4
Operator : cellnumberLine
Number : 2
Signature: (rect3 x real x real x real x real x real x real x int x int) -> stream(int)
Example : query cellnumberLine(rectangle3(131.3, 132.5, 131.3, 132.5, 131.7, 132.5), 131.0, 131.0, 131.0, 1.0, 1.0, 1.0, 10, 6) printstream count
Result : 8
Operator : cellnumberZ
Number : 1
Signature: (rect2 x real x real x real x real x int) -> stream(int)
Example : query cellnumberZ(rectangle2(131.3, 132.5, 131.2, 132.3), 131.0, 131.0, 1.0, 1.0, 10) printstream count
Result : 4
Operator : cellnumberZ
Number : 2
Signature: (rect3 x real x real x real x real x real x real x int x int) -> stream(int)
Example : query cellnumberZ(rectangle3(131.3, 132.5, 131.3, 132.5, 131.7, 132.5), 131.0, 131.0, 131.0, 1.0, 1.0, 1.0, 10, 6) printstream count
Result : 8
Operator : infoGrepSpatialJoin
Number : 1
Signature: stream(tuple(A)) x stream(tuple(B)) x a_i x b_j x int x int x int -> stream(tuple(A o B))
Example : query (strassen feed {r1} strassen feed {r2} infoGrepSpatialJoin[GeoData_r1, GeoData_r2, 4, 8] count) = (strassen feed {r1} strassen feed {r2} itSpatialJoin[GeoData_r1, GeoData_r2, 4, 8] count)
Result : TRUE