Class/Object

org.locationtech.geomesa.kafka.index

FeatureCacheGuava

Related Docs: object FeatureCacheGuava | package index

Permalink

class FeatureCacheGuava extends AbstractKafkaFeatureCache[FeatureHolder] with SpatialIndexSupport with LazyLogging

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

Instance Constructors

  1. new FeatureCacheGuava(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: FeatureHolder): Unit

    Permalink

    Add a feature to any indices

    Add a feature to any indices

    value

    value to add

    Attributes
    protected
    Definition Classes
    FeatureCacheGuavaAbstractKafkaFeatureCache
  5. def allFeatures(): Iterator[SimpleFeature]

    Permalink
    Definition Classes
    FeatureCacheGuava → SpatialIndexSupport
  6. def and(a: And): Iterator[SimpleFeature]

    Permalink
    Definition Classes
    SpatialIndexSupport
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val cache: Cache[String, FeatureHolder]

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

    Permalink
  10. def clear(): Unit

    Permalink
  11. def clearIndex(): Unit

    Permalink

    Clear all features from any indices

    Clear all features from any indices

    Attributes
    protected
    Definition Classes
    FeatureCacheGuavaAbstractKafkaFeatureCache
  12. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def include(): Iterator[SimpleFeature]

    Permalink
    Definition Classes
    SpatialIndexSupport
  20. 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
    FeatureCacheGuavaAbstractKafkaFeatureCache
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. lazy val logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def or(o: Or): Iterator[SimpleFeature]

    Permalink
    Definition Classes
    SpatialIndexSupport
  27. 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
  28. def query(filter: Filter): Iterator[SimpleFeature]

    Permalink
    Definition Classes
    FeatureCacheGuava → SpatialIndexSupport → KafkaFeatureCache
  29. def query(id: String): Option[SimpleFeature]

    Permalink
    Definition Classes
    FeatureCacheGuavaKafkaFeatureCache
  30. 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
  31. def removeFromIndex(value: FeatureHolder): Unit

    Permalink

    Remove a feature from any indices

    Remove a feature from any indices

    value

    value to remove

    Attributes
    protected
    Definition Classes
    FeatureCacheGuavaAbstractKafkaFeatureCache
  32. val sft: SimpleFeatureType

    Permalink
    Definition Classes
    FeatureCacheGuava → SpatialIndexSupport
  33. def size(f: Filter): Int

    Permalink
  34. def size(): Int

    Permalink
  35. def spatial(f: BinarySpatialOperator): Iterator[SimpleFeature]

    Permalink
    Definition Classes
    SpatialIndexSupport
  36. def spatialIndex: SpatialIndex[SimpleFeature]

    Permalink
    Definition Classes
    FeatureCacheGuava → SpatialIndexSupport
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def unoptimized(f: Filter): Iterator[SimpleFeature]

    Permalink
    Definition Classes
    SpatialIndexSupport
  40. final def wait(): Unit

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

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

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

    Permalink

    Create the cache value from a simple feature

    Create the cache value from a simple feature

    Attributes
    protected
    Definition Classes
    FeatureCacheGuavaAbstractKafkaFeatureCache

Inherited from SpatialIndexSupport

Inherited from LazyLogging

Inherited from KafkaFeatureCache

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped