org.locationtech.geomesa.index.index.attribute
AttributeIndexKeySpace
Companion object AttributeIndexKeySpace
class AttributeIndexKeySpace extends IndexKeySpace[AttributeIndexValues[Any], AttributeIndexKey] with LazyLogging
Attribute index key
- Alphabetic
- By Inheritance
- AttributeIndexKeySpace
- LazyLogging
- IndexKeySpace
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AttributeIndexKeySpace(sft: SimpleFeatureType, sharding: ShardStrategy, attributeField: String)
- sft
simple feature type
- attributeField
attribute being indexed
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
-
val
attributes: Seq[String]
The attributes used to create the index keys
The attributes used to create the index keys
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
decodeRowValue(row: Array[Byte], offset: Int, length: Int): Try[AnyRef]
Decodes an attribute value out of row string
Decodes an attribute value out of row string
- row
row bytes
- offset
offset into the row bytes
- length
length of the row bytes, from the offset
-
val
decodeValue: (String) ⇒ AnyRef
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
fieldIndex: Int
- Attributes
- protected
-
val
fieldIndexShort: Short
- Attributes
- protected
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getIndexValues(filter: Filter, explain: Explainer): AttributeIndexValues[Any]
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
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
def
getRangeBytes(ranges: Iterator[ScanRange[AttributeIndexKey]], tier: Boolean): 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
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
def
getRanges(values: AttributeIndexValues[Any], multiplier: Int): Iterator[ScanRange[AttributeIndexKey]]
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
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
def
getStandardRangeBytes(ranges: Iterator[ScanRange[AttributeIndexKey]], prefixes: Seq[Array[Byte]]): Iterator[ByteRange]
- Attributes
- protected
-
def
getTieredRangeBytes(ranges: Iterator[ScanRange[AttributeIndexKey]], prefixes: Seq[Array[Byte]]): Iterator[ByteRange]
- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
indexKeyByteLength: Left[(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)
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
isList: Boolean
- Attributes
- protected
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
def
lower(key: AttributeIndexKey, prefix: Boolean = false): Array[Byte]
Gets a lower range bound for an attribute value.
Gets a lower range bound for an attribute value. The bound can be used with additional tiering or not
- key
attribute value
- prefix
if this is a prefix scan or not
- Attributes
- protected
-
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()
-
val
sft: SimpleFeatureType
Simple feature type being indexed
Simple feature type being indexed
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
val
sharding: ShardStrategy
Strategy for sharding
Strategy for sharding
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
val
sharing: Array[Byte]
Table sharing
Table sharing
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tieredUpper(key: AttributeIndexKey): Option[Array[Byte]]
Gets an upper bound for a range that will be tiered.
Gets an upper bound for a range that will be tiered. A bound will only be returned if it supports additional tiering.
- key
attribute value
- Attributes
- protected
-
def
toIndexKey(writable: WritableFeature, tier: Array[Byte], id: Array[Byte], lenient: Boolean): RowKeyValue[AttributeIndexKey]
Index key from the attributes of a simple feature
Index key from the attributes of a simple feature
- tier
tier bytes
- id
feature id bytes
- lenient
if input values should be strictly checked, or normalized instead
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
upper(key: AttributeIndexKey, prefix: Boolean = false): Array[Byte]
Gets an upper range bound for an attribute value.
Gets an upper range bound for an attribute value. The bound is only suitable when there is no additional tiering
- key
attribute value
- prefix
if this is a prefix scan or not
- Attributes
- protected
-
def
useFullFilter(values: Option[AttributeIndexValues[Any]], config: Option[GeoMesaDataStoreConfig], hints: Hints): Boolean
Determines if the ranges generated by
getRangesare sufficient to fulfill the query, or if additional filtering needs to be doneDetermines if the ranges generated by
getRangesare 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
- Definition Classes
- AttributeIndexKeySpace → IndexKeySpace
-
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