SwiftstructJetEngine

struct JetEngine.AssetPushSubscriptionSQLiteStore

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 26

  1. funcstatic isTableSetUp(JetEngine.SQLiteConnection) throws -> Bool
  2. funcstatic setupTable(JetEngine.SQLiteConnection) throws -> ()
  3. fieldlet database: JetEngine.AssetSQLiteDatabase+0x0
  4. fieldlet dateProvider: JetEngine.DateProvider+0x8
  5. funcchannels(for: String) throws -> [String]
  6. funccreate(record: JetEngine.AssetPushSubscriptionRecord) throws -> JetEngine.AssetPushSubscriptionRecord
  7. funcdelete(id: Int32) throws -> ()
  8. funcfind(channelIDs: [String]) throws -> [JetEngine.AssetPushSubscriptionRecord]
  9. funcfind(identifiers: [(assetURLString: String, usageID: String)]) throws -> [JetEngine.AssetPushSubscriptionRecord]
  10. funcfind(id: Int32) throws -> JetEngine.AssetPushSubscriptionRecord?
  11. funcfind(bundleID: String, usageID: String) throws -> JetEngine.AssetPushSubscriptionRecord?
  12. funcfind(matching: JetEngine.AssetPushSubscriptionRecord) throws -> JetEngine.AssetPushSubscriptionRecord?
  13. funcfind(channelID: String) throws -> [JetEngine.AssetPushSubscriptionRecord]
  14. funcfindAll() throws -> [JetEngine.AssetPushSubscriptionRecord]
  15. funcfindAllPending() throws -> [JetEngine.AssetPushSubscriptionRecord]
  16. funcfindAllPendingToReattempt() throws -> [JetEngine.AssetPushSubscriptionRecord]
  17. funcfindNextSchedule(maxDownloadAttempts: Int32) throws -> JetEngine.AssetNextSchedule?
  18. funcfindOverduePendingSubscriptionsToRefresh(maxDownloadAttempts: Int32) throws -> [JetEngine.AssetPushSubscriptionRecord]
  19. funcfindPendingSubscriptionsToRefresh() throws -> [JetEngine.AssetPushSubscriptionRecord]
  20. funcincrementDownloadCounter(id: Int32) throws -> ()
  21. funcrescheduleForPush304Retry(id: Int32, scheduleAfter: Double, scheduleBefore: Double) throws -> ()
  22. funcresetPending(id: Int32) throws -> ()
  23. funcresetPending(channelID: String) throws -> ()
  24. funcupdateRequestHeaders(id: Int32, headers: [String : String]?) throws -> ()
  25. funcupdateToPending(channelID: String, scheduleAfter: Double, scheduleBefore: Double, priority: Int, timestamp: Foundation.Date, origin: JetEngine.AssetPendingOrigin) throws -> Int
  26. initinit(database: JetEngine.AssetSQLiteDatabase) -> JetEngine.AssetPushSubscriptionSQLiteStore
struct AssetPushSubscriptionSQLiteStore {
    let database: JetEngine.AssetSQLiteDatabase
    let dateProvider: any JetEngine.DateProvider

    init(database: JetEngine.AssetSQLiteDatabase)

    func resetPending(id: Swift.Int32) throws
    func resetPending(channelID: Swift.String) throws
    func findAllPending() throws -> [JetEngine.AssetPushSubscriptionRecord]
    func updateToPending(channelID: Swift.String, scheduleAfter: Swift.Double, scheduleBefore: Swift.Double, priority: Swift.Int, timestamp: Foundation.Date, origin: JetEngine.AssetPendingOrigin) throws -> Swift.Int
    func findNextSchedule(maxDownloadAttempts: Swift.Int32) throws -> JetEngine.AssetNextSchedule?
    func updateRequestHeaders(id: Swift.Int32, headers: [Swift.String : Swift.String]?) throws
    func incrementDownloadCounter(id: Swift.Int32) throws
    func findAllPendingToReattempt() throws -> [JetEngine.AssetPushSubscriptionRecord]
    func rescheduleForPush304Retry(id: Swift.Int32, scheduleAfter: Swift.Double, scheduleBefore: Swift.Double) throws
    func findPendingSubscriptionsToRefresh() throws -> [JetEngine.AssetPushSubscriptionRecord]
    func findOverduePendingSubscriptionsToRefresh(maxDownloadAttempts: Swift.Int32) throws -> [JetEngine.AssetPushSubscriptionRecord]
    func find(channelIDs: [Swift.String]) throws -> [JetEngine.AssetPushSubscriptionRecord]
    func find(identifiers: [(assetURLString: Swift.String, usageID: Swift.String)]) throws -> [JetEngine.AssetPushSubscriptionRecord]
    func find(id: Swift.Int32) throws -> JetEngine.AssetPushSubscriptionRecord?
    func find(bundleID: Swift.String, usageID: Swift.String) throws -> JetEngine.AssetPushSubscriptionRecord?
    func find(matching: JetEngine.AssetPushSubscriptionRecord) throws -> JetEngine.AssetPushSubscriptionRecord?
    func find(channelID: Swift.String) throws -> [JetEngine.AssetPushSubscriptionRecord]
    func create(record: JetEngine.AssetPushSubscriptionRecord) throws -> JetEngine.AssetPushSubscriptionRecord
    func delete(id: Swift.Int32) throws
    func findAll() throws -> [JetEngine.AssetPushSubscriptionRecord]
    func channels(for: Swift.String) throws -> [Swift.String]

    static func setupTable(_: JetEngine.SQLiteConnection) throws
    static func isTableSetUp(_: JetEngine.SQLiteConnection) throws -> Swift.Bool
}