Skip to content

ObdalibQuestTutorialDirectAnnotationFunction

mislusnys edited this page Dec 9, 2013 · 3 revisions

Querying the In-Memory Database

<< Back to Tutorial Index

Table of Contents

In Classic Mode with semantic index, Quest creates an in-memory database to store all the data instances for later processing. This in-memory database cannot be accessed through external tools because it is embedded in the application environment. We developed a feature that allows users to have the access and make queries from this database. This feature is intended for testing and debugging purposes when they are necessary. This feature is enabled by putting an annotation line /*direct*/ (without any space) before the SQL query string.

Example Queries

Browsing the result from these queries can give you an idea of how our semantic index strategy works.

  1. Querying the role table.
/*direct*/
select * from role

2. Querying the class table.

/*direct*/
select * from class
Clone this wiki locally