QueryLoader (Resource Management Library 2.5.0-SNAPSHOT API)
Date: 2015-11-20

org.gcube.resourcemanagement.support.server.gcube.queries

## Class QueryLoader

- java.lang.Object
- - org.gcube.resourcemanagement.support.server.gcube.queries.QueryLoader

-     public class QueryLoader
      extends Object

  Resource_support utility to load at runtime the customized queries to submit to the IS.
  Author:
    Daniele Strollo, Massimiliano Assante (ISTI-CNR)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueryLoader()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getQuery(QueryLocation query)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### QueryLoader

          public QueryLoader()

  - ### Method Detail

    - #### getQuery

          public static String getQuery(QueryLocation query)
                                 throws Exception

      Parameters:
        `query` - the location of query file to load
      Returns:
        the string consisting of the xquery to submit to the server
      Throws:
        `Exception`

Copyright © 2015. All Rights Reserved.