Class

org.locationtech.geomesa.kafka.index

FeatureCacheCqEngine

Related Doc: package index

Permalink

class FeatureCacheCqEngine extends AbstractKafkaFeatureCache[SimpleFeature] with LazyLogging

Linear Supertypes
AbstractKafkaFeatureCache[SimpleFeature], LazyLogging, KafkaFeatureCache, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FeatureCacheCqEngine
  2. AbstractKafkaFeatureCache
  3. LazyLogging
  4. KafkaFeatureCache
  5. Closeable
  6. AutoCloseable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FeatureCacheCqEngine(sft: SimpleFeatureType, expiry: Duration, cleanup: Duration = Duration.Inf, consistency: Duration = Duration.Inf)(implicit ticker: Ticker)

    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 addToIndex(value: SimpleFeature): Unit

    Permalink

    Add a feature to any indices

    Add a feature to any indices

    value

    value to add

    Attributes
    protected
    Definition Classes
    FeatureCacheCqEngineAbstractKafkaFeatureCache
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val cache: Cache[String, SimpleFeature]

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractKafkaFeatureCache
  7. def cleanUp(): Unit

    Permalink
  8. def clear(): Unit

    Permalink
  9. def clearIndex(): Unit

    Permalink

    Clear all features from any indices

    Clear all features from any indices

    Attributes
    protected
    Definition Classes
    FeatureCacheCqEngineAbstractKafkaFeatureCache
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def close(): Unit

    Permalink
    Definition Classes
    AbstractKafkaFeatureCache → Closeable → AutoCloseable
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def inconsistencies(): Set[SimpleFeature]

    Permalink

    Check for inconsistencies between the main cache and the spatial index

    Check for inconsistencies between the main cache and the spatial index

    returns

    any inconsistent features (i.e. in one but not both indices)

    Attributes
    protected
    Definition Classes
    FeatureCacheCqEngineAbstractKafkaFeatureCache
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. lazy val logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def put(feature: SimpleFeature): Unit

    Permalink

    WARNING: this method is not thread-safe

    WARNING: this method is not thread-safe

    TODO: https://geomesa.atlassian.net/browse/GEOMESA-1409

    Definition Classes
    AbstractKafkaFeatureCacheKafkaFeatureCache
  24. def query(filter: Filter): Iterator[SimpleFeature]

    Permalink
  25. def query(id: String): Option[SimpleFeature]

    Permalink
  26. def remove(id: String): Unit

    Permalink

    WARNING: this method is not thread-safe

    WARNING: this method is not thread-safe

    TODO: https://geomesa.atlassian.net/browse/GEOMESA-1409

    Definition Classes
    AbstractKafkaFeatureCacheKafkaFeatureCache
  27. def removeFromIndex(value: SimpleFeature): Unit

    Permalink

    Remove a feature from any indices

    Remove a feature from any indices

    value

    value to remove

    Attributes
    protected
    Definition Classes
    FeatureCacheCqEngineAbstractKafkaFeatureCache
  28. def size(f: Filter): Int

    Permalink
  29. def size(): Int

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def wrap(value: SimpleFeature): SimpleFeature

    Permalink

    Create the cache value from a simple feature

    Create the cache value from a simple feature

    Attributes
    protected
    Definition Classes
    FeatureCacheCqEngineAbstractKafkaFeatureCache

Inherited from AbstractKafkaFeatureCache[SimpleFeature]

Inherited from LazyLogging

Inherited from KafkaFeatureCache

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped