Documentation ¶
Index ¶
- type ConstructedResource
- type ModelSrc
- type ResourceStore
- func (rs *ResourceStore) ConstructRdfData(templateName string, iris []string) (ConstructedResource, error)
- func (q *ResourceStore) ExecSparql(query string, acceptContentType string) ([]byte, error)
- func (rs *ResourceStore) FetchResourceIds(resType resource.ResourceType, fields log.Fields) ([]resource.ProcessingReq, error)
- func (rs *ResourceStore) FetchSanitizedEulerJson(resType resource.ResourceType, iris []string) ([]json.RawMessage, error)
- func (rs *ResourceStore) GetResourcesWithReverseLinksToBeIndexed(resourceType resource.ResourceType, iris ...string) ([]string, error)
- func (rs *ResourceStore) SelectRdfData(templateName string, iris []string) ([]map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstructedResource ¶
type ConstructedResource struct { Resources []json.RawMessage `json:"@graph"` ResourceType resource.ResourceType }
type ResourceStore ¶
type ResourceStore struct {
// contains filtered or unexported fields
}
func NewResourceStore ¶
func NewResourceStore(quadStoreUrl *url.URL, eulerUrl *url.URL) *ResourceStore
func (*ResourceStore) ConstructRdfData ¶
func (rs *ResourceStore) ConstructRdfData(templateName string, iris []string) (ConstructedResource, error)
func (*ResourceStore) ExecSparql ¶
func (q *ResourceStore) ExecSparql(query string, acceptContentType string) ([]byte, error)
func (*ResourceStore) FetchResourceIds ¶
func (rs *ResourceStore) FetchResourceIds(resType resource.ResourceType, fields log.Fields) ([]resource.ProcessingReq, error)
func (*ResourceStore) FetchSanitizedEulerJson ¶
func (rs *ResourceStore) FetchSanitizedEulerJson(resType resource.ResourceType, iris []string) ([]json.RawMessage, error)
func (*ResourceStore) GetResourcesWithReverseLinksToBeIndexed ¶
func (rs *ResourceStore) GetResourcesWithReverseLinksToBeIndexed(resourceType resource.ResourceType, iris ...string) ([]string, error)
func (*ResourceStore) SelectRdfData ¶
Click to show internal directories.
Click to hide internal directories.