MashZone NextGen Analytics : RAQL Queries : Load Snapshot Data with <snapshot> or <raql>
Load Snapshot Data with <snapshot> or <raql>
 
Snapshot Queries
Load Snapshots in a Named Variable
Load Snapshots Anonymously
Choose Snapshots by a Time Period
Choose Snapshots for a Scheduled Job
You can load snapshots of mashable or mashup results as dataset streams for analysis in RAQL queries using the:
*<snapshot>EMML extension statement. This statement both creates a streaming variable to hold the snapshot dataset and executes the SQL query to retrieve snapshots from the MashZone NextGen Snapshot Repository. See Load Snapshots in a Named Variable for an example.
*<raql>EMML extension statement with the snapshotquery attribute to load the dataset. This uses a local variable, named snapshots to hold the dataset stream which is only in scope for this RAQL query. See Load Snapshots Anonymously for an example.
Before you can query snapshots, you must register the mashable or create the mashup with results you want to use. You must also run the mashable or mashup and take at least one snapshot.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback