public class DestroyKBTask extends AbstractApiTask<Void>
AbstractApiTask.submitApiTask(indexManager, new DestroyKBTask(namespace)).get();
CreateKBTasknamespace, timestamp| Constructor and Description |
|---|
DestroyKBTask(String namespace) |
| Modifier and Type | Method and Description |
|---|---|
Void |
call() |
boolean |
isReadOnly()
Return
true iff the procedure asserts that it will not
write on the index. |
getConnection, getIndexManager, getMutationCount, getNamespace, getQueryConnection, getQueryConnection, getTimestamp, getUnisolatedSailConnection, isGRSRequired, setIndexManager, submitApiTask, toStringpublic DestroyKBTask(String namespace)
public final boolean isReadOnly()
IReadOnlytrue iff the procedure asserts that it will not
write on the index. When true, the procedure may be run
against a view of the index that is read-only or which allows concurrent
processes to read on the same index object. When false the
procedure will be run against a mutable view of the index (assuming that
the procedure is executed in a context that has access to a mutable index
view).isReadOnly in interface IReadOnlyisReadOnly in class AbstractApiTask<Void>public Void call() throws Exception, DatasetNotFoundException
DatasetNotFoundException - if the namespace does not exist.ExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.