SwiftprotocolSiriReferenceResolution
protocol SiriReferenceResolution.RREntityStorage
Members 8
- func
clear() throws -> () - func
method descriptor for delete(entityKeys: [SiriReferenceResolutionDataModel.RREntityKey], ignoreError: Bool) throws -> () - func
method descriptor for findAnnotatedEntities(thatMatch: SiriOntology.UsoEntity) throws -> [SiriReferenceResolutionDataModel.RRAnnotatedEntity] - func
method descriptor for getAllEntities() throws -> [SiriReferenceResolutionDataModel.RRAnnotatedEntity] - func
method descriptor for getEntity(entityKey: SiriReferenceResolutionDataModel.RREntityKey) throws -> SiriReferenceResolutionDataModel.RRAnnotatedEntity? - func
method descriptor for query(predicate: NSPredicate) throws -> [SiriReferenceResolutionDataModel.RRAnnotatedEntity] - func
method descriptor for updateSaliency(entityKey: SiriReferenceResolutionDataModel.RREntityKey, saliencyScore: Double, saliencyComputedAt: Foundation.Date) throws -> () - func
method descriptor for upsertEntity(entities: [SiriReferenceResolutionDataModel.RRAnnotatedEntity]) throws -> ()
Header
protocol RREntityStorage { func getEntity(entityKey: SiriReferenceResolutionDataModel.RREntityKey) throws -> SiriReferenceResolutionDataModel.RRAnnotatedEntity? func getAllEntities() throws -> [SiriReferenceResolutionDataModel.RRAnnotatedEntity] func upsertEntity(entities: [SiriReferenceResolutionDataModel.RRAnnotatedEntity]) throws func updateSaliency(entityKey: SiriReferenceResolutionDataModel.RREntityKey, saliencyScore: Swift.Double, saliencyComputedAt: Foundation.Date) throws func query(predicate: __C.NSPredicate) throws -> [SiriReferenceResolutionDataModel.RRAnnotatedEntity] func findAnnotatedEntities(thatMatch: SiriOntology.UsoEntity) throws -> [SiriReferenceResolutionDataModel.RRAnnotatedEntity] func delete(entityKeys: [SiriReferenceResolutionDataModel.RREntityKey], ignoreError: Swift.Bool) throws } extension SiriReferenceResolution.RREntityStorage { func clear() throws }