trait GeoMesaMetadata[T] extends Closeable
GeoMesa Metadata/Catalog abstraction using key/value String pairs storing them on a per-typeName basis
- Alphabetic
- By Inheritance
- GeoMesaMetadata
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
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
-
abstract
def
close(): Unit
- Definition Classes
- Closeable → AutoCloseable
- Annotations
- @throws( classOf[java.io.IOException] )
-
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
-
abstract
def
getFeatureTypes: Array[String]
Returns existing simple feature types
Returns existing simple feature types
- returns
simple feature type names
-
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
-
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
-
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
-
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
-
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
-
abstract
def
remove(typeName: String, key: String): Unit
Delete a key
Delete a key
- typeName
simple feature type name
- key
key
-
abstract
def
resetCache(): Unit
table cache should be cleared up when catalog is deleted in database
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated