Topic
  • 2 replies
  • Latest Post - ‏2013-02-13T07:23:20Z by dharjain
SystemAdmin
SystemAdmin
603 Posts

Pinned topic Output of AQL statement

‏2013-02-12T13:49:40Z |
Hi,

I have created different views for different columns. I want the output of the AQL statement to be displayed in a file. Is it possible??
Updated on 2013-02-13T07:23:20Z at 2013-02-13T07:23:20Z by dharjain
  • SystemAdmin
    SystemAdmin
    603 Posts

    Re: Output of AQL statement

    ‏2013-02-13T04:22:05Z  
    Hi,

    I have created a view for name using aql. The thing is that when I run AQL statement, I will get output in console. But I want the output to be viewed in a file. Can that be done? Please help me out with this.
  • dharjain
    dharjain
    4 Posts

    Re: Output of AQL statement

    ‏2013-02-13T07:23:20Z  
    Hi,

    I have created a view for name using aql. The thing is that when I run AQL statement, I will get output in console. But I want the output to be viewed in a file. Can that be done? Please help me out with this.
    You have two options.
    (1) If you are developing extractor using BigInsights Text Analytics eclipse tooling, then there is an option to export results either in csv/html format.
    (2) Run the extractor through the java APIs, specifically OperatorGraph API, and later serialize the output from OperatorGraph.execute API using standard java i/o APIs. Here is the link to tutorial on Text Analytics java API: http://pic.dhe.ibm.com/infocenter/bigins/v2r0/topic/com.ibm.swg.im.infosphere.biginsights.analyze.doc/doc/text_analytics_apis.html

    Cheers
    Dharmesh