Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { }
Service SHOULD implement the Executor interface It currently does NOT
func NewService ¶
func NewService() *Service
NewService creates a new ArangoDB executor service
Return: *Service, the new service
func (*Service) ExecuteQuery ¶
func (s *Service) ExecuteQuery(query string, incomingTriplesJSON string, endpoint string) (*[]byte, error)
ExecuteQuery executes the given query on an ArangoDB instance Currently DOES NOT actually implement the Executor interface, since it requires a different set of parameters Since this code is essentially a proof-of-concept/template-to-be-extended,
there is no reason to mess with the current, and working, interface definition and its implementations query: string, the query to be executed endpoint: string, the public SPARQL endpoint to query incomingTriplesJSON: string, the triples used in the query corresponding to their select identifiers Return: (*[]byte, error), returns the result of the query and a potential error
Click to show internal directories.
Click to hide internal directories.