Packages

package kryo

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

Type Members

  1. class KryoBufferSimpleFeature extends SimpleFeature
  2. trait KryoFeatureSerializer extends KryoFeatureSerialization with KryoFeatureDeserialization

    Kryo feature serialization and deserialization.

    Kryo feature serialization and deserialization.

    The current serialization scheme (version 3):

    • one byte containing the serialization version (3)
    • two bytes for a short containing the number of serialized attributes. this supports appending attributes to the schema, as we know how many attributes were written when deserializing
    • one byte for the size of the stored offsets, which will currently be either 2 (for shorts) or 4 (for ints)
    • a known number of bytes for metadata, which consists of:
    • 2 byte short or 4 byte int (determined by the size as stored above) per attribute for the offset to the start of the attribute in the serialized bytes
    • 2 byte short or 4 byte int (determined by the size as stored above) for the offset to the start of the user data (or end of the feature if no user data)
    • 4 bytes per 32 attributes (or part thereof) to store a bitset tracking null attributes
    • the feature id as a string (if withId)
    • the serialized attributes, in order
    • the serialized user data (if withUserData)
  3. case class Metadata(input: Input, count: Int, size: Int, offset: Int, nulls: IntBitSet) extends Product with Serializable

    Metadata for serialized simple features

    Metadata for serialized simple features

    input

    kryo input

    count

    number of attributes serialized in this feature (may be less than the current sft)

    size

    size of each offset - either 2 or 4 bytes

    offset

    attribute positions are stored relative to this offset into the serialized bytes

    nulls

    null bit set

  4. class ProjectingKryoFeatureDeserializer extends SimpleFeatureSerializer

    Deserialize and project to a new feature type

  5. class ProjectingKryoFeatureSerializer extends SimpleFeatureSerializer

    Project to a subtype when serializing

Value Members

  1. val SerializerCacheExpiry: Duration
  2. object KryoBufferSimpleFeature
  3. object KryoFeatureSerializer
  4. object Metadata extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped