Class FeatureIndexerIdQuery

java.lang.Object
mil.nga.geopackage.db.FeatureIndexerIdQuery

public class FeatureIndexerIdQuery extends Object
Feature Indexer Id query with nested SQL and arguments
Since:
3.4.0
  • Constructor Details

    • FeatureIndexerIdQuery

      public FeatureIndexerIdQuery()
      Constructor
  • Method Details

    • addArgument

      public void addArgument(long id)
      Add an id argument
      Parameters:
      id - id value
    • getCount

      public int getCount()
      Get the number of ids
      Returns:
      count
    • getIds

      public Set<Long> getIds()
      Get the set of ids
      Returns:
      ids
    • hasId

      public boolean hasId(long id)
      Check if the query has the id
      Parameters:
      id - id
      Returns:
      true if has id
    • aboveMaxArguments

      public boolean aboveMaxArguments()
      Check if the total number of query arguments is above the maximum allowed in a single query
      Returns:
      true if above the maximum allowed query arguments
    • aboveMaxArguments

      public boolean aboveMaxArguments(String[] additionalArgs)
      Check if the total number of query arguments is above the maximum allowed in a single query
      Parameters:
      additionalArgs - additional arguments
      Returns:
      true if above the maximum allowed query arguments
    • aboveMaxArguments

      public boolean aboveMaxArguments(int additionalArgs)
      Check if the total number of query arguments is above the maximum allowed in a single query
      Parameters:
      additionalArgs - additional argument count
      Returns:
      true if above the maximum allowed query arguments
    • getSql

      public String getSql()
      Get the SQL statement
      Returns:
      SQL
    • getArgs

      public String[] getArgs()
      Get the arguments
      Returns:
      args