Packages

c

geotrellis.store.avro

AvroUnionCodec

class AvroUnionCodec[T] extends AvroRecordCodec[T]

Restricted to be a union of Records that share a super type.

T

superclass of listed formats

Linear Supertypes
AvroRecordCodec[T], AvroCodec[T, GenericRecord], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvroUnionCodec
  2. AvroRecordCodec
  3. AvroCodec
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AvroUnionCodec(formats: AvroRecordCodec[_ <: T]*)(implicit arg0: ClassTag[T])

    formats

    list of formats that make up the union

Value Members

  1. def decode(rec: GenericRecord): T
    Definition Classes
    AvroUnionCodecAvroRecordCodecAvroCodec
  2. def encode(thing: T, rec: GenericRecord): Unit
    Definition Classes
    AvroUnionCodecAvroRecordCodec
  3. def encode(thing: T): GenericRecord
    Definition Classes
    AvroUnionCodecAvroRecordCodecAvroCodec
  4. def schema: Schema
    Definition Classes
    AvroUnionCodecAvroRecordCodecAvroCodec
  5. def supported[O](other: O): Boolean
    Definition Classes
    AvroRecordCodec