Packages

class EmptyIndex extends GeoMesaFeatureIndex[String, String]

Placeholder index for scans that won't return any results (i.e. Filter.EXCLUDE)

Linear Supertypes
GeoMesaFeatureIndex[String, String], LazyLogging, NamedIndex, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmptyIndex
  2. GeoMesaFeatureIndex
  3. LazyLogging
  4. NamedIndex
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EmptyIndex(ds: GeoMesaDataStore[_], sft: SimpleFeatureType)

    ds

    data store

    sft

    simple feature type stored in this index

Value Members

  1. val attributes: Seq[String]
    Definition Classes
    GeoMesaFeatureIndex
  2. def configureTableName(partition: Option[String] = None, limit: Option[Int] = None): String

    Create the metadata entry for the initial index table or a new partition

    Create the metadata entry for the initial index table or a new partition

    partition

    partition

    returns

    table name

    Definition Classes
    GeoMesaFeatureIndex
  3. def createConverter(): WriteConverter[String]

    Creates a function to generate row keys from features

    Creates a function to generate row keys from features

    Definition Classes
    GeoMesaFeatureIndex
  4. def deleteTableNames(partition: Option[String] = None): Seq[String]

    Deletes the entire index

    Deletes the entire index

    partition

    only delete a single partition, instead of the whole index

    Definition Classes
    GeoMesaFeatureIndex
  5. val ds: GeoMesaDataStore[_]
    Definition Classes
    GeoMesaFeatureIndex
  6. def equals(other: Any): Boolean
    Definition Classes
    GeoMesaFeatureIndex → AnyRef → Any
  7. def getFilterStrategy(filter: Filter, transform: Option[SimpleFeatureType]): Option[FilterStrategy]

    Gets options for a 'simple' filter, where each OR is on a single attribute, e.g.

    Gets options for a 'simple' filter, where each OR is on a single attribute, e.g. (bbox1 OR bbox2) AND dtg bbox AND dtg AND (attr = foo OR attr = bar) not: bbox OR dtg

    Because the input is simple, it can be satisfied with a single query filter.

    filter

    input filter

    transform

    attribute transforms

    returns

    a filter strategy which can satisfy the query, if available

    Definition Classes
    EmptyIndexGeoMesaFeatureIndex
  8. def getIdFromRow(row: Array[Byte], offset: Int, length: Int, feature: SimpleFeature): String

    Retrieve an ID from a row.

    Retrieve an ID from a row. All indices are assumed to encode the feature ID into the row key.

    The simple feature in the returned function signature is optional (null ok) - if provided the parsed UUID will be cached in the feature user data, if the sft is marked as using UUIDs

    row

    row bytes

    offset

    offset into the row bytes to the first valid byte for this row

    length

    number of valid bytes for this row

    feature

    simple feature (optional)

    Definition Classes
    GeoMesaFeatureIndex
  9. def getIdOffset(row: Array[Byte], offset: Int, length: Int): Int

    Gets the offset (start) of the feature id from a row.

    Gets the offset (start) of the feature id from a row. All indices are assumed to encode the feature ID into the row key.

    row

    row bytes

    offset

    offset into the row bytes to the first valid byte for this row

    length

    number of valid bytes for this row

    Definition Classes
    GeoMesaFeatureIndex
  10. def getPartitions: Seq[String]

    Gets the partitions for this index, assuming that the schema is partitioned

    Gets the partitions for this index, assuming that the schema is partitioned

    Definition Classes
    GeoMesaFeatureIndex
  11. def getQueryStrategy(filter: FilterStrategy, hints: Hints, explain: Explainer = ExplainNull): QueryStrategy

    Plans the query

    Plans the query

    filter

    filter strategy

    hints

    query hints

    explain

    explainer

    Definition Classes
    GeoMesaFeatureIndex
  12. def getSplits(partition: Option[String] = None): Seq[Array[Byte]]

    Gets the initial splits for a table

    Gets the initial splits for a table

    partition

    partition, if any

    Definition Classes
    GeoMesaFeatureIndex
  13. def getTableName(partition: Option[String] = None): String

    Gets the single table name for this index.

    Gets the single table name for this index. If this is a partitioned index, then the partition argument must be defined. A runtime exception will be thrown if multiple or zero tables are found.

    partition

    get the name for a particular partition, if the index is partitioned

    Definition Classes
    GeoMesaFeatureIndex
  14. def getTableNames(partition: Option[String] = None): Seq[String]

    Gets table names for this index

    Gets table names for this index

    partition

    get the name for a particular partition, or all partitions

    Definition Classes
    GeoMesaFeatureIndex
  15. def getTablesForQuery(filter: Option[Filter]): Seq[String]

    Gets the tables that should be scanned to satisfy a query

    Gets the tables that should be scanned to satisfy a query

    filter

    filter

    Definition Classes
    GeoMesaFeatureIndex
  16. def hashCode(): Int
    Definition Classes
    GeoMesaFeatureIndex → AnyRef → Any
  17. val identifier: String

    Unique (for the given sft) identifier string for this index.

    Unique (for the given sft) identifier string for this index.

    Can be parsed with IndexId.parse, although note that it does not include the read/write mode

    Definition Classes
    GeoMesaFeatureIndex
  18. val keySpace: IndexKeySpace[String, String]

    Primary key space used by this index

    Primary key space used by this index

    Definition Classes
    EmptyIndexGeoMesaFeatureIndex
  19. val mode: IndexMode
    Definition Classes
    GeoMesaFeatureIndex
  20. val name: String

    The name used to identify the index

    The name used to identify the index

    Definition Classes
    GeoMesaFeatureIndexNamedIndex
  21. val serializedWithId: Boolean

    Is the feature id serialized with the feature? Needed for back-compatibility with old data formats

    Is the feature id serialized with the feature? Needed for back-compatibility with old data formats

    Definition Classes
    GeoMesaFeatureIndex
  22. val sft: SimpleFeatureType
    Definition Classes
    GeoMesaFeatureIndex
  23. def tableNameKey(partition: Option[String] = None): String

    The metadata key used to store the table name for this index

    The metadata key used to store the table name for this index

    partition

    partition

    Definition Classes
    GeoMesaFeatureIndex
  24. def tieredKeySpace: Option[IndexKeySpace[_, _]]

    Tiered key space beyond the primary one, if any

    Tiered key space beyond the primary one, if any

    Definition Classes
    EmptyIndexGeoMesaFeatureIndex
  25. def toString(): String
    Definition Classes
    GeoMesaFeatureIndex → AnyRef → Any
  26. val version: Int

    Current version of the index

    Current version of the index

    Definition Classes
    GeoMesaFeatureIndexNamedIndex