SwiftclassPoirotUDFs

class PoirotUDFs.UDFContext

Members 16

  1. funcstatic makeUDFContext(withSQLiteConnection: OpaquePointer, manifest: PoirotSchematizer.SchemaManifest, config: PoirotUDFs.PayloadSchematizer.Config) throws -> PoirotUDFs.UDFContext
  2. funcstatic makeUDFContext(withSQLiteConnection: OpaquePointer) throws -> PoirotUDFs.UDFContext
  3. funcstatic makeUDFContext() throws -> PoirotUDFs.UDFContext
  4. deinitdeinit
  5. fieldlet inner: Synchronization.Mutex<PoirotUDFs.UDFContext.Inner>
  6. fieldlet ownsConnection: Bool+0x10
  7. fieldlet schematizer: PoirotUDFs.PayloadSchematizer+0x18
  8. funcensureFunctions() throws -> ()
  9. funcgetSchemaStore() throws -> PoirotSchematizer.ProtoSchemaStore
  10. funcregister(schema: PoirotSchematizer.SchemaManifest) throws -> ()
  11. funcregister(streamTables: [String : PoirotUDFs.StreamTableProviding]) throws -> ()
  12. funcschemaStore() throws -> PoirotSchematizer.SchemaStore
  13. funcunregister(withSQLiteConnection: OpaquePointer) throws -> ()
  14. initPoirotUDFs.UDFContext.__allocating_init(databaseConnection: OpaquePointer, ownsConnection: Bool) throws -> PoirotUDFs.UDFContext
  15. initPoirotUDFs.UDFContext.__allocating_init() throws -> PoirotUDFs.UDFContext
  16. varvar database: PoirotSQLite.SQLiteDatabase { get set }
class UDFContext {
    struct Inner {
        var bridge: (any PoirotUDFs.UDFBridge)?
        var functions: [any PoirotUDFs.PoirotUDF]
        var streamProviders: [Swift.String : any PoirotUDFs.StreamTableProviding]
        var tableModule: PoirotUDFs.PStreamTableBase<PoirotUDFs.PStreamTableConfig>?
        var _database: PoirotSQLite.SQLiteDatabase?
        var isTornDown: Swift.Bool
    }
    let ownsConnection: Swift.Bool
    let schematizer: PoirotUDFs.PayloadSchematizer
    let inner: Synchronization.Mutex<PoirotUDFs.UDFContext.Inner>

    var database: PoirotSQLite.SQLiteDatabase {
        get
        set
    }
    class func makeUDFContext(withSQLiteConnection: Swift.OpaquePointer) throws -> PoirotUDFs.UDFContext
    class func makeUDFContext() throws -> PoirotUDFs.UDFContext
    func register(schema: PoirotSchematizer.SchemaManifest) throws
    func register(streamTables: [Swift.String : any PoirotUDFs.StreamTableProviding]) throws
    func unregister(withSQLiteConnection: Swift.OpaquePointer) throws
    init(databaseConnection: Swift.OpaquePointer, ownsConnection: Swift.Bool) throws
    init() throws
    func ensureFunctions() throws
    func getSchemaStore() throws -> PoirotSchematizer.ProtoSchemaStore
    func schemaStore() throws -> PoirotSchematizer.SchemaStore

    static func makeUDFContext(withSQLiteConnection: Swift.OpaquePointer, manifest: PoirotSchematizer.SchemaManifest, config: PoirotUDFs.PayloadSchematizer.Config) throws -> PoirotUDFs.UDFContext

    deinit
}