Packages

final class FixedIdFromRow extends IdFromRow

Id is always at a fixed offset into the row

Linear Supertypes
IdFromRow, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FixedIdFromRow
  2. IdFromRow
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. 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
    FixedIdFromRowIdFromRow
  2. 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
    FixedIdFromRowIdFromRow