trait WritableFeature extends AnyRef

Wraps a simple feature for writing. Usually contains cached values that will be written to multiple indices, to e.g. avoid re-serializing a simple feature multiple times

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WritableFeature
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def feature: SimpleFeature

    Underlying simple feature

  2. abstract def id: Array[Byte]

    Feature ID bytes

  3. abstract def reducedValues: Seq[KeyValue]

    Key-value pairs representing this feature, for reduced 'join' indices

  4. abstract def values: Seq[KeyValue]

    Key-value pairs representing this feature

Concrete Value Members

  1. def getAttribute[T](i: Int): T

    Convenience method for getting an attribute from the underlying feature

    Convenience method for getting an attribute from the underlying feature

    T

    type of the attribute

    i

    index of the attribute

  2. lazy val idHash: Int

    Hash of the simple feature ID - can be used for sharding.

    Hash of the simple feature ID - can be used for sharding.

    Note: we could use the idBytes here, but for back compatibility of deletes we don't want to change it