Files
secondo/Algebras/HybridTrajectory/HybridTrajectory.examples

28 lines
879 B
Plaintext
Raw Permalink Normal View History

2026-01-23 17:03:45 +08:00
Database: hybridTest
Restore : No
Operator : atinstant
Number : 1
Signature: (arel(X) x instant) -> arel(Y)
Example : query Person feed projectextend[PersonId; H: .Hybrid atinstant [const instant value "2008-09-27-23:24:08"]] count
Result : 1
Operator : atperiods
Number : 1
Signature: (arel(X) x instant) -> arel(X)
Example : query Person feed projectextend[PersonId; H: .Hybrid atperiods [const periods value (("2008-09-27-23:22:35" "2008-09-28-01:19:49" TRUE FALSE))]] count
Result : 1
Operator : by
Number : 1
Signature: (mT X mT') -> rel(tuple([Raw :mT,Symbolic:mT']))
Example : query by (Person feed unnest[Hybrid] extract[Mov], Person feed unnest[Hybrid] extract[Label]) count
Result : 2
Operator : getHybridPartition
Number : 1
Signature: (rel(T)) -> stream(uT')
Example : query Person feed extract[Hybrid] getHybridPartition count
Result : 451