SwiftenumIntelligencePlatformQuery

enum IntelligencePlatformQuery.VirtualTable.Search
enum IntelligencePlatformQuery.VirtualTable.Search {
    class Module {
        let moduleName: Swift.String
        let moduleType: IntelligencePlatformQuery.VirtualTable.TableType
        var tables: [Swift.String : IntelligencePlatformQuery.VirtualTable.Search.Table]
        unowned let ipsqlDb: IntelligencePlatformQuery.SQLConnection

        init(ipsqlDb: IntelligencePlatformQuery.SQLConnection)

        final func createTable(using: Swift.String, databaseName: Swift.String, tableName: Swift.String, args: [Swift.String]) throws -> IntelligencePlatformQuery.VirtualTable.Search.Table
        final func createTableInitial(using: Swift.String, databaseName: Swift.String, tableName: Swift.String, args: [Swift.String]) throws -> IntelligencePlatformQuery.VirtualTable.Search.Table

        deinit
    }
    class Table {
        unowned let module: IntelligencePlatformQuery.VirtualTable.Search.Module
        let name: Swift.String
        let view: any BiomeStreams.IntelligencePlatformView.Type
        var searchableColumns: [BiomeStreams.LibraryArtifact.Column]
        var identifierColumnName: Swift.String
        var searchSchema: BiomeStreams.LibraryArtifact.Table
        var candidatePlans: [[IntelligencePlatformQuery.VirtualTable.Search.SearchPredicate]]

        final var createSQL: Swift.String {
            get
        }

        final func createCursor() throws -> IntelligencePlatformQuery.VirtualTable.Search.Cursor
        final func bestIndex(indexInfo: inout __C.sqlite3_index_info) throws

        deinit
    }
    class Cursor {
        unowned let ipsqlDb: IntelligencePlatformQuery.SQLConnection
        let table: IntelligencePlatformQuery.VirtualTable.Search.Table
        var searchStatement: Swift.OpaquePointer?
        var isDone: Swift.Bool

        final func eof() throws -> Swift.Bool
        final func next() throws
        final func rowId() throws -> Swift.Int64
        final func column(context: Swift.OpaquePointer, index: Swift.Int) throws
        final func filter(idxNum: Swift.Int32, idxStr: Swift.String?, args: [Swift.OpaquePointer]) throws

        deinit
    }
    enum SearchPredicate {
        case rowSearchTerm(argIndex: Swift.Int)
        case columnSearchTerm(columnIndex: Swift.Int, argIndex: Swift.Int)
    }
}