Package org.basex.core.cmd
Class Delete
java.lang.Object
org.basex.core.jobs.Job
org.basex.core.Command
org.basex.core.cmd.ACreate
org.basex.core.cmd.Delete
Evaluates the 'delete' command and deletes resources from a database.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeleteBinary(Data data, String path) Deletes the specified binaries.protected booleanrun()Executes the command and serializes the result (internal call).Methods inherited from class org.basex.core.cmd.ACreate
addLocks, newData, stoppable, supportsProgMethods inherited from class org.basex.core.Command
addLocks, baseURI, baseURI, build, close, error, exception, execute, execute, getOption, getOption, info, info, init, maxResults, result, run, run, setInput, setInput, toString, toString, updated, updating
-
Constructor Details
-
Delete
Default constructor.- Parameters:
target- target to delete
-
-
Method Details
-
run
protected boolean run()Description copied from class:CommandExecutes the command and serializes the result (internal call). -
deleteBinary
Deletes the specified binaries.- Parameters:
data- data referencepath- resource to be deleted
-