Package

org.locationtech.geomesa.features

kryo

Permalink

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

    Permalink
  2. trait KryoFeatureSerializer extends KryoFeatureSerialization with KryoFeatureDeserialization

    Permalink

    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

    Permalink

    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

    Permalink

    Deserialize and project to a new feature type

  5. class ProjectingKryoFeatureSerializer extends SimpleFeatureSerializer

    Permalink

    Project to a subtype when serializing

Value Members

  1. object KryoBufferSimpleFeature

    Permalink
  2. object KryoFeatureSerializer

    Permalink
  3. object Metadata extends Serializable

    Permalink
  4. val SerializerCacheExpiry: Duration

    Permalink
  5. package impl

    Permalink
  6. package json

    Permalink
  7. package serialization

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped