GPKGFeatureColumn
Objective-C
@interface GPKGFeatureColumn : GPKGUserColumn
Swift
class GPKGFeatureColumn : GPKGUserColumn
Feature column
-
Geometry type if a geometry column
Declaration
Objective-C
@property (nonatomic) enum SFGeometryType geometryType;Swift
var geometryType: SFGeometryType { get set } -
Create a new primary key column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createPrimaryKeyColumnWithName:(NSString *)name;Swift
class func createPrimaryKeyColumn(withName name: String!) -> GPKGFeatureColumn!Parameters
namecolumn name
Return Value
feature column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createPrimaryKeyColumnWithName:(NSString *)name andAutoincrement:(BOOL)autoincrement;Swift
class func createPrimaryKeyColumn(withName name: String!, andAutoincrement autoincrement: Bool) -> GPKGFeatureColumn!Parameters
namename
autoincrementautoincrement flag
Return Value
feature column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createPrimaryKeyColumnWithIndex:(int)index andName:(NSString *)name;Swift
class func createPrimaryKeyColumn(with index: Int32, andName name: String!) -> GPKGFeatureColumn!Parameters
indexcolumn index
namecolumn name
Return Value
feature column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createPrimaryKeyColumnWithIndex:(int)index andName:(NSString *)name andAutoincrement:(BOOL)autoincrement;Swift
class func createPrimaryKeyColumn(with index: Int32, andName name: String!, andAutoincrement autoincrement: Bool) -> GPKGFeatureColumn!Parameters
indexindex
namename
autoincrementautoincrement flag
Return Value
feature column
-
Create a new geometry column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createGeometryColumnWithName:(NSString *)name andGeometryType:(enum SFGeometryType)type;Swift
class func createGeometryColumn(withName name: String!, andGeometryType type: SFGeometryType) -> GPKGFeatureColumn!Parameters
namecolumn name
typegeometry type
Return Value
feature column
-
Create a new geometry column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createGeometryColumnWithIndex:(int)index andName:(NSString *)name andGeometryType:(enum SFGeometryType)type;Swift
class func createGeometryColumn(with index: Int32, andName name: String!, andGeometryType type: SFGeometryType) -> GPKGFeatureColumn!Parameters
indexcolumn index
namecolumn name
typegeometry type
Return Value
feature column
-
Create a new geometry column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createGeometryColumnWithName:(NSString *)name andGeometryType:(enum SFGeometryType)type andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;Swift
class func createGeometryColumn(withName name: String!, andGeometryType type: SFGeometryType, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGFeatureColumn!Parameters
namecolumn name
typegeometry type
notNullnot null
defaultValuedefault value or nil
Return Value
feature column
-
Create a new geometry column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createGeometryColumnWithIndex:(int)index andName:(NSString *)name andGeometryType:(enum SFGeometryType)type andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;Swift
class func createGeometryColumn(with index: Int32, andName name: String!, andGeometryType type: SFGeometryType, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGFeatureColumn!Parameters
indexcolumn index
namecolumn name
typegeometry type
notNullnot null
defaultValuedefault value or nil
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type;Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType) -> GPKGFeatureColumn!Parameters
namecolumn name
typedata type
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type;Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType) -> GPKGFeatureColumn!Parameters
indexcolumn index
namecolumn name
typedata type
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull;Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool) -> GPKGFeatureColumn!Parameters
namecolumn name
typedata type
notNullnot null
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)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) -> GPKGFeatureColumn!Parameters
indexcolumn index
namecolumn name
typedata type
notNullnot null
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)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!) -> GPKGFeatureColumn!Parameters
namecolumn name
typedata type
notNullnot null
defaultValuedefault value or nil
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)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!) -> GPKGFeatureColumn!Parameters
indexcolumn index
namecolumn name
typedata type
notNullnot null
defaultValuedefault value or nil
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max;Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!) -> GPKGFeatureColumn!Parameters
namecolumn name
typedata type
maxmax value
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)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!) -> GPKGFeatureColumn!Parameters
indexcolumn index
namecolumn name
typedata type
maxmax value
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)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!) -> GPKGFeatureColumn!Parameters
namecolumn name
typedata type
maxmax value
notNullnot null
defaultValuedefault value or nil
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)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!) -> GPKGFeatureColumn!Parameters
indexcolumn index
namecolumn name
typedata type
maxmax value
notNullnot null
defaultValuedefault value or nil
Return Value
feature column
-
Create a new column
Declaration
Objective-C
+ (GPKGFeatureColumn *)createColumnWithTableColumn: (GPKGTableColumn *)tableColumn;Swift
class func createColumn(with tableColumn: GPKGTableColumn!) -> GPKGFeatureColumn!Parameters
tableColumntable column
Return Value
feature column
-
-initWithIndex:andName: andDataType: andMax: andNotNull: andDefaultValue: andPrimaryKey: andAutoincrement: andGeometryType: 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 andGeometryType:(enum SFGeometryType)geometryType;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, andGeometryType geometryType: SFGeometryType)Parameters
indexcolumn index
namecolumn name
dataTypedata type
maxmax value
notNullnot null
defaultValuedefault value or nil
primaryKeytrue if primary key
autoincrementautoincrement flag
geometryTypegeometry type
Return Value
new feature column
-
Determine if this column is a geometry
Declaration
Objective-C
- (BOOL)isGeometry;Swift
func isGeometry() -> BoolReturn Value
true if a geometry column
View on GitHub
GPKGFeatureColumn Class Reference