public class EndpointTestSource extends Source
| Modifier and Type | Field and Description |
|---|---|
static long |
CACHE_TTL
cache time to live (in ms), set to 1 week by default
|
static long |
PAGINATION
Pagination for big results, set to 800 records by default
|
static long |
QUERY_DELAY
Delay between queries in a SPARQL Endpoint, set to 5 seconds by default
|
static long |
QUERY_LIMIT
Pose a limit on the returned results.
|
| Constructor and Description |
|---|
EndpointTestSource(EndpointTestSource source) |
EndpointTestSource(String prefix,
String uri) |
EndpointTestSource(String prefix,
String uri,
String sparqlEndpoint,
Collection<String> sparqlGraph,
Collection<SchemaSource> schemata) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCacheTTL() |
long |
getPagination() |
long |
getQueryDelay() |
long |
getQueryLimit() |
TestAppliesTo |
getSourceType() |
String |
getSparqlEndpoint() |
Collection<String> |
getSparqlGraphs() |
protected org.aksw.jena_sparql_api.core.QueryExecutionFactory |
initQueryFactory() |
void |
setCacheTTL(long cacheTTL) |
void |
setPagination(long pagination) |
void |
setQueryDelay(long queryDelay) |
void |
setQueryLimit(long queryLimit) |
addReferencesSchemata, compareTo, equals, getExecutionFactory, getPrefix, getReferencesSchemata, getUri, hashCode, toStringpublic static final long CACHE_TTL
public static final long PAGINATION
public static final long QUERY_DELAY
public static final long QUERY_LIMIT
public EndpointTestSource(String prefix, String uri, String sparqlEndpoint, Collection<String> sparqlGraph, Collection<SchemaSource> schemata)
public EndpointTestSource(EndpointTestSource source)
public TestAppliesTo getSourceType()
getSourceType in class Sourceprotected org.aksw.jena_sparql_api.core.QueryExecutionFactory initQueryFactory()
initQueryFactory in class Sourcepublic String getSparqlEndpoint()
public Collection<String> getSparqlGraphs()
public void setCacheTTL(long cacheTTL)
public void setQueryDelay(long queryDelay)
public void setQueryLimit(long queryLimit)
public void setPagination(long pagination)
public long getCacheTTL()
public long getQueryDelay()
public long getQueryLimit()
public long getPagination()
Copyright © 2014. All rights reserved.