object AvroUtils extends LazyLogging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AvroUtils
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def adjustParsedSchema(parsedSchema: ParsedSchema): ParsedSchema
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def createGenericDatumReader[T](writer: Schema, reader: Schema): GenericDatumReader[T]
- def createRecord(schema: Schema, data: Map[String, Any]): GenericRecord
It's a simply mapper scala Map[String, Any] to Avro GenericRecord
- def deserialize[T](payload: Array[Byte], readerWriterSchema: Schema, offset: Int = 0): T
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractSchema(parsedSchema: ParsedSchema): Schema
- val genericData: GenericData
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getSchema(obj: Any): Schema
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLogicalType[T](schema: Schema)(implicit arg0: ClassTag[T]): Boolean
- def loadSchemaFromResource(path: String): Schema
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonRestrictiveParseSchema(avroSchema: String): Schema
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def parseSchema(avroSchema: String): Schema
- def serializeContainerToBytesArray(container: GenericContainer, output: OutputStream): Unit
Based on serializeImpl from io.confluent.kafka.serializers.AbstractKafkaAvroSerializer
- def serializeContainerToBytesArray(container: GenericContainer): Array[Byte]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toParsedSchema(schemaType: String, schemaContent: String): ParsedSchema
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)