object AvroUtils extends LazyLogging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AvroUtils
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
- 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: Any): Boolean
- Definition Classes
- AnyRef → Any
- def extractSchema(parsedSchema: ParsedSchema): Schema
- val genericData: GenericData
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getSchema(obj: Any): Schema
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.