QueryProcessor (Alignment API and Server)
Date: 2010-03-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Alignment API and Server 4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.inrialpes.exmo.queryprocessor
Interface QueryProcessor

All Known Implementing Classes:
  QueryMediator

    public interface QueryProcessor

Author:
  Arun Sharma

Method Summary
`int` | `getType(String query)`
`void` | `loadOntology(String uri)`
`Result` | `query(String query)`
`Result` | `query(String query, Type type)`
`String` | `queryWithStringResults(String query)`

Method Detail

### query

    Result query(String query,
                 Type type)

  Parameters:
    `query` - -- The query string
    `type` - -- The query type, can be one of SELECT, ASK, CONSTRUCT, or DESCRIBE
  Returns:
    Result, result form depends on type

### query

    Result query(String query)

  Parameters:
    `query` - -- The query string

### queryWithStringResults

    String queryWithStringResults(String query)

  Parameters:
    `query` - -- The query string
  Returns:
    query results as string

### getType

    int getType(String query)

  Parameters:
    `query` - -- the query string
  Returns:
    the type of the query

### loadOntology

    void loadOntology(String uri)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Alignment API and Server 4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

(C) INRIA & friends, 2003-2010