Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## es.upm.gib.aewrapper.queryprocessing
Class QueryProcessorSessions.SessionProgress

    java.lang.Object
      es.upm.gib.aewrapper.queryprocessing.QueryProcessorSessions.SessionProgress

Enclosing class:
  QueryProcessorSessions

    public static class QueryProcessorSessions.SessionProgress

extends java.lang.Object

This inner class contains progress information about an active query. Instances of this class are obtained by asking for the progress of an active query to the QueryProcessorSessions class.

Method Summary
`java.lang.String` | `getFinalResult()` Retrieves the path to the results file of the query, or the error message if the query failed.
`int` | `getPercentageDone()` Retrieves the percentage completed of the query (integer value from 0 to 100).
`boolean` | `isComplete()` Asks if the query represented by this progress item has already finished.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### isComplete

    public boolean isComplete()

  Asks if the query represented by this progress item has already finished.

  Returns:
    true if the query is complete (either because it finished or it failed), false otherwise

### getPercentageDone

    public int getPercentageDone()

  Retrieves the percentage completed of the query (integer value from 0 to 100). This value has no meaning if the query is already complete.

  Returns:
    the percentage (integer value from 0 to 100) completed of the query

### getFinalResult

    public java.lang.String getFinalResult()

  Retrieves the path to the results file of the query, or the error message if the query failed.

  This value has no meaning if the query is not yet complete

  Returns:
    the path to the results file of the query (if the query is complete)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD