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
Ordering
- Alphabetic
- By Inheritance
Inherited
- WritableFeature
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
feature: SimpleFeature
Underlying simple feature
-
abstract
def
id: Array[Byte]
Feature ID bytes
-
abstract
def
reducedValues: Seq[KeyValue]
Key-value pairs representing this feature, for reduced 'join' indices
-
abstract
def
values: Seq[KeyValue]
Key-value pairs representing this feature
Concrete Value Members
-
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
-
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