Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func SetIndexService ¶
func SetIndexTypes ¶
func SetPostHookService ¶ added in v0.1.10
func SetPostHookService(hooks ...domain.PostHookService) Option
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) AppendRDFBulkRequest ¶
AppendRDFBulkRequest gathers all the triples from an BulkAction to be inserted in bulk.
func (*Parser) RDFBulkInsert ¶
RDFBulkInsert inserts all triples from the bulkRequest in one SPARQL update statement
type Request ¶
type Request struct { HubID string `json:"hubId"` OrgID string `json:"orgID"` DatasetID string `json:"dataset"` LocalID string `json:"localID"` NamedGraphURI string `json:"graphUri"` RecordType string `json:"type"` Action string `json:"action"` ContentHash string `json:"contentHash"` Graph string `json:"graph"` GraphMimeType string `json:"graphMimeType"` SubjectType string `json:"subjectType"` Revision int `json:"revision"` }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
type Stats ¶
type Stats struct { OrgID string `json:"orgID"` DatasetID string `json:"datasetID"` Spec string `json:"spec"` SpecRevision uint64 `json:"specRevision"` // version of the records stored TotalReceived uint64 `json:"totalReceived"` // originally json was total_received RecordsStored uint64 `json:"recordsStored"` // originally json was records_stored JSONErrors uint64 `json:"jsonErrors"` TriplesStored uint64 `json:"triplesStored"` PostHooksSubmitted uint64 `json:"postHooksSubmitted"` }
Click to show internal directories.
Click to hide internal directories.