AvroOutputStream

trait AvroOutputStream[T] extends AutoCloseable

An AvroOutputStream will write instances of T to an underlying representation.

An AvroOutputStream will write instances of T to an underlying representation.

There are three implementations of this stream

  • a Data stream,
  • a Binary stream
  • a Json stream

See the methods on the companion object to create instances of each of these types of stream.

Companion
object
trait AutoCloseable
class Object
trait Matchable
class Any

Value members

Abstract methods

def close(): Unit
def fSync(): Unit
def flush(): Unit
def write(t: T): Unit

Concrete methods

def write(ts: Seq[T]): Unit