GPKGTileMatrixDao
Objective-C
@interface GPKGTileMatrixDao : GPKGBaseDao
Swift
class GPKGTileMatrixDao : GPKGBaseDao
Tile Matrix Data Access Object
-
Create the DAO
Declaration
Objective-C
+ (GPKGTileMatrixDao *)createWithDatabase:(GPKGConnection *)database;
Swift
class func create(withDatabase database: GPKGConnection!) -> GPKGTileMatrixDao!
Parameters
database
database connection
Return Value
dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database;
Swift
init!(database: GPKGConnection!)
Parameters
database
database connection
Return Value
new tile matrix dao
-
Get the Contents of the Tile Matrix
Declaration
Objective-C
- (GPKGContents *)contents:(GPKGTileMatrix *)tileMatrix;
Swift
func contents(_ tileMatrix: GPKGTileMatrix!) -> GPKGContents!
Parameters
tileMatrix
tile matrix
Return Value
contents
-
Query tile matrices for a table name
Declaration
Objective-C
- (GPKGResultSet *)queryForTableName:(NSString *)table;
Swift
func query(forTableName table: String!) -> GPKGResultSet!
Parameters
table
table name
Return Value
result set
-
Query tile matrices for a table name
Declaration
Objective-C
- (NSArray<GPKGTileMatrix *> *)tileMatricesForTableName:(NSString *)table;
Swift
func tileMatrices(forTableName table: String!) -> [GPKGTileMatrix]!
Parameters
table
table name
Return Value
tile matrices
-
Delete Tile Matrices for a table name
Declaration
Objective-C
- (int)deleteByTableName:(NSString *)table;
Swift
func delete(byTableName table: String!) -> Int32
Parameters
table
table name
Return Value
rows deleted