public class CreateKBTask extends AbstractApiTask<Void>
AbstractApiTask.submitApiTask(indexManager, new CreateKBTask(namespace, properties)).get();
DestroyKBTask
namespace, timestamp
Constructor and Description |
---|
CreateKBTask(String namespace,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
Void |
call() |
protected Properties |
getProperties()
Return the effective properties that will be used to create the namespace.
|
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, toString
public CreateKBTask(String namespace, Properties properties)
protected Properties getProperties()
public final boolean isReadOnly()
IReadOnly
true
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 IReadOnly
isReadOnly
in class AbstractApiTask<Void>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.