Class/Object

org.locationtech.geomesa.lambda.stream.kafka

KafkaFeatureCache

Related Docs: object KafkaFeatureCache | package kafka

Permalink

class KafkaFeatureCache extends WritableFeatureCache with ReadableFeatureCache with ExpiringFeatureCache with OffsetListener with LazyLogging

Locally cached features

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. KafkaFeatureCache
  2. LazyLogging
  3. OffsetListener
  4. ExpiringFeatureCache
  5. ReadableFeatureCache
  6. WritableFeatureCache
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KafkaFeatureCache(topic: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(feature: SimpleFeature, partition: Int, offset: Long, created: Long): Unit

    Permalink

    Add a feature to the cached state

    Add a feature to the cached state

    feature

    feature

    partition

    partition corresponding to the add message

    offset

    offset corresponding to the add message

    created

    time feature was created

    Definition Classes
    KafkaFeatureCacheWritableFeatureCache
  5. def all(): Iterator[SimpleFeature]

    Permalink

    Returns most recent versions of all features currently in this cache

    Returns most recent versions of all features currently in this cache

    Definition Classes
    KafkaFeatureCacheReadableFeatureCache
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def delete(feature: SimpleFeature, partition: Int, offset: Long, created: Long): Unit

    Permalink

    Deletes a feature from the cached state

    Deletes a feature from the cached state

    feature

    feature

    partition

    partition corresponding to the delete message

    offset

    offset corresponding to the delete message

    created

    time feature was deleted

    Definition Classes
    KafkaFeatureCacheWritableFeatureCache
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def expired(partition: Int, expiry: Long): (Long, Seq[(Long, SimpleFeature)])

    Permalink

    Remove and return any expired features

    Remove and return any expired features

    partition

    partition

    expiry

    expiry

    returns

    (maxExpiredOffset, (offset, expired feature)), ordered by offset

    Definition Classes
    KafkaFeatureCacheExpiringFeatureCache
  12. def expired(expiry: Long): Seq[Int]

    Permalink

    Checks for any expired features

    Checks for any expired features

    expiry

    expiry

    returns

    partitions which may contain expired features, if any

    Definition Classes
    KafkaFeatureCacheExpiringFeatureCache
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get(id: String): SimpleFeature

    Permalink

    Returns the most recent version of a feature in this cache, by feature ID

    Returns the most recent version of a feature in this cache, by feature ID

    id

    feature id

    Definition Classes
    KafkaFeatureCacheReadableFeatureCache
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def offsetChanged(partition: Int, offset: Long): Unit

    Permalink
    Definition Classes
    KafkaFeatureCacheOffsetListener
  23. def partitionAssigned(partition: Int, offset: Long): Unit

    Permalink

    Initialize this cached state for a given partition and offset

    Initialize this cached state for a given partition and offset

    partition

    partition

    offset

    offset

    Definition Classes
    KafkaFeatureCacheWritableFeatureCache
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from OffsetListener

Inherited from ExpiringFeatureCache

Inherited from ReadableFeatureCache

Inherited from WritableFeatureCache

Inherited from AnyRef

Inherited from Any

Ungrouped