public class SparqlEndpointConfig extends Object
ConfigParams
Modifier and Type | Field and Description |
---|---|
boolean |
describeEachNamedGraph
When
true and the KB instance is in the quads
mode, each named graph will also be described in in the same level of
detail as the default graph. |
long |
executorMaxThreads
Executor service thread limit.
|
String |
namespace
The default namespace.
|
int |
queryThreadPoolSize
The #of threads to use to handle SPARQL queries -or- ZERO (0) for an
unbounded pool.
|
long |
queryTimeout
When non-zero, this specifies the timeout (milliseconds) for a query.
|
boolean |
readOnly
When
true , requests will be refused for mutation operations
on the database made through the REST API. |
long |
timestamp
The default timestamp used to query the default namespace.
|
Constructor and Description |
---|
SparqlEndpointConfig(String namespace,
long timestamp,
int queryThreadPoolSize,
boolean describeEachNamedGraph,
boolean readOnly,
long queryTimeout,
long executorMaxThreads) |
public final String namespace
ConfigParams.NAMESPACE
public final long timestamp
Note: When ConfigParams.READ_LOCK
is specified, the
timestamp
will actually be a read-only transaction identifier
which is shared by default for each query against the
NanoSparqlServer
.
ConfigParams.READ_LOCK
public final int queryThreadPoolSize
ConfigParams.QUERY_THREAD_POOL_SIZE
public final boolean describeEachNamedGraph
true
and the KB instance is in the quads
mode, each named graph will also be described in in the same level of
detail as the default graph. Otherwise only the default graph will be
described.public final boolean readOnly
true
, requests will be refused for mutation operations
on the database made through the REST API. This may be used to help lock
down a public facing interface.ConfigParams.READ_ONLY
public final long queryTimeout
ConfigParams.QUERY_TIMEOUT
public final long executorMaxThreads
public SparqlEndpointConfig(String namespace, long timestamp, int queryThreadPoolSize, boolean describeEachNamedGraph, boolean readOnly, long queryTimeout, long executorMaxThreads)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.