MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.sms.MMimpl
Class InPlaceStore

java.lang.Object
  extended by ch.ethz.mxquery.sms.MMimpl.InPlaceStore
All Implemented Interfaces:
Source, IndexInterface, IndexUpdate, StreamStore
Direct Known Subclasses:
IndexInPlaceStore

public abstract class InPlaceStore
extends java.lang.Object
implements IndexUpdate


Field Summary
 int id
           
 
Constructor Summary
InPlaceStore(int id, WindowBuffer container)
           
 
Method Summary
 int compare(Source store)
           
 Source copySource(Context ctx, java.util.Vector nestedPredCtxStack)
           
 Window getIterator(Context ctx)
          Returns Iterator that points on the first token in the store.
 int getMyId()
          Returns the store id (mostly for debugging)
 java.lang.String getURI()
          Returns the URI of the source.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.ethz.mxquery.sms.interfaces.IndexUpdate
update
 
Methods inherited from interface ch.ethz.mxquery.sms.interfaces.IndexInterface
registerIndex
 
Methods inherited from interface ch.ethz.mxquery.sms.interfaces.StreamStore
buffer, get, newItem, setIterator
 

Field Detail

id

public int id
Constructor Detail

InPlaceStore

public InPlaceStore(int id,
                    WindowBuffer container)
Method Detail

getMyId

public int getMyId()
Description copied from interface: StreamStore
Returns the store id (mostly for debugging)

Specified by:
getMyId in interface StreamStore
Returns:
id of the store given at creation time

getIterator

public Window getIterator(Context ctx)
                   throws MXQueryException
Description copied from interface: Source
Returns Iterator that points on the first token in the store.

Specified by:
getIterator in interface Source
Returns:
Iterator a (Window) Iterator to access the contents of this source
Throws:
MXQueryException

compare

public int compare(Source store)
Specified by:
compare in interface Source

copySource

public Source copySource(Context ctx,
                         java.util.Vector nestedPredCtxStack)
                  throws MXQueryException
Specified by:
copySource in interface Source
Throws:
MXQueryException

getURI

public java.lang.String getURI()
Description copied from interface: Source
Returns the URI of the source.

Specified by:
getURI in interface Source
Returns:
a String representing the URI/Identifier of this source

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich