final class DynamicIdFromRow extends IdFromRow
Id is dynamically located in the row
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DynamicIdFromRow
- IdFromRow
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
DynamicIdFromRow(idFromBytes: (Array[Byte], Int, Int, SimpleFeature) ⇒ String, prefix: (Array[Byte], Int, Int) ⇒ Int)
- idFromBytes
deserialization of the feature id
- prefix
a function to find the length of the prefix preceding the feature id bytes
Value Members
-
def
apply(row: Array[Byte], offset: Int, length: Int, feature: SimpleFeature): String
Return the id from the given row
Return the id from the given row
- row
row value as bytes
- offset
start of the row in the byte array
- length
length of the row in the byte array
- feature
a simple feature used to cache the feature id, optional (may be null)
- returns
the feature id
- Definition Classes
- DynamicIdFromRow → IdFromRow
-
def
start(row: Array[Byte], offset: Int, length: Int): Int
Return the start index of the id in the row
Return the start index of the id in the row
- row
row value as bytes
- offset
start of the row in the byte array
- length
length of the row in the byte array
- returns
the start of the id in the row, relative to the row offset
- Definition Classes
- DynamicIdFromRow → IdFromRow