Package

org.locationtech.geomesa

kafka

Permalink

package kafka

Visibility
  1. Public
  2. All

Type Members

  1. case class Clear(timestamp: Instant) extends GeoMessage with Product with Serializable

    Permalink

    Delete all org.opengis.feature.simple.SimpleFeatures

  2. case class CreateOrUpdate(timestamp: Instant, feature: SimpleFeature) extends GeoMessage with Product with Serializable

    Permalink

    Create a new simple feature or update an existing SimpleFeature

    Create a new simple feature or update an existing SimpleFeature

    feature

    the SimpleFeature

  3. case class Delete(timestamp: Instant, id: String) extends GeoMessage with Product with Serializable

    Permalink

    Delete an existing SimpleFeature

    Delete an existing SimpleFeature

    id

    the id of the simple feature

  4. case class FeatureHolder(sf: SimpleFeature, env: Envelope) extends Product with Serializable

    Permalink
  5. sealed trait GeoMessage extends AnyRef

    Permalink
  6. class GeoMessageDecoder extends LazyLogging

    Permalink

    Decodes an encoded GeoMessage.

  7. class GeoMessageEncoder extends AnyRef

    Permalink

    Encodes GeoMessages.

  8. trait KafkaConsumerFeatureCache extends SpatialIndexSupport

    Permalink
  9. class KafkaFeatureEvent extends FeatureEvent

    Permalink
  10. trait LiveFeatureCache extends Closeable

    Permalink
  11. class LiveFeatureCacheCQEngine extends LiveFeatureCache with LazyLogging

    Permalink
  12. class LiveFeatureCacheGuava extends KafkaConsumerFeatureCache with LiveFeatureCache with LazyLogging

    Permalink

  13. case class ReplayConfig(start: Instant, end: Instant, readBehind: Duration) extends Product with Serializable

    Permalink

    Configuration for replaying a Kafka DataStore.

    Configuration for replaying a Kafka DataStore.

    start

    the instant at which to start the replay

    end

    the instant at which to end the replay; must be >= start

    readBehind

    the additional time to pre-read

  14. case class ReplaySnapshotFeatureCache(sft: SimpleFeatureType, replayTime: Long, events: Seq[GeoMessage]) extends KafkaConsumerFeatureCache with Product with Serializable

    Permalink

    Represents the state at a specific point in time.

    Represents the state at a specific point in time.

    sft

    the SFT

    events

    must be ordered, with the most recent first; must consist of only CreateOrUpdate and Delete messages

  15. class ReplayTimeHelper extends AnyRef

    Permalink

  16. case class TimestampFilterSplit(ts: Option[Long], filter: Option[Filter]) extends Product with Serializable

    Permalink

    Splits a Filter into the requested Kafka Message Timestamp and the remaining filters

Value Members

  1. object GeoMessage

    Permalink
  2. object GeoMessageEncoder

    Permalink

    Encodes GeoMessages.

    Encodes GeoMessages. Clear and Delete messages are handled directly. See class GeoMessageEncoder for encoding CreateOrUpdate messages.

    The following encoding is used:

    Key: version (1 byte) type (1 byte) timestamp (8 bytes)

    The current version is 1 The type is 'C' for create or update, 'D' for delete and 'X' for clear

    Value CreateOrUpdate: serialized simple feature Delete: simple feature ID as UTF-8 bytes Clear: empty

  3. object KafkaDataStoreHelper

    Permalink

    Utilities for managing the user data in SimpleFeatureTypes as required by KafkaDataStore

  4. object KafkaFeatureEvent extends Serializable

    Permalink
  5. object ReplayConfig extends LazyLogging with Serializable

    Permalink
  6. object ReplayTimeHelper

    Permalink
  7. object TimestampFilterSplit extends Serializable

    Permalink

Ungrouped