Package com.franz.agraph.http
Class AGProtocol
java.lang.Object
org.eclipse.rdf4j.http.protocol.Protocol
com.franz.agraph.http.AGProtocol
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.rdf4j.http.protocol.Protocol
Protocol.Action, Protocol.TIMEOUT
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
attribute definition request parametersstatic final String
Parameter name for the 'amount' parameter of blank node service.static final String
Used by the /statements servicestatic final String
Relative location of the autocommit service.static final String
Parameter name for the 'autoCommit' parameter for sessions.static final String
Relative location of the begin service.static final String
Relative location of the blank nodes service.static final String
Relative location of the Geo Box service.static final String
Relative location of the Geo Types Cartesian service.static final String
Relative location of the catalogs service.static final String
A boolean that defaults to false, indicating whether an error should be raised when a SPARQL query selects variables that are not mentioned in the query body.static final String
Relative location of the Geo Circle service.static final String
Relative location of session close.static final String
Relative location of the commit service.static final String
Parameter name for the 'phase' parameter for the commit service.static final String
Relative location of the custom stored proc service.static final String
Relative location of the attribute definition servicestatic final String
Parameter value 'degree' for the 'unit' of a Geo typestatic final String
Relative location to delete statements.static final String
Parameter name for the 'depth' for the neighbor matrixstatic final String
Parameter name for the 'encoding' parameter for mappings.static final String
Relative location of the eval service.static final String
Parameter name for the 'file' parameter for statements.static final String
static final String
Relative location of the freetext service.static final String
Relative location of the freetext predicates service.static final String
Parameter name for the 'predicate' parameter for freetext.static final String
Relative location of the functor service.static final String
Parameter name for the 'generator' for the neighbor matrixstatic final String
Relative location of the Geo service.static final String
Parameter name for the 'predicate' to search for in geo searches.static final String
Relative location of the getPreparedTransactionsstatic final String
Parameter name for the 'group' used in seeding a neighbor matrixstatic final String
Relative location of the Geo Haversine service.static final String
static final String
static final String
Relative location of the INDICES service.static final String
Parameter value 'km' for the 'unit' of a Geo typestatic final String
Parameter name for the 'lat' ordinate of a haversinestatic final String
Parameter name for the 'latmax' of a Geo typestatic final String
Parameter name for the 'latmin' of a Geo typestatic final String
Parameter name for the 'lifetime' parameter for sessions.static final String
Parameter name for the 'limit' on results returned.static final String
Parameter name for the 'loadInitFile' parameter for sessions.static final String
Location of the log service.static final String
Parameter name for the 'lon' ordinate of a haversinestatic final String
Parameter name for the 'longmax' of a Geo typestatic final String
Parameter name for the 'longmin' of a Geo typestatic final String
Relative location of the mapping service.static final String
Relative location of the datatype mapping service.static final String
Relative location of the predicate mapping service.static final String
attribute definition request parametersstatic final String
Parameter value 'mile' for the 'unit' of a Geo typestatic final String
attribute definition request parametersstatic final String
attribute definition request parametersstatic final String
static final String
Relative location of the SNA Neighbor Matrices registration service.static final String
Parameter name for the 'objectOf' predicates in the generatorstatic final String
Parameter name for the 'on' parameter of autoCommit.static final String
attribute definition request parametersstatic final String
Used by the /statements service to override the context present in the data being loaded with the the supplied one.static final String
Parameter name for the 'override' parameter for put on a repository.static final String
Relative location of the session ping service.static final String
Parameter name for the 'planner' to use during a querystatic final String
Parameter name for the 'point' of a polygonstatic final String
Relative location of the Geo Polygon registration service.static final String
Parameter name for the 'polygon' being referencedstatic final String
Relative location of the processes service.static final String
The name of the system property used to toggle context overriding behaviour.static final String
Relative location of the session prepared queries service.static final String
Relativec location of the query options services prefix.static final String
Parameter value 'radian' for the 'unit' of a Geo typestatic final String
Parameter name for the 'radius' of a circlestatic final String
Relative location of the reconfigure service.static final String
Parameter name for the 'repo' parameter for federationstatic final String
Parameter name 'resource' for the polygon being registeredstatic final String
Relative location of the rollback service.static final String
Parameter name for the name to 'save' a prepared querystatic final String
Relative location of the session service.static final String
static final String
Relative location of the SNA Generators registration service.static final String
Relative location of the Geo Types Spherical service.static final String
static final String
static final String
static final String
static final String
static final String
Relative location of static attribute filter servicestatic final String
Parameter name for the 'stripWidth' of a Geo typestatic final String
Parameter name for the 'subjectOf' predicates in the generatorstatic final String
Parameter name for the 'type' parameter for datatype mapping.static final String
Relative location of the Geo Types service.static final String
Parameter name for the 'undirected' predicates in the generatorstatic final String
Parameter name for the 'unit' of a Geo typestatic final String
Parameter name for the 'url' parameter for federation.static final String
Override header for supplying user attributes with a store-based request.static final String
Relative location of the user data service.static final String
Relative location of the user permissions service.static final String
Relative location of the user roles service.static final String
Relative location of the users service.static final String
Relative location of the version service.static final String
Relative location of the warmup service.static final String
Headers for requesting rollback and commit as part of a requeststatic final String
Parameter name for the 'x' ordinate of a circlestatic final String
Header used to transfer settings related to multi-master replication.static final String
static final String
Parameter name for the 'xid' parameter for the commit/rollback servicesstatic final String
Parameter name for the 'xmax' of a Geo typestatic final String
Parameter name for the 'xmin' of a Geo typestatic final String
Parameter name for the 'y' ordinate of a circlestatic final String
Parameter name for the 'ymax' of a Geo typestatic final String
Parameter name for the 'ymin' of a Geo typeFields inherited from class org.eclipse.rdf4j.http.protocol.Protocol
ACCEPT_PARAM_NAME, ACTION_PARAM_NAME, BASEURI_PARAM_NAME, BINDING_PREFIX, CACHE_TIMEOUT_PROPERTY, CONFIG, CONTEXT_PARAM_NAME, CONTEXTS, DEFAULT_GRAPH_PARAM_NAME, DEFAULT_TIMEOUT, DISTINCT_PARAM_NAME, FORM_MIME_TYPE, GRAPH_PARAM_NAME, INCLUDE_INFERRED_PARAM_NAME, INSERT_GRAPH_PARAM_NAME, ISOLATION_LEVEL_PARAM_NAME, NAMED_GRAPH_PARAM_NAME, NAMESPACES, NULL_PARAM_VALUE, OBJECT_PARAM_NAME, OFFSET_PARAM_NAME, PREDICATE_PARAM_NAME, PRESERVE_BNODE_ID_PARAM_NAME, PROTOCOL, QUERY_LANGUAGE_PARAM_NAME, QUERY_PARAM_NAME, REMOVE_GRAPH_PARAM_NAME, REPOSITORIES, SIZE, SPARQL_QUERY_MIME_TYPE, SPARQL_UPDATE_MIME_TYPE, STATEMENTS, SUBJECT_PARAM_NAME, TIMEOUT_PARAM_NAME, TRANSACTION_SETTINGS_PREFIX, TRANSACTIONS, TXN_MIME_TYPE, UPDATE_PARAM_NAME, USING_GRAPH_PARAM_NAME, USING_NAMED_GRAPH_PARAM_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static final String
getAutoCommitLocation
(String sessionRoot) static final String
getBlankNodesURL
(String repositoryLocation) Get the location of the blank nodes service for a repositorystatic String
getDatatypeMappingLocation
(String sessionRoot) static String
getEvalLocation
(String sessionRoot) static String
getFreetextIndexLocation
(String sessionRoot) static String
getFreetextIndexLocation
(String sessionRoot, String name) static String
getFreetextLocation
(String sessionRoot) static String
getFunctorLocation
(String serverRoot) static String
getGeoBoxLocation
(String sessionRoot) static String
getGeoCircleLocation
(String sessionRoot) static String
getGeoHaversineLocation
(String sessionRoot) static String
getGeoLocation
(String sessionRoot) static String
getGeoPolygonLocation
(String sessionRoot) static String
getGeoTypesCartesianLocation
(String sessionRoot) static String
getGeoTypesLocation
(String sessionRoot) static String
getGeoTypesSphericalLocation
(String sessionRoot) static String
getIndicesURL
(String root) static String
getLogLocation
(String serverURL) Get the location of the server logs resource on the specified server.static String
getMappingLocation
(String sessionRoot) static final String
getNamedCatalogLocation
(String serverURL, String catalogName) static String
getNamedCatalogRepositoriesLocation
(String catalogURL) static final String
getNamedCatalogsURL
(String serverURL) Location of the named catalog's servicestatic String
static String
getPredicateMappingLocation
(String sessionRoot) static final String
getQueriesLocation
(String sessionRoot) static String
getQueryOptionLocation
(String root, String name) static String
static String
getRootCatalogRepositoriesLocation
(String catalogURL) static final String
getRootCatalogURL
(String serverURL) Location of the root catalog servicestatic final String
getSavedQueryLocation
(String sessionRoot, String queryName) static final String
getSessionCloseLocation
(String sessionRoot) static final String
getSessionPingLocation
(String sessionRoot) static final String
getSessionURL
(String serverLocation) static String
getSNAGeneratorLocation
(String sessionRoot, String generator) static String
getSNAGeneratorsLocation
(String sessionRoot) static String
getSNANeighborMatricesLocation
(String sessionRoot) static String
getSNANeighborMatrixLocation
(String sessionRoot, String matrix) static String
getStatementsDeleteLocation
(String sessionRoot) static String
static final String
getStoredProcLocation
(String sessionRoot) static String
Methods inherited from class org.eclipse.rdf4j.http.protocol.Protocol
decodeContext, decodeContexts, decodeResource, decodeURI, decodeValue, encodeContext, encodeContexts, encodeValue, getConfigLocation, getContextsLocation, getNamespacePrefixLocation, getNamespacesLocation, getProtocolLocation, getRepositoriesLocation, getRepositoryConfigLocation, getRepositoryID, getRepositoryLocation, getServerLocation, getSizeLocation, getStatementsLocation, getTransactionsLocation
-
Field Details
-
CATALOGS
Relative location of the catalogs service.- See Also:
-
VERSION
Relative location of the version service.- See Also:
-
RECONFIGURE
Relative location of the reconfigure service.- See Also:
-
USERS
Relative location of the users service.- See Also:
-
USER_ROLES
Relative location of the user roles service.- See Also:
-
USER_PERMISSIONS
Relative location of the user permissions service.- See Also:
-
USER_DATA
Relative location of the user data service.- See Also:
-
PROCESSES
Relative location of the processes service.- See Also:
-
SESSION
Relative location of the session service.- See Also:
-
LIFETIME_PARAM_NAME
Parameter name for the 'lifetime' parameter for sessions.- See Also:
-
LOAD_INIT_FILE_PARAM_NAME
Parameter name for the 'loadInitFile' parameter for sessions.- See Also:
-
AUTOCOMMIT_PARAM_NAME
Parameter name for the 'autoCommit' parameter for sessions.- See Also:
-
OVERRIDE_PARAM_NAME
Parameter name for the 'override' parameter for put on a repository.- See Also:
-
CLOSE
Relative location of session close.- See Also:
-
PING
Relative location of the session ping service.- See Also:
-
QUERIES
Relative location of the session prepared queries service.- See Also:
-
BLANK_NODES
Relative location of the blank nodes service.- See Also:
-
AMOUNT_PARAM_NAME
Parameter name for the 'amount' parameter of blank node service.- See Also:
-
DELETE
Relative location to delete statements.- See Also:
-
AUTOCOMMIT
Relative location of the autocommit service.- See Also:
-
CUSTOM
Relative location of the custom stored proc service.- See Also:
-
ON_PARAM_NAME
Parameter name for the 'on' parameter of autoCommit.- See Also:
-
FILE_PARAM_NAME
Parameter name for the 'file' parameter for statements.- See Also:
-
COMMIT
Relative location of the commit service.- See Also:
-
COMMIT_PHASE
Parameter name for the 'phase' parameter for the commit service.- See Also:
-
XID
Parameter name for the 'xid' parameter for the commit/rollback services- See Also:
-
ROLLBACK
Relative location of the rollback service.- See Also:
-
GET_PREPARED_TRANSACTIONS
Relative location of the getPreparedTransactions- See Also:
-
EVAL
Relative location of the eval service.- See Also:
-
FUNCTOR
Relative location of the functor service.- See Also:
-
FREETEXT
Relative location of the freetext service.- See Also:
-
FTI_INDICES
Relative location of the freetext predicates service.- See Also:
-
FTI_PREDICATE_PARAM_NAME
Parameter name for the 'predicate' parameter for freetext.- See Also:
-
MAPPING
Relative location of the mapping service.- See Also:
-
MAPPING_DATATYPE
Relative location of the datatype mapping service.- See Also:
-
TYPE_PARAM_NAME
Parameter name for the 'type' parameter for datatype mapping.- See Also:
-
ENCODED_TYPE_PARAM_NAME
Parameter name for the 'encoding' parameter for mappings.- See Also:
-
MAPPING_PREDICATE
Relative location of the predicate mapping service.- See Also:
-
URL_PARAM_NAME
Parameter name for the 'url' parameter for federation.- See Also:
-
REPO_PARAM_NAME
Parameter name for the 'repo' parameter for federation- See Also:
-
PLANNER_PARAM_NAME
Parameter name for the 'planner' to use during a query- See Also:
-
SAVE_PARAM_NAME
Parameter name for the name to 'save' a prepared query- See Also:
-
GEO
Relative location of the Geo service.- See Also:
-
TYPES
Relative location of the Geo Types service.- See Also:
-
CARTESIAN
Relative location of the Geo Types Cartesian service.- See Also:
-
SPHERICAL
Relative location of the Geo Types Spherical service.- See Also:
-
STRIP_WIDTH_PARAM_NAME
Parameter name for the 'stripWidth' of a Geo type- See Also:
-
XMIN_PARAM_NAME
Parameter name for the 'xmin' of a Geo type- See Also:
-
XMAX_PARAM_NAME
Parameter name for the 'xmax' of a Geo type- See Also:
-
YMIN_PARAM_NAME
Parameter name for the 'ymin' of a Geo type- See Also:
-
YMAX_PARAM_NAME
Parameter name for the 'ymax' of a Geo type- See Also:
-
LATMIN_PARAM_NAME
Parameter name for the 'latmin' of a Geo type- See Also:
-
LONGMIN_PARAM_NAME
Parameter name for the 'longmin' of a Geo type- See Also:
-
LATMAX_PARAM_NAME
Parameter name for the 'latmax' of a Geo type- See Also:
-
LONGMAX_PARAM_NAME
Parameter name for the 'longmax' of a Geo type- See Also:
-
UNIT_PARAM_NAME
Parameter name for the 'unit' of a Geo type- See Also:
-
DEGREE_PARAM_VALUE
Parameter value 'degree' for the 'unit' of a Geo type- See Also:
-
RADIAN_PARAM_VALUE
Parameter value 'radian' for the 'unit' of a Geo type- See Also:
-
KM_PARAM_VALUE
Parameter value 'km' for the 'unit' of a Geo type- See Also:
-
MILE_PARAM_VALUE
Parameter value 'mile' for the 'unit' of a Geo type- See Also:
-
LIMIT_PARAM_NAME
Parameter name for the 'limit' on results returned.- See Also:
-
BOX
Relative location of the Geo Box service.- See Also:
-
GEO_PREDICATE_PARAM_NAME
Parameter name for the 'predicate' to search for in geo searches.- See Also:
-
CIRCLE
Relative location of the Geo Circle service.- See Also:
-
X_PARAM_NAME
Parameter name for the 'x' ordinate of a circle- See Also:
-
Y_PARAM_NAME
Parameter name for the 'y' ordinate of a circle- See Also:
-
RADIUS_PARAM_NAME
Parameter name for the 'radius' of a circle- See Also:
-
HAVERSINE
Relative location of the Geo Haversine service.- See Also:
-
LAT_PARAM_NAME
Parameter name for the 'lat' ordinate of a haversine- See Also:
-
LON_PARAM_NAME
Parameter name for the 'lon' ordinate of a haversine- See Also:
-
POLYGON
Relative location of the Geo Polygon registration service.- See Also:
-
RESOURCE_PARAM_NAME
Parameter name 'resource' for the polygon being registered- See Also:
-
POLYGON_PARAM_NAME
Parameter name for the 'polygon' being referenced- See Also:
-
POINT_PARAM_NAME
Parameter name for the 'point' of a polygon- See Also:
-
SNA_GENERATORS
Relative location of the SNA Generators registration service.- See Also:
-
OBJECTOF_PARAM_NAME
Parameter name for the 'objectOf' predicates in the generator- See Also:
-
SUBJECTOF_PARAM_NAME
Parameter name for the 'subjectOf' predicates in the generator- See Also:
-
UNDIRECTED_PARAM_NAME
Parameter name for the 'undirected' predicates in the generator- See Also:
-
NEIGHBOR_MATRICES
Relative location of the SNA Neighbor Matrices registration service.- See Also:
-
GENERATOR_PARAM_NAME
Parameter name for the 'generator' for the neighbor matrix- See Also:
-
GROUP_PARAM_NAME
Parameter name for the 'group' used in seeding a neighbor matrix- See Also:
-
DEPTH_PARAM_NAME
Parameter name for the 'depth' for the neighbor matrix- See Also:
-
INDICES
Relative location of the INDICES service.- See Also:
-
SPIN
- See Also:
-
SPIN_MAGICPROPERTY
- See Also:
-
SPIN_FUNCTION
- See Also:
-
SPIN_QUERY
- See Also:
-
SPIN_ARGUMENTS
- See Also:
-
WARMUP
Relative location of the warmup service.- See Also:
-
INCLUDE_STRINGS
- See Also:
-
INCLUDE_TRIPLES
- See Also:
-
LOGFILE
Location of the log service.- See Also:
-
CHECK_VARIABLES
A boolean that defaults to false, indicating whether an error should be raised when a SPARQL query selects variables that are not mentioned in the query body.- See Also:
-
SESSION_DOC
- See Also:
-
BEGIN
Relative location of the begin service.- See Also:
-
DEFINE_ATTRIBUTE_LOCATION
Relative location of the attribute definition service- See Also:
-
NAME_PARAM_NAME
attribute definition request parameters- See Also:
-
ORDERED_PARAM_NAME
attribute definition request parameters- See Also:
-
ALLOWED_VALUE_PARAM_NAME
attribute definition request parameters- See Also:
-
MAXIMUM_PARAM_NAME
attribute definition request parameters- See Also:
-
MINIMUM_PARAM_NAME
attribute definition request parameters- See Also:
-
ATTRIBUTES_PARAM_NAME
Used by the /statements service- See Also:
-
OVERRIDE_CONTEXT_PARAM_NAME
Used by the /statements service to override the context present in the data being loaded with the the supplied one.- See Also:
-
PROP_OVERRIDE_CONTEXT
The name of the system property used to toggle context overriding behaviour.- See Also:
-
STATIC_FILTER_LOCATION
Relative location of static attribute filter service- See Also:
-
ND_GEOSPATIAL_DATATYPE_AUTOMATION
- See Also:
-
QUERY_OPTIONS
Relativec location of the query options services prefix.- See Also:
-
FILTER_PARAM_NAME
- See Also:
-
USER_ATTRIBUTE_HEADER
Override header for supplying user attributes with a store-based request.- See Also:
-
X_COMMIT_HEADER
Headers for requesting rollback and commit as part of a request- See Also:
-
X_ROLLBACK_HEADER
- See Also:
-
X_REPL_SETTINGS
Header used to transfer settings related to multi-master replication.- See Also:
-
-
Constructor Details
-
AGProtocol
public AGProtocol()
-
-
Method Details
-
getLogLocation
Get the location of the server logs resource on the specified server.- Parameters:
serverURL
- the base location of a server implementing this REST protocol.- Returns:
- the location of the server logs resource on the specified server
-
getRootCatalogURL
Location of the root catalog service- Parameters:
serverURL
- the server url- Returns:
- String the root catalog service location
-
getNamedCatalogsURL
Location of the named catalog's service- Parameters:
serverURL
- the server url- Returns:
- String the named catalog's service location
-
getNamedCatalogLocation
- Parameters:
serverURL
- the server urlcatalogName
- the name of the catalog to locate- Returns:
- String the location of a named catalog
-
getBlankNodesURL
Get the location of the blank nodes service for a repository- Parameters:
repositoryLocation
- the base location of the repository- Returns:
- the location of the blank nodes service
-
getSessionURL
-
getSessionCloseLocation
-
getSessionPingLocation
-
getQueriesLocation
-
getSavedQueryLocation
-
getAutoCommitLocation
-
getStoredProcLocation
-
getStatementsDeleteLocation
-
getFreetextLocation
-
getFreetextIndexLocation
-
getFreetextIndexLocation
-
getMappingLocation
-
getDatatypeMappingLocation
-
getPredicateMappingLocation
-
getFunctorLocation
-
getNamedCatalogRepositoriesLocation
-
getRootCatalogRepositoriesLocation
-
getEvalLocation
-
getGeoLocation
-
getGeoTypesLocation
-
getGeoTypesCartesianLocation
-
getGeoTypesSphericalLocation
-
getGeoBoxLocation
-
getGeoCircleLocation
-
getGeoHaversineLocation
-
getGeoPolygonLocation
-
getSNAGeneratorsLocation
-
getSNAGeneratorLocation
-
getSNANeighborMatricesLocation
-
getSNANeighborMatrixLocation
-
encode
-
getIndicesURL
-
spinURL
- Throws:
AGHttpException
-
getAttributeDefinitionLocation
-
getStaticFilterLocation
-
getNDGeospatialDatatypeAutomation
-
getQueryOptionsLocation
-
getQueryOptionLocation
-