net.ontopia.topicmaps.query.parser
Class ModificationStatement
java.lang.Object
net.ontopia.topicmaps.query.parser.TologStatement
net.ontopia.topicmaps.query.parser.ModificationStatement
- Direct Known Subclasses:
- InsertStatement, MergeStatement, ModificationFunctionStatement
public abstract class ModificationStatement
- extends TologStatement
INTERNAL: Common abstract superclass for all tolog updates
statements (INSERT, DELETE, MERGE, UPDATE).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
litlist
protected List litlist
query
protected TologQuery query
ModificationStatement
public ModificationStatement()
addLit
public void addLit(Object lit)
getLitList
public List getLitList()
setClauseList
public void setClauseList(List clauses,
TologOptions options)
throws AntlrWrapException
- Throws:
AntlrWrapException
getEmbeddedQuery
public TologQuery getEmbeddedQuery()
close
public void close()
throws InvalidQueryException
- Specified by:
close
in class TologStatement
- Throws:
InvalidQueryException
doStaticUpdates
public abstract int doStaticUpdates(TopicMapIF topicmap,
Map arguments)
throws InvalidQueryException
- Throws:
InvalidQueryException
doUpdates
public abstract int doUpdates(QueryMatches matches)
throws InvalidQueryException
- Throws:
InvalidQueryException
toStringLitlist
protected String toStringLitlist()
getIndex
protected static int getIndex(Object arg,
QueryMatches matches)
getValue
protected static Object getValue(Object obj,
Map arguments)
throws InvalidQueryException
- Throws:
InvalidQueryException
Copyright © 2000-2012 Ontopia.