net.ontopia.topicmaps.query.parser
Class ModificationFunctionStatement
java.lang.Object
net.ontopia.topicmaps.query.parser.TologStatement
net.ontopia.topicmaps.query.parser.ModificationStatement
net.ontopia.topicmaps.query.parser.ModificationFunctionStatement
- Direct Known Subclasses:
- DeleteStatement, UpdateStatement
public abstract class ModificationFunctionStatement
- extends ModificationStatement
INTERNAL: Represents an UPDATE or DELETE statement, since these are
the ones that can have functions. Created so the parser can handle
both cases with the same code.
Field Summary |
protected String |
funcname
|
protected static Map<String,net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIF> |
functions
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
funcname
protected String funcname
functions
protected static Map<String,net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIF> functions
ModificationFunctionStatement
public ModificationFunctionStatement()
setFunction
public void setFunction(String name)
getFunction
public String getFunction()
toStringFunction
protected String toStringFunction()
doStaticUpdates
public int doStaticUpdates(TopicMapIF topicmap,
Map arguments)
throws InvalidQueryException
- Specified by:
doStaticUpdates
in class ModificationStatement
- Throws:
InvalidQueryException
doLitListDeletes
protected abstract int doLitListDeletes(boolean strict,
Map arguments)
throws InvalidQueryException
- Throws:
InvalidQueryException
doFunctionUpdates
protected int doFunctionUpdates(QueryMatches matches)
throws InvalidQueryException
- Throws:
InvalidQueryException
makeFunction
protected static net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIF makeFunction(String name)
throws InvalidQueryException
- Throws:
InvalidQueryException
Copyright © 2000-2012 Ontopia.