AvroSerializationOptions

com.google.cloud.bigquery.storage.v1.avro.AvroSerializationOptions
See theAvroSerializationOptions companion object
final case class AvroSerializationOptions(enableDisplayNameAttribute: Boolean, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[AvroSerializationOptions]

Contains options specific to Avro Serialization.

Value parameters

enableDisplayNameAttribute

Enable displayName attribute in Avro schema. The Avro specification requires field names to be alphanumeric. By default, in cases when column names do not conform to these requirements (e.g. non-ascii unicode codepoints) and Avro is requested as an output format, the CreateReadSession call will fail. Setting this field to true, populates avro field names with a placeholder value and populates a "displayName" attribute for every avro field with the original column name.

Attributes

Companion
object
Source
AvroSerializationOptions.scala
Graph
Supertypes
trait Updatable[AvroSerializationOptions]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
AvroSerializationOptions.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
AvroSerializationOptions.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
AvroSerializationOptions.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
AvroSerializationOptions.scala
def withUnknownFields(`__v`: UnknownFieldSet): AvroSerializationOptions

Attributes

Source
AvroSerializationOptions.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
AvroSerializationOptions.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala