GPKGAttributesColumn
Objective-C
@interface GPKGAttributesColumn : GPKGUserColumn
Swift
class GPKGAttributesColumn : GPKGUserColumn
Attributes column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createPrimaryKeyColumnWithName:(NSString *)name;Swift
class func createPrimaryKeyColumn(withName name: String!) -> GPKGAttributesColumn!Parameters
namecolumn name
Return Value
attributes column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createPrimaryKeyColumnWithName:(NSString *)name andAutoincrement:(BOOL)autoincrement;Swift
class func createPrimaryKeyColumn(withName name: String!, andAutoincrement autoincrement: Bool) -> GPKGAttributesColumn!Parameters
namename
autoincrementautoincrement flag
Return Value
attributes column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createPrimaryKeyColumnWithIndex:(int)index andName:(NSString *)name;Swift
class func createPrimaryKeyColumn(with index: Int32, andName name: String!) -> GPKGAttributesColumn!Parameters
indexcolumn index
namecolumn name
Return Value
attributes column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createPrimaryKeyColumnWithIndex:(int)index andName:(NSString *)name andAutoincrement:(BOOL)autoincrement;Swift
class func createPrimaryKeyColumn(with index: Int32, andName name: String!, andAutoincrement autoincrement: Bool) -> GPKGAttributesColumn!Parameters
indexindex
namename
autoincrementautoincrement flag
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type;Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType) -> GPKGAttributesColumn!Parameters
namecolumn name
typedata type
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type;Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType) -> GPKGAttributesColumn!Parameters
indexcolumn index
namecolumn name
typedata type
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull;Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool) -> GPKGAttributesColumn!Parameters
namecolumn name
typedata type
notNullnot null
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull;Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool) -> GPKGAttributesColumn!Parameters
indexcolumn index
namecolumn name
typedata type
notNullnot null
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGAttributesColumn!Parameters
namecolumn name
typedata type
notNullnot null
defaultValuedefault value or nil
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGAttributesColumn!Parameters
indexcolumn index
namecolumn name
typedata type
notNullnot null
defaultValuedefault value or nil
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max;Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!) -> GPKGAttributesColumn!Parameters
namecolumn name
typedata type
maxmax value
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max;Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!) -> GPKGAttributesColumn!Parameters
indexcolumn index
namecolumn name
typedata type
maxmax value
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGAttributesColumn!Parameters
namecolumn name
typedata type
maxmax value
notNullnot null
defaultValuedefault value or nil
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGAttributesColumn!Parameters
indexcolumn index
namecolumn name
typedata type
maxmax value
notNullnot null
defaultValuedefault value or nil
Return Value
attributes column
-
Create a new column
Declaration
Objective-C
+ (GPKGAttributesColumn *)createColumnWithTableColumn: (GPKGTableColumn *)tableColumn;Swift
class func createColumn(with tableColumn: GPKGTableColumn!) -> GPKGAttributesColumn!Parameters
tableColumntable column
Return Value
attributes column
-
-initWithIndex:andName: andDataType: andMax: andNotNull: andDefaultValue: andPrimaryKey: andAutoincrement: Initialize
Declaration
Objective-C
- (instancetype)initWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)dataType andMax:(NSNumber *)max andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue andPrimaryKey:(BOOL)primaryKey andAutoincrement:(BOOL)autoincrement;Swift
init!(index: Int32, andName name: String!, andDataType dataType: GPKGDataType, andMax max: NSNumber!, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!, andPrimaryKey primaryKey: Bool, andAutoincrement autoincrement: Bool)Parameters
indexcolumn index
namecolumn name
dataTypedata type
maxmax value
notNullnot null
defaultValuedefault value or nil
primaryKeytrue if primary key
autoincrementautoincrement flag
Return Value
new attributes column
View on GitHub
GPKGAttributesColumn Class Reference