QueryRewritable
Keywords: uk.ac.ic.doc.rodex.qproc.QueryRewritable interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.ic.doc.rodex.qproc
Interface QueryRewritable

All Known Subinterfaces:
  IQueryCache

All Known Implementing Classes:
  DefaultQueryCache, QueryCache

    public interface QueryRewritable

QueryRewritable.java To be implemented by query caches that want to use QueryRewrite service (e.g. `DefaultQueryCache` for an example)

Author:
  Duc M Le dmle@doc.ic.ac.uk

Method Summary
`QueryRewriterResult` | `rewrite(ASG query, Schema querySchema, int type)` Rewrite a query associated to a schema s using the local query cache

Method Detail

### rewrite

    QueryRewriterResult rewrite(ASG query,
                                Schema querySchema,
                                int type)
                                throws QueryRewriterException

  Rewrite a query associated to a schema s using the local query cache

  Parameters:
    `query` - the `ASG` query
    `querySchema` - the source schema over which query is executed
    `type` - specifies the type of query rewriting algorithm used (`QueryRewriteProcessor` for list of types)
  Returns:
    QueryRewriterResult a result object that can be used to manipulate the rewriting results
  Throws:
    `QueryRewriterException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD