This project has retired. For details please refer to its Attic page.
SampleQueries (Lens 2.0.1-beta-incubating API)

org.apache.lens.examples
Class SampleQueries

java.lang.Object
  extended by org.apache.lens.examples.SampleQueries

public class SampleQueries
extends Object

The Class SampleQueries.


Constructor Summary
SampleQueries()
          Instantiates a new sample queries.
 
Method Summary
 void close()
          Close.
static void main(String[] args)
          The main method.
 void queryAll()
          Query all.
 void runQueries(String fileName)
          Run queries.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleQueries

public SampleQueries()
              throws JAXBException
Instantiates a new sample queries.

Throws:
JAXBException - the JAXB exception
Method Detail

close

public void close()
Close.


main

public static void main(String[] args)
                 throws Exception
The main method.

Parameters:
args - the arguments
Throws:
Exception - the exception

queryAll

public void queryAll()
              throws IOException
Query all.

Throws:
IOException - Signals that an I/O exception has occurred.

runQueries

public void runQueries(String fileName)
                throws IOException
Run queries.

Parameters:
fileName - the file name
Throws:
IOException - Signals that an I/O exception has occurred.


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.