FragmentProcessor
Keywords: uk.ac.bbk.dcs.automed.qproc.annotate.FragmentProcessor class

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.bbk.dcs.automed.qproc.annotate
Class FragmentProcessor

    java.lang.Object
      uk.ac.bbk.dcs.automed.qproc.annotate.FragmentProcessor

All Implemented Interfaces:
  QueryAnnotationProvider

    public class FragmentProcessor

extends java.lang.Object
implements QueryAnnotationProvider

The purpose of this class is to replace all schemes with wrapper objects.

Constructor Summary
`FragmentProcessor()`
`FragmentProcessor(Schema[] tgts)` Deprecated. use `FragmentProcessor()` instead

Method Summary
`java.lang.String` | `getName()` Return a unique name of a provider.
`void` | `process(ASG query)` Deprecated. use `process(ASG, Schema[])` instead
`void` | `process(ASG g, Schema[] tgts)` Replaces schemes with wrapper objects in the given ASG
`void` | `process(Cell n, Schema[] tgts)` Replaces schemes with wrapper objects in the ASG with root n

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

Constructor Detail

### FragmentProcessor

    public FragmentProcessor()

### FragmentProcessor

    public FragmentProcessor(Schema[] tgts)

  Deprecated. use `FragmentProcessor()` instead

Method Detail

### process

    public void process(Cell n,
                        Schema[] tgts)
                 throws DataSourceException,
                        NotFoundException

  Replaces schemes with wrapper objects in the ASG with root n

  Throws:
    `NotFoundException`
    `DataSourceException`

### process

    public void process(ASG query)
                 throws QueryAnnotationException

  Deprecated. use `process(ASG, Schema[])` instead

  Throws:
    `QueryAnnotationException`

### process

    public void process(ASG g,
                        Schema[] tgts)
                 throws QueryAnnotationException

  Replaces schemes with wrapper objects in the given ASG

  Specified by:
    `process` in interface `QueryAnnotationProvider`
  Parameters:
    `g` - an `ASG` object of an IQL query
    `tgts` - the target scheams against which the query is to be evaluated
  Throws:
    `NotFoundException`
    `QueryAnnotationException`

### getName

    public java.lang.String getName()

  Description copied from interface: `QueryAnnotationProvider`
  Return a unique name of a provider. This name is used as a key in a `Map` of provider objects

  Specified by:
    `getName` in interface `QueryAnnotationProvider`

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