GPKGFeatureIndexerIdQuery

Objective-C

@interface GPKGFeatureIndexerIdQuery : NSObject

Swift

class GPKGFeatureIndexerIdQuery : NSObject

Feature Indexer Id query with nested SQL and arguments

  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()
  • Add an id argument

    Declaration

    Objective-C

    - (void)addArgument:(NSNumber *)id;

    Swift

    func addArgument(_ id: NSNumber!)

    Parameters

    id

    id value

  • Add an id argument

    Declaration

    Objective-C

    - (void)addArgumentInt:(int)id;

    Swift

    func addArgumentInt(_ id: Int32)

    Parameters

    id

    id value

  • Get the number of ids

    Declaration

    Objective-C

    - (int)count;

    Swift

    func count() -> Int32

    Return Value

    count

  • Get the set of ids

    Declaration

    Objective-C

    - (NSSet<NSNumber *> *)ids;

    Swift

    func ids() -> Set<NSNumber>!

    Return Value

    ids

  • Check if the query has the id

    Declaration

    Objective-C

    - (BOOL)hasId:(NSNumber *)id;

    Swift

    func hasId(_ id: NSNumber!) -> Bool

    Parameters

    id

    id

    Return Value

    true if has id

  • Check if the query has the id

    Declaration

    Objective-C

    - (BOOL)hasIdInt:(int)id;

    Swift

    func hasIdInt(_ id: Int32) -> Bool

    Parameters

    id

    id

    Return Value

    true if has id

  • Check if the total number of query arguments is above the maximum allowed in a single query

    Declaration

    Objective-C

    - (BOOL)aboveMaxArguments;

    Swift

    func aboveMaxArguments() -> Bool

    Return Value

    true if above the maximum allowed query arguments

  • Check if the total number of query arguments is above the maximum allowed in a single query

    Declaration

    Objective-C

    - (BOOL)aboveMaxArgumentsWithAdditionalArgs:(NSArray *)additionalArgs;

    Swift

    func aboveMaxArguments(withAdditionalArgs additionalArgs: [Any]!) -> Bool

    Parameters

    additionalArgs

    additional arguments

    Return Value

    true if above the maximum allowed query arguments

  • Check if the total number of query arguments is above the maximum allowed in a single query

    Declaration

    Objective-C

    - (BOOL)aboveMaxArgumentsWithAdditionalArgsCount:(int)additionalArgs;

    Swift

    func aboveMaxArguments(withAdditionalArgsCount additionalArgs: Int32) -> Bool

    Parameters

    additionalArgs

    additional argument count

    Return Value

    true if above the maximum allowed query arguments

  • Get the SQL statement

    Declaration

    Objective-C

    - (NSString *)sql;

    Swift

    func sql() -> String!

    Return Value

    SQL

  • Get the arguments

    Declaration

    Objective-C

    - (NSArray *)args;

    Swift

    func args() -> [Any]!

    Return Value

    args