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 java.util.List litlist
query
protected TologQuery query
ModificationStatement
public ModificationStatement()
addLit
public void addLit(java.lang.Object lit)
getLitList
public java.util.List getLitList()
setClauseList
public void setClauseList(java.util.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,
java.util.Map arguments)
throws InvalidQueryException
- Throws:
InvalidQueryException
doUpdates
public abstract int doUpdates(QueryMatches matches)
throws InvalidQueryException
- Throws:
InvalidQueryException
toStringLitlist
protected java.lang.String toStringLitlist()
getIndex
protected static int getIndex(java.lang.Object arg,
QueryMatches matches)
getValue
protected static java.lang.Object getValue(java.lang.Object obj,
java.util.Map arguments)
throws InvalidQueryException
- Throws:
InvalidQueryException
Copyright © 2000-2012 Ontopia.