final class FixedIdFromRow extends IdFromRow
Id is always at a fixed offset into the row
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FixedIdFromRow
- IdFromRow
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
FixedIdFromRow(idFromBytes: (Array[Byte], Int, Int, SimpleFeature) ⇒ String, prefix: Int)
- idFromBytes
deserialization for the feature id
- prefix
the length of the fixed 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
- FixedIdFromRow → 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
- FixedIdFromRow → IdFromRow