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
FieldsModifier and TypeFieldDescriptionstatic final Stringattribute definition request parametersstatic final StringParameter name for the 'amount' parameter of blank node service.static final StringUsed by the /statements servicestatic final StringRelative location of the autocommit service.static final StringParameter name for the 'autoCommit' parameter for sessions.static final StringRelative location of the begin service.static final StringRelative location of the blank nodes service.static final StringRelative location of the Geo Box service.static final StringRelative location of the Geo Types Cartesian service.static final StringRelative location of the catalogs service.static final StringA 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 StringRelative location of the Geo Circle service.static final StringRelative location of session close.static final StringRelative location of the commit service.static final StringParameter name for the 'phase' parameter for the commit service.static final StringRelative location of the custom stored proc service.static final StringRelative location of the attribute definition servicestatic final StringParameter value 'degree' for the 'unit' of a Geo typestatic final StringRelative location to delete statements.static final StringParameter name for the 'depth' for the neighbor matrixstatic final StringParameter name for the 'encoding' parameter for mappings.static final StringRelative location of the eval service.static final StringParameter name for the 'file' parameter for statements.static final Stringstatic final StringRelative location of the freetext service.static final StringRelative location of the freetext predicates service.static final StringParameter name for the 'predicate' parameter for freetext.static final StringRelative location of the functor service.static final StringParameter name for the 'generator' for the neighbor matrixstatic final StringRelative location of the Geo service.static final StringParameter name for the 'predicate' to search for in geo searches.static final StringRelative location of the getPreparedTransactionsstatic final StringParameter name for the 'group' used in seeding a neighbor matrixstatic final StringRelative location of the Geo Haversine service.static final Stringstatic final Stringstatic final StringRelative location of the INDICES service.static final StringParameter value 'km' for the 'unit' of a Geo typestatic final StringParameter name for the 'lat' ordinate of a haversinestatic final StringParameter name for the 'latmax' of a Geo typestatic final StringParameter name for the 'latmin' of a Geo typestatic final StringParameter name for the 'lifetime' parameter for sessions.static final StringParameter name for the 'limit' on results returned.static final StringParameter name for the 'loadInitFile' parameter for sessions.static final StringLocation of the log service.static final StringParameter name for the 'lon' ordinate of a haversinestatic final StringParameter name for the 'longmax' of a Geo typestatic final StringParameter name for the 'longmin' of a Geo typestatic final StringRelative location of the mapping service.static final StringRelative location of the datatype mapping service.static final StringRelative location of the predicate mapping service.static final Stringattribute definition request parametersstatic final StringParameter value 'mile' for the 'unit' of a Geo typestatic final Stringattribute definition request parametersstatic final Stringattribute definition request parametersstatic final Stringstatic final StringRelative location of the SNA Neighbor Matrices registration service.static final StringParameter name for the 'objectOf' predicates in the generatorstatic final StringParameter name for the 'on' parameter of autoCommit.static final Stringattribute definition request parametersstatic final StringUsed by the /statements service to override the context present in the data being loaded with the the supplied one.static final StringParameter name for the 'override' parameter for put on a repository.static final StringRelative location of the session ping service.static final StringParameter name for the 'planner' to use during a querystatic final StringParameter name for the 'point' of a polygonstatic final StringRelative location of the Geo Polygon registration service.static final StringParameter name for the 'polygon' being referencedstatic final StringRelative location of the processes service.static final StringThe name of the system property used to toggle context overriding behaviour.static final StringRelative location of the session prepared queries service.static final StringRelativec location of the query options services prefix.static final StringParameter value 'radian' for the 'unit' of a Geo typestatic final StringParameter name for the 'radius' of a circlestatic final StringRelative location of the reconfigure service.static final StringParameter name for the 'repo' parameter for federationstatic final StringParameter name 'resource' for the polygon being registeredstatic final StringRelative location of the rollback service.static final StringParameter name for the name to 'save' a prepared querystatic final StringRelative location of the session service.static final Stringstatic final StringRelative location of the SNA Generators registration service.static final StringRelative location of the Geo Types Spherical service.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringRelative location of static attribute filter servicestatic final StringParameter name for the 'stripWidth' of a Geo typestatic final StringParameter name for the 'subjectOf' predicates in the generatorstatic final StringParameter name for the 'type' parameter for datatype mapping.static final StringRelative location of the Geo Types service.static final StringParameter name for the 'undirected' predicates in the generatorstatic final StringParameter name for the 'unit' of a Geo typestatic final StringParameter name for the 'url' parameter for federation.static final StringOverride header for supplying user attributes with a store-based request.static final StringRelative location of the user data service.static final StringRelative location of the user permissions service.static final StringRelative location of the user roles service.static final StringRelative location of the users service.static final StringRelative location of the version service.static final StringRelative location of the warmup service.static final StringHeaders for requesting rollback and commit as part of a requeststatic final StringParameter name for the 'x' ordinate of a circlestatic final StringHeader used to transfer settings related to multi-master replication.static final Stringstatic final StringParameter name for the 'xid' parameter for the commit/rollback servicesstatic final StringParameter name for the 'xmax' of a Geo typestatic final StringParameter name for the 'xmin' of a Geo typestatic final StringParameter name for the 'y' ordinate of a circlestatic final StringParameter name for the 'ymax' of a Geo typestatic final StringParameter 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic final StringgetAutoCommitLocation(String sessionRoot) static final StringgetBlankNodesURL(String repositoryLocation) Get the location of the blank nodes service for a repositorystatic StringgetDatatypeMappingLocation(String sessionRoot) static StringgetEvalLocation(String sessionRoot) static StringgetFreetextIndexLocation(String sessionRoot) static StringgetFreetextIndexLocation(String sessionRoot, String name) static StringgetFreetextLocation(String sessionRoot) static StringgetFunctorLocation(String serverRoot) static StringgetGeoBoxLocation(String sessionRoot) static StringgetGeoCircleLocation(String sessionRoot) static StringgetGeoHaversineLocation(String sessionRoot) static StringgetGeoLocation(String sessionRoot) static StringgetGeoPolygonLocation(String sessionRoot) static StringgetGeoTypesCartesianLocation(String sessionRoot) static StringgetGeoTypesLocation(String sessionRoot) static StringgetGeoTypesSphericalLocation(String sessionRoot) static StringgetIndicesURL(String root) static StringgetLogLocation(String serverURL) Get the location of the server logs resource on the specified server.static StringgetMappingLocation(String sessionRoot) static final StringgetNamedCatalogLocation(String serverURL, String catalogName) static StringgetNamedCatalogRepositoriesLocation(String catalogURL) static final StringgetNamedCatalogsURL(String serverURL) Location of the named catalog's servicestatic Stringstatic StringgetPredicateMappingLocation(String sessionRoot) static final StringgetQueriesLocation(String sessionRoot) static StringgetQueryOptionLocation(String root, String name) static Stringstatic StringgetRootCatalogRepositoriesLocation(String catalogURL) static final StringgetRootCatalogURL(String serverURL) Location of the root catalog servicestatic final StringgetSavedQueryLocation(String sessionRoot, String queryName) static final StringgetSessionCloseLocation(String sessionRoot) static final StringgetSessionPingLocation(String sessionRoot) static final StringgetSessionURL(String serverLocation) static StringgetSNAGeneratorLocation(String sessionRoot, String generator) static StringgetSNAGeneratorsLocation(String sessionRoot) static StringgetSNANeighborMatricesLocation(String sessionRoot) static StringgetSNANeighborMatrixLocation(String sessionRoot, String matrix) static StringgetStatementsDeleteLocation(String sessionRoot) static Stringstatic final StringgetStoredProcLocation(String sessionRoot) static StringMethods 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
-