|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.ethz.mxquery.sms.MMimpl.UpdateTokenBuffer
public class UpdateTokenBuffer
| Constructor Summary | |
|---|---|
UpdateTokenBuffer(boolean sync,
WindowBuffer container)
|
|
| Method Summary | |
|---|---|
void |
buffer(Token tok,
int event)
Materialize the given token into the store instance |
void |
bufferItem(Token[] items,
int size)
|
void |
bufferToken(Token tok)
|
int |
compare(Source store)
|
Source |
copySource(Context ctx,
java.util.Vector nestedPredCtxStack)
|
Token |
get(int pos)
Get Token at given position |
int |
getCurrentTokenId()
|
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. |
void |
newItem()
Specify the beginning of a new item |
void |
setIterator(XDMIterator it)
For pull stores, add the iterator from which they should pull their data |
int |
size()
|
boolean |
update(Token[] tokens,
IntegerList positions,
int itemS,
boolean sum)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateTokenBuffer(boolean sync,
WindowBuffer container)
| Method Detail |
|---|
public void buffer(Token tok,
int event)
StreamStore
buffer in interface StreamStorepublic void newItem()
StreamStore
newItem in interface StreamStorepublic void bufferToken(Token tok)
public int getCurrentTokenId()
public void bufferItem(Token[] items,
int size)
public boolean update(Token[] tokens,
IntegerList positions,
int itemS,
boolean sum)
throws MXQueryException
MXQueryExceptionpublic int size()
public Token get(int pos)
StreamStore
get in interface StreamStorepos - Unique id given to the token inside this store instance (token position
public int getMyId()
StreamStore
getMyId in interface StreamStorepublic int compare(Source store)
compare in interface Source
public Source copySource(Context ctx,
java.util.Vector nestedPredCtxStack)
throws MXQueryException
copySource in interface SourceMXQueryExceptionpublic java.lang.String getURI()
Source
getURI in interface Source
public Window getIterator(Context ctx)
throws MXQueryException
Source
getIterator in interface SourceMXQueryExceptionpublic void setIterator(XDMIterator it)
StreamStore
setIterator in interface StreamStore
|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||