MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.sms.MMimpl
Interface MXQueryAppendUpdate

All Superinterfaces:
AppendUpdate, Source, StreamStore
All Known Implementing Classes:
FIFOStore, FTTokenBufferStore, IndexFIFOStore, LazyFIFOStore, LazyRandomFIFOStore, LazySequentialFIFOStore, RandomFIFOStore, RandomFIFOStoreSchema, SeqFIFOStore, SharedRandomFIFOStore, SharedSeqFIFOStore, TokenBufferStore

public interface MXQueryAppendUpdate
extends AppendUpdate


Method Summary
 Token get(int activeTokenId)
          Get Token at given position
 Token get(int activeTokenId, int endNode)
           
 int getNodeIdFromTokenId(int lastKnownNodeId, int activeTokenId)
           
 int getTokenIdForNode(int nodeId)
           
 boolean hasNode(int nodeId)
           
 void setContainer(WindowBuffer buf)
           
 void setContext(Context context)
           
 
Methods inherited from interface ch.ethz.mxquery.sms.interfaces.AppendUpdate
deleteItems
 
Methods inherited from interface ch.ethz.mxquery.sms.interfaces.StreamStore
buffer, getMyId, newItem, setIterator
 
Methods inherited from interface ch.ethz.mxquery.datamodel.Source
compare, copySource, getIterator, getURI
 

Method Detail

setContainer

void setContainer(WindowBuffer buf)

get

Token get(int activeTokenId)
          throws MXQueryException
Description copied from interface: StreamStore
Get Token at given position

Specified by:
get in interface StreamStore
Parameters:
activeTokenId - Unique id given to the token inside this store instance (token position
Returns:
the Token at the given position
Throws:
MXQueryException

getNodeIdFromTokenId

int getNodeIdFromTokenId(int lastKnownNodeId,
                         int activeTokenId)
                         throws MXQueryException
Throws:
MXQueryException

hasNode

boolean hasNode(int nodeId)
                throws MXQueryException
Throws:
MXQueryException

getTokenIdForNode

int getTokenIdForNode(int nodeId)
                      throws MXQueryException
Throws:
MXQueryException

setContext

void setContext(Context context)
                throws MXQueryException
Throws:
MXQueryException

get

Token get(int activeTokenId,
          int endNode)
          throws MXQueryException
Throws:
MXQueryException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich