|
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.InPlaceStore
ch.ethz.mxquery.sms.MMimpl.IndexInPlaceStore
public class IndexInPlaceStore
Field Summary |
---|
Fields inherited from class ch.ethz.mxquery.sms.MMimpl.InPlaceStore |
---|
id |
Constructor Summary | |
---|---|
IndexInPlaceStore(int id,
WindowBuffer container)
|
Method Summary | |
---|---|
void |
buffer(Token tok,
int event)
Materialize the given token into the store instance |
Token |
get(int pos)
Get Token at given position |
void |
newItem()
Specify the beginning of a new item |
IndexSchema |
registerIndex(IndexSchema schema)
Index schema registration for read/update operations |
XDMIterator |
retrieve(IndexSchema schema,
Token[] tokens)
|
void |
setDefaultValues(Token[] tokens)
|
void |
setIterator(XDMIterator it)
For pull stores, add the iterator from which they should pull their data |
void |
update(IndexSchema schema,
Token[] toks,
Token[] forIndex)
Update the store with new data |
Methods inherited from class ch.ethz.mxquery.sms.MMimpl.InPlaceStore |
---|
compare, copySource, getIterator, getMyId, getURI |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexInPlaceStore(int id, WindowBuffer container)
Method Detail |
---|
public void setDefaultValues(Token[] tokens)
public void update(IndexSchema schema, Token[] toks, Token[] forIndex) throws MXQueryException
IndexUpdate
update
in interface IndexUpdate
schema
- Index schema used in finding the items that are to be updatedtoks
- Iterator with data to be updatedforIndex
- Actual values for the attributes to be used in searching
MXQueryException
public XDMIterator retrieve(IndexSchema schema, Token[] tokens) throws MXQueryException
retrieve
in interface IndexRead
MXQueryException
public Token get(int pos)
StreamStore
get
in interface StreamStore
pos
- Unique id given to the token inside this store instance (token position
public void newItem()
StreamStore
newItem
in interface StreamStore
public void buffer(Token tok, int event) throws MXQueryException
StreamStore
buffer
in interface StreamStore
MXQueryException
public IndexSchema registerIndex(IndexSchema schema)
IndexInterface
registerIndex
in interface IndexInterface
schema
- for index construction
public void setIterator(XDMIterator it) throws MXQueryException
StreamStore
setIterator
in interface StreamStore
MXQueryException
|
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 |