Package | Description |
---|---|
com.franz.agraph.http |
AllegroGraph Java client HTTP layer for the
AllegroGraph HTTP Protocol, used by
com.franz.agraph.repository
and com.franz.agraph.jena . |
com.franz.agraph.http.exception |
AllegroGraph Java client HTTP layer exceptions for the
AllegroGraph HTTP Protocol in support of
com.franz.agraph.http . |
com.franz.agraph.http.handler |
AllegroGraph Java client HTTP layer response handlers for the
AllegroGraph HTTP Protocol in support of
com.franz.agraph.http . |
com.franz.agraph.repository |
Implementation of the
OpenRDF Sesame API 2.7.11
with extensions for
AllegroGraph features.
|
Modifier and Type | Method and Description |
---|---|
void |
AGHttpRepoClient.addAttributeDefinition(String name,
List<String> allowedValues,
boolean ordered,
long minimum,
long maximum)
HTTP client layer function for requesting that AG define a new attribute.
|
void |
AGHttpRepoClient.addIndex(String index)
Adds the given index to the list of actively managed indices.
|
void |
AGHttpRepoClient.addRules(InputStream rulestream) |
void |
AGHttpRepoClient.addRules(String rules) |
void |
AGHttpRepoClient.addStatements(Resource subj,
URI pred,
Value obj,
Resource... contexts) |
Object |
AGHttpRepoClient.callStoredProc(String functionName,
String moduleName,
Object... args)
Deprecated.
The stored proc feature and API are experimental, and subject to change in a future release.
|
String |
AGHttpRepoClient.callStoredProcEncoded(String functionName,
String moduleName,
String argsEncoded)
Deprecated.
The stored proc feature and API are experimental, and subject to change in a future release.
|
void |
AGHttpRepoClient.clearMappings() |
void |
AGHttpRepoClient.clearMappings(boolean includeAutoEncodedPrimitiveTypes) |
void |
AGHttpRepoClient.clearNamespaces() |
void |
AGHttpRepoClient.close() |
void |
AGHttpRepoClient.commit() |
void |
AGHttpRepoClient.createFreetextIndex(String name,
List<String> predicates,
boolean indexLiterals,
List<String> indexLiteralTypes,
String indexResources,
List<String> indexFields,
int minimumWordSize,
List<String> stopWords,
List<String> wordFilters,
List<String> innerChars,
List<String> borderChars,
String tokenizer)
Creates a new freetext index with the given parameters.
|
void |
AGHTTPClient.delete(String url,
org.apache.commons.httpclient.Header[] headers,
org.apache.commons.httpclient.NameValuePair[] params,
AGResponseHandler handler) |
void |
AGHttpRepoClient.deleteAttributeDefinition(String name)
HTTP client layer function for requesting that AG deletes an existing attribute.
|
void |
AGHTTPClient.deleteCatalog(String catalogURL) |
void |
AGHttpRepoClient.deleteDatatypeMapping(URI datatype) |
void |
AGHttpRepoClient.deleteDuplicates(String comparisonMode)
Deletes all duplicates from the store.
|
void |
AGHttpRepoClient.deleteFreetextIndex(String index)
Delete the freetext index of the given name.
|
void |
AGHttpRepoClient.deleteHardSpinFunction(String uri) |
void |
AGHttpRepoClient.deleteHardSpinMagicProperty(String uri) |
void |
AGHttpRepoClient.deleteJSON(org.json.JSONArray rows,
Resource... contexts) |
void |
AGHttpRepoClient.deletePredicateMapping(URI predicate) |
void |
AGHTTPClient.deleteRepository(String repositoryURL) |
void |
AGHttpRepoClient.deleteSavedQuery(String queryName) |
void |
AGHttpRepoClient.deleteSpinFunction(String uri) |
void |
AGHttpRepoClient.deleteSpinMagicProperty(String uri) |
void |
AGHttpRepoClient.deleteStatements(Resource subj,
URI pred,
Value obj,
Resource... contexts) |
void |
AGHttpRepoClient.deleteStaticAttributeFilter() |
void |
AGHttpRepoClient.disableTripleCache()
Disables the spogi triple cache.
|
void |
AGHttpRepoClient.dropIndex(String index)
Drops the given index from the list of actively managed indices.
|
void |
AGHttpRepoClient.enableTripleCache(long size)
Enables the spogi cache in this repository.
|
void |
AGHttpRepoClient.evalFreetextQuery(String pattern,
String expression,
String index,
boolean sorted,
int limit,
int offset,
AGResponseHandler handler) |
String |
AGHttpRepoClient.evalInServer(InputStream stream) |
String |
AGHttpRepoClient.evalInServer(String lispForm) |
String[] |
AGHTTPClient.generateURIs(String repositoryURL,
String namespace,
int amount) |
void |
AGHTTPClient.get(String url,
org.apache.commons.httpclient.Header[] headers,
org.apache.commons.httpclient.NameValuePair[] params,
AGResponseHandler handler) |
org.json.JSONArray |
AGHttpRepoClient.getAttributeDefinition()
Fetch all attribute definitions.
|
org.json.JSONArray |
AGHttpRepoClient.getAttributeDefinition(String name)
Fetch the attribute definition named by NAME.
|
String[] |
AGHttpRepoClient.getBlankNodes(int blankNodeAmount) |
String[] |
AGHTTPClient.getBlankNodes(String repositoryURL,
int amount) |
TupleQueryResult |
AGHttpRepoClient.getContextIDs() |
void |
AGHttpRepoClient.getContextIDs(TupleQueryResultHandler handler) |
String[] |
AGHttpRepoClient.getDatatypeMappings() |
void |
AGHttpRepoClient.getDuplicateStatements(String comparisonMode,
RDFHandler handler) |
TupleQueryResult |
AGHttpRepoClient.getEncodableNamespaces() |
org.json.JSONObject |
AGHttpRepoClient.getFreetextIndexConfiguration(String index)
Gets the configuration of the given index.
|
String[] |
AGHttpRepoClient.getFreetextIndices()
Deprecated.
|
String[] |
AGHttpRepoClient.getFreetextPredicates(String index) |
void |
AGHttpRepoClient.getGeoBox(String type_uri,
String predicate_uri,
float xmin,
float xmax,
float ymin,
float ymax,
int limit,
boolean infer,
AGResponseHandler handler) |
void |
AGHttpRepoClient.getGeoCircle(String type_uri,
String predicate_uri,
float x,
float y,
float radius,
int limit,
boolean infer,
AGResponseHandler handler) |
void |
AGHttpRepoClient.getGeoHaversine(String type_uri,
String predicate_uri,
float lat,
float lon,
float radius,
String unit,
int limit,
boolean infer,
AGResponseHandler handler) |
void |
AGHttpRepoClient.getGeoPolygon(String type_uri,
String predicate_uri,
String polygon,
int limit,
boolean infer,
AGResponseHandler handler) |
String[] |
AGHttpRepoClient.getGeoTypes() |
List<String> |
AGHTTPClient.getListOfStrings(String url) |
String |
AGHttpRepoClient.getNamespace(String prefix) |
TupleQueryResult |
AGHttpRepoClient.getNamespaces() |
void |
AGHttpRepoClient.getNamespaces(TupleQueryResultHandler handler) |
String[] |
AGHttpRepoClient.getPredicateMappings() |
String |
AGHttpRepoClient.getRoot() |
String |
AGHttpRepoClient.getSpinFunction(String uri) |
String |
AGHttpRepoClient.getSpinMagicProperty(String uri) |
void |
AGHttpRepoClient.getStatements(RDFHandler handler,
String... ids) |
void |
AGHttpRepoClient.getStatements(Resource subj,
URI pred,
Value obj,
String includeInferred,
RDFHandler handler,
Resource... contexts) |
String |
AGHttpRepoClient.getStaticAttributeFilter() |
String |
AGHTTPClient.getString(String url) |
String[] |
AGHTTPClient.getStringArray(String url) |
long |
AGHttpRepoClient.getTripleCacheSize()
Returns the size of the spogi cache.
|
TupleQueryResult |
AGHTTPClient.getTupleQueryResult(String url) |
boolean |
AGHttpRepoClient.isAutoCommit() |
List<String> |
AGHttpRepoClient.listFreetextIndices()
Lists the free text indices defined on the repository.
|
List<String> |
AGHttpRepoClient.listIndices(boolean listValid)
Returns a list of indices for this repository.
|
TupleQueryResult |
AGHttpRepoClient.listSpinFunctions() |
TupleQueryResult |
AGHttpRepoClient.listSpinMagicProperties() |
void |
AGHttpRepoClient.load(String serverAbsolutePath,
String baseURI,
RDFFormat dataFormat,
org.json.JSONObject attributes,
Resource... contexts) |
void |
AGHttpRepoClient.load(String serverAbsolutePath,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
AGHttpRepoClient.load(URI source,
String baseURI,
RDFFormat dataFormat,
org.json.JSONObject attributes,
Resource... contexts) |
void |
AGHttpRepoClient.load(URI source,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
long |
AGHttpRepoClient.materialize(AGMaterializer materializer)
Materializes inferred statements (generates and adds them to the store).
|
String |
AGHTTPClient.openSession(String spec,
boolean autocommit) |
void |
AGHttpRepoClient.optimizeIndices(Boolean wait) |
void |
AGHttpRepoClient.optimizeIndices(Boolean wait,
int level) |
void |
AGHttpRepoClient.ping() |
void |
AGHTTPClient.post(String url,
org.apache.commons.httpclient.Header[] headers,
org.apache.commons.httpclient.NameValuePair[] params,
org.apache.commons.httpclient.methods.RequestEntity requestEntity,
AGResponseHandler handler) |
void |
AGHTTPClient.put(String url,
org.apache.commons.httpclient.Header[] headers,
org.apache.commons.httpclient.NameValuePair[] params,
org.apache.commons.httpclient.methods.RequestEntity requestEntity,
AGResponseHandler handler) |
void |
AGHTTPClient.putCatalog(String catalogURL) |
void |
AGHTTPClient.putRepository(String repositoryURL) |
void |
AGHttpRepoClient.putSpinFunction(AGSpinFunction fn) |
void |
AGHttpRepoClient.putSpinMagicProperty(AGSpinMagicProperty fn) |
void |
AGHttpRepoClient.query(AGQuery q,
boolean analyzeOnly,
AGResponseHandler handler) |
String |
AGHttpRepoClient.registerCartesianType(float stripWidth,
float xmin,
float xmax,
float ymin,
float ymax) |
void |
AGHttpRepoClient.registerDatatypeMapping(URI datatype,
URI primitiveType) |
void |
AGHttpRepoClient.registerEncodableNamespace(String namespace,
String format) |
void |
AGHttpRepoClient.registerEncodableNamespaces(org.json.JSONArray formattedNamespaces) |
void |
AGHttpRepoClient.registerPolygon(String polygon,
List<String> points) |
void |
AGHttpRepoClient.registerPredicateMapping(URI predicate,
URI primitiveType) |
void |
AGHttpRepoClient.registerSNAGenerator(String generator,
List<String> objectOfs,
List<String> subjectOfs,
List<String> undirecteds,
String query) |
void |
AGHttpRepoClient.registerSNANeighborMatrix(String matrix,
String generator,
List<String> group,
int depth) |
String |
AGHttpRepoClient.registerSphericalType(float stripWidth,
String unit,
float latmin,
float longmin,
float latmax,
float longmax) |
void |
AGHttpRepoClient.removeNamespacePrefix(String prefix) |
void |
AGHttpRepoClient.rollback() |
void |
AGHttpRepoClient.sendRDFTransaction(InputStream rdftransaction) |
void |
AGHttpRepoClient.sendRDFTransaction(InputStream rdftransaction,
org.json.JSONObject attributes) |
void |
AGHttpRepoClient.setAutoCommit(boolean autoCommit) |
void |
AGHttpRepoClient.setNamespacePrefix(String prefix,
String name) |
void |
AGHttpRepoClient.setStaticAttributeFilter(String filter) |
long |
AGHttpRepoClient.size(Resource... contexts) |
static String |
AGProtocol.spinURL(String root,
String type,
String uri) |
void |
AGHttpRepoClient.unregisterEncodableNamespace(String namespace) |
void |
AGHttpRepoClient.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
org.json.JSONObject attributes,
Resource... contexts) |
void |
AGHttpRepoClient.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
long size,
String contentEncoding,
org.json.JSONObject attributes,
Resource... contexts) |
void |
AGHttpRepoClient.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
org.json.JSONObject attributes,
Resource... contexts) |
void |
AGHttpRepoClient.upload(org.apache.commons.httpclient.methods.RequestEntity reqEntity,
String baseURI,
boolean overwrite,
String serverSideFile,
URI serverSideURL,
RDFFormat dataFormat,
org.json.JSONObject attributes,
Resource... contexts) |
void |
AGHttpRepoClient.upload(org.apache.commons.httpclient.methods.RequestEntity reqEntity,
String baseURI,
boolean overwrite,
String serverSideFile,
URI serverSideURL,
RDFFormat dataFormat,
org.json.JSONObject attributes,
String contentEncoding,
Resource... contexts) |
void |
AGHttpRepoClient.upload(String url,
org.apache.commons.httpclient.methods.RequestEntity reqEntity,
String baseURI,
boolean overwrite,
String serverSideFile,
URI serverSideURL,
RDFFormat dataFormat,
org.json.JSONObject attributes,
Resource... contexts) |
void |
AGHttpRepoClient.upload(String url,
org.apache.commons.httpclient.methods.RequestEntity reqEntity,
String baseURI,
boolean overwrite,
String serverSideFile,
URI serverSideURL,
RDFFormat dataFormat,
org.json.JSONObject attributes,
String contentEncoding,
Resource... contexts) |
void |
AGHttpRepoClient.upload(String url,
org.apache.commons.httpclient.methods.RequestEntity reqEntity,
String baseURI,
boolean overwrite,
String serverSideFile,
URI serverSideURL,
RDFFormat dataFormat,
Resource... contexts) |
void |
AGHttpRepoClient.uploadJSON(org.json.JSONArray rows,
Resource... contexts) |
void |
AGHttpRepoClient.uploadJSON(String url,
org.json.JSONArray rows,
Resource... contexts) |
Modifier and Type | Class and Description |
---|---|
class |
AGCustomStoredProcException
Deprecated.
The stored proc feature and API are experimental, and subject to change in a future release.
|
class |
AGMalformedDataException |
class |
AGMalformedQueryException |
class |
AGPreconditionFailedException |
class |
AGQueryTimeoutException |
class |
AGUnsupportedFileFormatException |
class |
AGUnsupportedQueryLanguageException |
Modifier and Type | Method and Description |
---|---|
AGHttpException |
AGErrorHandler.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
AGBQRHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
abstract void |
AGResponseHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
void |
AGJSONArrayHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
void |
AGRDFHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
void |
AGStringHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
void |
AGErrorHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
void |
AGTQRStreamer.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
void |
AGLongHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
void |
AGJSONHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method)
Parse http response as a JSON object.
|
void |
AGTQRHandler.handleResponse(org.apache.commons.httpclient.HttpMethod method) |
Modifier and Type | Method and Description |
---|---|
AGRepositoryConnection.AttributeDefinition |
AGRepositoryConnection.AttributeDefinition.add()
Pass the current attribute definition to AllegroGraph for defining.
|
void |
AGServer.addRole(String role)
Adds a role to this server.
|
void |
AGServer.addRoleAccess(String role,
boolean read,
boolean write,
String catalog,
String repository)
Adds to a role's access list for this server.
|
void |
AGServer.addRolePermission(String role,
String permission)
Adds to a role's permission list.
|
void |
AGServer.addRoleSecurityFilter(String role,
String type,
String s,
String p,
String o,
String g)
Adds a security filter for a role.
|
void |
AGServer.addUser(String user,
String password)
Adds a user to the server.
|
void |
AGServer.addUserAccess(String user,
boolean read,
boolean write,
String catalog,
String repository)
Adds to a user's access list for this server.
|
void |
AGServer.addUserPermission(String user,
String permission)
Adds to a user's permission list.
|
void |
AGServer.addUserRole(String user,
String role)
Adds a role for this user.
|
void |
AGServer.addUserSecurityFilter(String user,
String type,
String s,
String p,
String o,
String g)
Adds a security filter for a user.
|
AGCatalog |
AGServer.createCatalog(String catalogID)
Returns an AGCatalog instance for the given catalogID.
|
void |
AGServer.deleteCatalog(String catalogID)
Deletes any catalog with the given repository id.
|
void |
AGServer.deleteRole(String role)
Deletes a role from this server.
|
void |
AGServer.deleteRoleAccess(String role,
boolean read,
boolean write,
String catalog,
String repository)
Deletes from a role's access list for this server.
|
void |
AGServer.deleteRolePermission(String role,
String permission)
Delete from a role's permission list.
|
void |
AGServer.deleteRoleSecurityFilter(String role,
String type,
String s,
String p,
String o,
String g)
Deletes a security filter for a role.
|
void |
AGServer.deleteUser(String user)
Deletes a user from the server.
|
void |
AGServer.deleteUserAccess(String user,
boolean read,
boolean write,
String catalog,
String repository)
Deletes from a user's access list for this server.
|
void |
AGServer.deleteUserPermission(String user,
String permission)
Deletes from a user's permission list.
|
void |
AGServer.deleteUserRole(String user,
String role)
Deletes a role for this user.
|
void |
AGServer.deleteUserSecurityFilter(String user,
String type,
String s,
String p,
String o,
String g)
Deletes a security filter for a user.
|
String |
AGServer.getBuildDate() |
AGCatalog |
AGServer.getCatalog(String catalogID)
Gets the catalog instance for a given catalog id.
|
String |
AGServer.getRevision() |
String |
AGServer.getVersion() |
List<String> |
AGServer.listCatalogs()
Returns a List of catalog ids known to this AllegroGraph server.
|
org.json.JSONArray |
AGServer.listRoleAccess(String role)
Returns a role's access list for this server.
|
List<String> |
AGServer.listRolePermissions(String role)
Returns a list of permissions for a role.
|
List<String> |
AGServer.listRoles()
Returns a list of roles known to this server.
|
org.json.JSONArray |
AGServer.listRoleSecurityFilters(String role,
String type)
Returns a list of security filters of the given type for a role
|
org.json.JSONArray |
AGServer.listUserAccess(String user)
Returns a user's access list for this server.
|
org.json.JSONArray |
AGServer.listUserEffectiveAccess(String user)
Returns a user's effective access list for this server.
|
List<String> |
AGServer.listUserEffectivePermissions(String user)
Returns a list of effective permissions for a user.
|
List<String> |
AGServer.listUserPermissions(String user)
Returns a list of permissions for a user.
|
List<String> |
AGServer.listUserRoles(String user)
Returns a list of roles for a user.
|
List<String> |
AGServer.listUsers()
Returns a List of user ids known to this AllegroGraph server.
|
org.json.JSONArray |
AGServer.listUserSecurityFilters(String user,
String type)
Returns a list of security filters of the given type for a user
|
Copyright © 2017 Franz Inc.. All rights reserved.