Packages

trait GeoMesaMetadata[T] extends Closeable

GeoMesa Metadata/Catalog abstraction using key/value String pairs storing them on a per-typeName basis

Linear Supertypes
Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoMesaMetadata
  2. Closeable
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def backup(typeName: String): Unit

    Create a back up of this metadata

    Create a back up of this metadata

    typeName

    simple feature type name

  2. abstract def close(): Unit
    Definition Classes
    Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  3. abstract def delete(typeName: String): Unit

    Deletes all values associated with a given feature type

    Deletes all values associated with a given feature type

    typeName

    simple feature type name

  4. abstract def getFeatureTypes: Array[String]

    Returns existing simple feature types

    Returns existing simple feature types

    returns

    simple feature type names

  5. abstract def insert(typeName: String, kvPairs: Map[String, T]): Unit

    Insert multiple values at once - may be more efficient than single inserts

    Insert multiple values at once - may be more efficient than single inserts

    typeName

    simple feature type name

    kvPairs

    key/values

  6. abstract def insert(typeName: String, key: String, value: T): Unit

    Insert a value - any existing value under the given key will be overwritten

    Insert a value - any existing value under the given key will be overwritten

    typeName

    simple feature type name

    key

    key

    value

    value

  7. abstract def invalidateCache(typeName: String, key: String): Unit

    Invalidates any cached value for the given key

    Invalidates any cached value for the given key

    typeName

    simple feature type name

    key

    key

  8. abstract def read(typeName: String, key: String, cache: Boolean = true): Option[T]

    Reads a value

    Reads a value

    typeName

    simple feature type name

    key

    key

    cache

    may return a cached value if true, otherwise may use a slower lookup

    returns

    value, if present

  9. abstract def remove(typeName: String, keys: Seq[String]): Unit

    Delete multiple keys at once - may be more efficient than single deletes

    Delete multiple keys at once - may be more efficient than single deletes

    typeName

    simple feature type name

    keys

    keys

  10. abstract def remove(typeName: String, key: String): Unit

    Delete a key

    Delete a key

    typeName

    simple feature type name

    key

    key

  11. abstract def resetCache(): Unit

    table cache should be cleared up when catalog is deleted in database

  12. abstract def scan(typeName: String, prefix: String, cache: Boolean = true): Seq[(String, T)]

    Scan for keys starting with a given prefix

    Scan for keys starting with a given prefix

    typeName

    simple feature type name

    prefix

    key prefix

    cache

    may return a cached value if true, otherwise may use a slower lookup

    returns

    keys -> values

Concrete Value Members

  1. def readRequired(typeName: String, key: String): T

    Reads a value.

    Reads a value. Throws an exception if value is missing

    typeName

    simple feature type name

    key

    key

    returns

    value