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

    name

    column 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

    name

    name

    autoincrement

    autoincrement 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

    index

    column index

    name

    column 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

    index

    index

    name

    name

    autoincrement

    autoincrement 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

    name

    column name

    type

    data 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

    index

    column index

    name

    column name

    type

    data 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

    name

    column name

    type

    data type

    notNull

    not 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

    index

    column index

    name

    column name

    type

    data type

    notNull

    not 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

    name

    column name

    type

    data type

    notNull

    not null

    defaultValue

    default 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

    index

    column index

    name

    column name

    type

    data type

    notNull

    not null

    defaultValue

    default 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

    name

    column name

    type

    data type

    max

    max 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

    index

    column index

    name

    column name

    type

    data type

    max

    max 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

    name

    column name

    type

    data type

    max

    max value

    notNull

    not null

    defaultValue

    default 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

    index

    column index

    name

    column name

    type

    data type

    max

    max value

    notNull

    not null

    defaultValue

    default 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

    tableColumn

    table column

    Return Value

    attributes column

  • 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

    index

    column index

    name

    column name

    dataType

    data type

    max

    max value

    notNull

    not null

    defaultValue

    default value or nil

    primaryKey

    true if primary key

    autoincrement

    autoincrement flag

    Return Value

    new attributes column