Uses of Class
com.franz.agraph.http.exception.AGHttpException
Package
Description
AllegroGraph Java client HTTP layer for the
AllegroGraph HTTP Protocol, used by
com.franz.agraph.repository
and com.franz.agraph.jena
.AllegroGraph Java client HTTP layer exceptions for the
AllegroGraph HTTP Protocol in support of
com.franz.agraph.http
.AllegroGraph Java client HTTP layer response handlers for the
AllegroGraph HTTP Protocol in support of
com.franz.agraph.http
.Implementation of the
RDF4J API
with extensions for
AllegroGraph features.
-
Uses of AGHttpException in com.franz.agraph.http
Modifier and TypeMethodDescriptionvoid
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
Adds the given index to the list of actively managed indices.void
AGHttpRepoClient.addRules
(InputStream rulestream) void
void
AGHttpRepoClient.addStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) 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.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.commit
(AGHttpRepoClient.CommitPhase phase, Xid xid) Prepares or finalizes a previous prepared commit depending on the value of phase.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.http.Header[] headers, org.apache.http.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
(IRI 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
(IRI 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, IRI pred, Value obj, Resource... contexts) void
AGHttpRepoClient.deleteStaticAttributeFilter()
void
AGHttpRepoClient.disableNDGeospatialDatatypeAutomation()
void
AGHttpRepoClient.disableTripleCache()
Disables the spogi triple cache.void
Drops the given index from the list of actively managed indices.void
AGHttpRepoClient.enableNDGeospatialDatatypeAutomation()
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) AGHttpRepoClient.evalInServer
(InputStream stream) AGHttpRepoClient.evalInServer
(String lispForm) String[]
AGHTTPClient.generateURIs
(String repositoryURL, String namespace, int amount) void
AGHTTPClient.get
(String url, org.apache.http.Header[] headers, org.apache.http.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[]
AGHTTPClient.getBlankNodes
(String repositoryURL, int amount) String[]
AGHttpRepoClient.getBlankNodes
(int blankNodeAmount) AGHttpRepoClient.getContextIDs()
void
AGHttpRepoClient.getContextIDs
(TupleQueryResultHandler handler) String[]
AGHttpRepoClient.getDatatypeMappings()
void
AGHttpRepoClient.getDuplicateStatements
(String comparisonMode, RDFHandler handler) 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()
AGHTTPClient.getListOfStrings
(String url) AGHttpRepoClient.getNamespace
(String prefix) AGHttpRepoClient.getNamespaces()
void
AGHttpRepoClient.getNamespaces
(TupleQueryResultHandler handler) boolean
AGHttpRepoClient.getNDGeospatialDatatypeAutomation()
String[]
AGHttpRepoClient.getPredicateMappings()
AGHttpRepoClient.getQueryOption
(String name) AGHttpRepoClient.getQueryOptions()
void
AGHttpRepoClient.getQueryOptions
(TupleQueryResultHandler handler) AGHttpRepoClient.getRoot()
AGHttpRepoClient.getSpinFunction
(String uri) AGHttpRepoClient.getSpinMagicProperty
(String uri) void
AGHttpRepoClient.getStatements
(AGResponseHandler handler, String... ids) void
AGHttpRepoClient.getStatements
(Resource subj, IRI pred, Value obj, String includeInferred, AGResponseHandler handler, Resource... contexts) void
AGHttpRepoClient.getStatements
(Resource subj, IRI pred, Value obj, String includeInferred, RDFHandler handler, Resource... contexts) void
AGHttpRepoClient.getStatements
(RDFHandler handler, String... ids) void
AGHttpRepoClient.getStatementsCountLimit
(int limit, Resource subj, IRI pred, Value obj, String includeInferred, AGResponseHandler handler, Resource... contexts) Retrieves the count of statements matching the provided subject, predicate, object and contexts, but does not read more than a specified number of statements; feeds the result to the response handler.void
AGHttpRepoClient.getStatementsLimit
(int limit, Resource subj, IRI pred, Value obj, String includeInferred, AGResponseHandler handler, Resource... contexts) Retrieves up to a specified number of statements matching the provided subject, predicate, object and contexts, and feeds the result to the response handler.AGHttpRepoClient.getStaticAttributeFilter()
long
AGHttpRepoClient.getStoreID()
Returns the storeID as a longString[]
AGHTTPClient.getStringArray
(String url) long
AGHttpRepoClient.getTripleCacheSize()
Returns the size of the spogi cache.AGHTTPClient.getTupleQueryResult
(String url) boolean
AGHttpRepoClient.isAutoCommit()
AGHttpRepoClient.listFreetextIndices()
Lists the free text indices defined on the repository.AGHttpRepoClient.listIndices
(boolean listValid) Returns a list of indices for this repository.AGHttpRepoClient.listSpinFunctions()
AGHttpRepoClient.listSpinMagicProperties()
void
AGHttpRepoClient.load
(String serverAbsolutePath, String baseURI, RDFFormat dataFormat, Resource... contexts) void
AGHttpRepoClient.load
(String serverAbsolutePath, String baseURI, RDFFormat dataFormat, org.json.JSONObject attributes, Resource... contexts) void
void
AGHttpRepoClient.load
(IRI source, String baseURI, RDFFormat dataFormat, org.json.JSONObject attributes, Resource... contexts) long
AGHttpRepoClient.materialize
(AGMaterializer materializer) Materializes inferred statements (generates and adds them to the store).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.http.Header[] headers, org.apache.http.NameValuePair[] params, org.apache.http.HttpEntity requestEntity, AGResponseHandler handler) void
AGHTTPClient.put
(String url, org.apache.http.Header[] headers, org.apache.http.NameValuePair[] params, org.apache.http.HttpEntity 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) AGHttpRepoClient.registerCartesianType
(float stripWidth, float xmin, float xmax, float ymin, float ymax) void
AGHttpRepoClient.registerDatatypeMapping
(IRI datatype, IRI 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
(IRI predicate, IRI 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) AGHttpRepoClient.registerSphericalType
(float stripWidth, String unit, float latmin, float longmin, float latmax, float longmax) void
AGHttpRepoClient.removeNamespacePrefix
(String prefix) void
AGHttpRepoClient.removeQueryOption
(String name) void
AGHttpRepoClient.rollback()
void
Aborts a previously prepared commitvoid
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.setQueryOption
(String name, String value) void
AGHttpRepoClient.setStaticAttributeFilter
(String filter) long
static String
void
AGHttpRepoClient.unregisterEncodableNamespace
(String namespace) void
AGHttpRepoClient.upload
(InputStream contents, String baseURI, RDFFormat dataFormat, boolean overwrite, long size, String contentEncoding, org.json.JSONObject attributes, Resource... contexts) void
AGHttpRepoClient.upload
(InputStream contents, String baseURI, RDFFormat dataFormat, boolean overwrite, 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
(String url, org.apache.http.HttpEntity reqEntity, String baseURI, boolean overwrite, String serverSideFile, IRI serverSideURL, RDFFormat dataFormat, Resource... contexts) void
AGHttpRepoClient.upload
(String url, org.apache.http.HttpEntity reqEntity, String baseURI, boolean overwrite, String serverSideFile, IRI serverSideURL, RDFFormat dataFormat, org.json.JSONObject attributes, String contentEncoding, Resource... contexts) void
AGHttpRepoClient.upload
(String url, org.apache.http.HttpEntity reqEntity, String baseURI, boolean overwrite, String serverSideFile, IRI serverSideURL, RDFFormat dataFormat, org.json.JSONObject attributes, Resource... contexts) void
AGHttpRepoClient.upload
(org.apache.http.HttpEntity reqEntity, String baseURI, boolean overwrite, String serverSideFile, IRI serverSideURL, RDFFormat dataFormat, org.json.JSONObject attributes, String contentEncoding, Resource... contexts) void
AGHttpRepoClient.upload
(org.apache.http.HttpEntity reqEntity, String baseURI, boolean overwrite, String serverSideFile, IRI serverSideURL, RDFFormat dataFormat, org.json.JSONObject attributes, Resource... contexts) void
AGHttpRepoClient.uploadJSON
(String url, org.json.JSONArray rows, Resource... contexts) void
AGHttpRepoClient.uploadJSON
(org.json.JSONArray rows, Resource... contexts) -
Uses of AGHttpException in com.franz.agraph.http.exception
Modifier and TypeClassDescriptionclass
Deprecated.The stored proc feature and API are experimental, and subject to change in a future release.class
class
class
class
class
class
-
Uses of AGHttpException in com.franz.agraph.http.handler
Modifier and TypeMethodDescriptionAGRawStreamer.getStream()
Gets the data stream contaning the server's response.void
AGBooleanHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGBQRHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGDownloadHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGErrorHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGJSONArrayHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGJSONHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) Parse http response as a JSON object.void
AGLongHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGRawStreamer.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGRDFHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) abstract void
AGResponseHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGStringHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGTQRHandler.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGTQRJSONStreamer.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) abstract void
AGTQRStreamer.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGTQRTSVStreamer.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) void
AGTQRXMLStreamer.handleResponse
(org.apache.http.HttpResponse httpResponse, org.apache.http.client.methods.HttpUriRequest httpUriRequest) -
Uses of AGHttpException in com.franz.agraph.repository
Modifier and TypeMethodDescriptionAGRepositoryConnection.AttributeDefinition.add()
Pass the current attribute definition to AllegroGraph for defining.void
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
Adds a security filter for a role.void
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
Adds a security filter for a user.void
AGServer.changeUserPassword
(String user, String password) Change the password for USER to PASSWORDAGServer.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
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
Deletes a security filter for a user.void
AGRepositoryConnection.downloadStatements
(File file, String mimeType, String ids) Downloads statements with given ids to a file.void
AGRepositoryConnection.downloadStatements
(File file, String mimeType, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Downloads statements matching given pattern to a file.void
AGRepositoryConnection.downloadStatements
(File file, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Downloads statements matching given pattern to a file.void
AGRepositoryConnection.downloadStatements
(File file, RDFFormat format, String ids) Downloads statements with given ids to a file.void
AGRepositoryConnection.downloadStatements
(File file, RDFFormat format, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Downloads statements matching given pattern to a file.void
AGRepositoryConnection.downloadStatements
(String file, String mimeType, String ids) Downloads statements with given ids to a file.void
AGRepositoryConnection.downloadStatements
(String file, String mimeType, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Downloads statements matching given pattern to a file.void
AGRepositoryConnection.downloadStatements
(String file, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Downloads statements matching given pattern to a file.void
AGRepositoryConnection.downloadStatements
(String file, RDFFormat format, String ids) Downloads statements with given ids to a file.void
AGRepositoryConnection.downloadStatements
(String file, RDFFormat format, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Downloads statements matching given pattern to a file.AGServer.getBuildDate()
AGServer.getCatalog
(String catalogID) Gets the catalog instance for a given catalog id.AGServer.getComparableVersion()
AGServer.getLogFile()
Retrieves the whole log file as a single string.AGServer.getRevision()
AGServer.getVersion()
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.AGServer.listRolePermissions
(String role) Returns a list of permissions for a role.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 roleorg.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.AGServer.listUserEffectivePermissions
(String user) Returns a list of effective permissions for a user.AGServer.listUserPermissions
(String user) Returns a list of permissions for a user.AGServer.listUserRoles
(String user) Returns a list of roles for a user.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 userAGRepositoryConnection.streamStatements
(String mimeType, String... ids) Returns statements with given ids as an InputStream.AGRepositoryConnection.streamStatements
(String mimeType, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Returns statements matching given pattern as an InputStream.AGRepositoryConnection.streamStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Returns statements matching given pattern as an InputStream.AGRepositoryConnection.streamStatements
(RDFFormat format, String... ids) Returns statements with given ids as an InputStream.AGRepositoryConnection.streamStatements
(RDFFormat format, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Returns statements matching given pattern as an InputStream.