trait IndexKeySpace[T, U] extends AnyRef
Conversions to/from index keys
- T
values extracted from a filter and used for creating ranges - extracted geometries, z-ranges, etc
- U
a single key space index value, e.g. Long for a z-value, etc
- Alphabetic
- By Inheritance
- IndexKeySpace
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
attributes: Seq[String]
The attributes used to create the index keys
-
abstract
def
getIndexValues(filter: Filter, explain: Explainer): T
Extracts values out of the filter used for range and push-down predicate creation
Extracts values out of the filter used for range and push-down predicate creation
- filter
query filter
- explain
explainer
-
abstract
def
getRangeBytes(ranges: Iterator[ScanRange[U]], tier: Boolean = false): Iterator[ByteRange]
Creates bytes from ranges
Creates bytes from ranges
- ranges
typed scan ranges. @see
getRanges
- tier
will the ranges have tiered ranges appended, or not
-
abstract
def
getRanges(values: T, multiplier: Int = 1): Iterator[ScanRange[U]]
Creates ranges over the index keys
Creates ranges over the index keys
- values
index values @see getIndexValues
- multiplier
hint for how many times the ranges will be multiplied. can be used to inform the number of ranges generated
-
abstract
def
indexKeyByteLength: Either[(Array[Byte], Int, Int) ⇒ Int, Int]
Length of an index key.
Length of an index key. If static (general case), will return a Right with the length. If dynamic, will return Left with a function to determine the length from a given (row, offset, length)
-
abstract
def
sft: SimpleFeatureType
Simple feature type being indexed
-
abstract
def
sharding: ShardStrategy
Strategy for sharding
-
abstract
def
sharing: Array[Byte]
Table sharing
-
abstract
def
toIndexKey(feature: WritableFeature, tier: Array[Byte], id: Array[Byte], lenient: Boolean = false): RowKeyValue[U]
Index key from the attributes of a simple feature
Index key from the attributes of a simple feature
- feature
simple feature with cached values
- tier
tier bytes
- id
feature id bytes
- lenient
if input values should be strictly checked, or normalized instead
-
abstract
def
useFullFilter(values: Option[T], config: Option[GeoMesaDataStoreConfig], hints: Hints): Boolean
Determines if the ranges generated by
getRanges
are sufficient to fulfill the query, or if additional filtering needs to be doneDetermines if the ranges generated by
getRanges
are sufficient to fulfill the query, or if additional filtering needs to be done- values
index values @see getIndexValues
- config
data store config
- hints
query hints
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated