XQuery
Date: 2017-06-10

org.gcube.informationsystem.collector.impl.xmlstorage.exist

## Class XQuery

- java.lang.Object
- - org.gcube.informationsystem.collector.impl.xmlstorage.exist.XQuery

-     public class XQuery
      extends java.lang.Object

  XQuery to be executed

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XQuery(java.io.FileReader file)`
    `XQuery(java.lang.String xquery)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ResourceSet` | `execute(Collection col)` Executes the query on the given base collection
    `java.lang.String` | `toString()` Returns the xquery string

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

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### XQuery

          public XQuery(java.lang.String xquery)

    - #### XQuery

          public XQuery(java.io.FileReader file)
                 throws java.io.IOException

      Throws:
        `java.io.IOException`

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Returns the xquery string
      Overrides:
        `toString` in class `java.lang.Object`

    - #### execute

          public ResourceSet execute(Collection col)
                              throws java.lang.Exception

      Executes the query on the given base collection
      Parameters:
        `col` -
      Throws:
        `java.lang.Exception`