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
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected static Map<String,net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIF> Fields inherited from class net.ontopia.topicmaps.query.parser.ModificationStatement
litlist, queryFields inherited from class net.ontopia.topicmaps.query.parser.TologStatement
options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intdoFunctionUpdates(QueryMatches matches) protected abstract intdoLitListDeletes(boolean strict, Map arguments) intdoStaticUpdates(TopicMapIF topicmap, Map arguments) protected static net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIFmakeFunction(String name) voidsetFunction(String name) protected StringMethods inherited from class net.ontopia.topicmaps.query.parser.ModificationStatement
addLit, close, doUpdates, getEmbeddedQuery, getIndex, getLitList, getValue, setClauseList, toStringLitlistMethods inherited from class net.ontopia.topicmaps.query.parser.TologStatement
getOptions, setOptions
-
Field Details
-
funcname
-
functions
-
-
Constructor Details
-
ModificationFunctionStatement
public ModificationFunctionStatement()
-
-
Method Details
-
setFunction
-
getFunction
-
toStringFunction
-
doStaticUpdates
- Specified by:
doStaticUpdatesin classModificationStatement- Throws:
InvalidQueryException
-
doLitListDeletes
- Throws:
InvalidQueryException
-
doFunctionUpdates
- Throws:
InvalidQueryException
-
makeFunction
protected static net.ontopia.topicmaps.query.parser.ModificationFunctionStatement.ModificationFunctionIF makeFunction(String name) throws InvalidQueryException - Throws:
InvalidQueryException
-