public static class ReadRowsResponseToInternalRowIteratorConverter.Avro extends Object implements ReadRowsResponseToInternalRowIteratorConverter, Serializable
ReadRowsResponseToInternalRowIteratorConverter.Arrow, ReadRowsResponseToInternalRowIteratorConverter.Avro| Constructor and Description |
|---|
Avro(com.google.cloud.bigquery.Schema bqSchema,
List<String> columnsInOrder,
String rawAvroSchema,
com.google.common.base.Optional<org.apache.spark.sql.types.StructType> userProvidedSchema,
com.google.common.base.Optional<BigQueryStorageReadRowsTracer> bigQueryStorageReadRowsTracer,
SchemaConvertersConfiguration schemaConvertersConfiguration,
com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec responseCompressionCodec) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<org.apache.spark.sql.catalyst.InternalRow> |
convert(com.google.cloud.bigquery.storage.v1.ReadRowsResponse response) |
int |
getBatchSizeInBytes(com.google.cloud.bigquery.storage.v1.ReadRowsResponse response) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarrow, avropublic Avro(com.google.cloud.bigquery.Schema bqSchema,
List<String> columnsInOrder,
String rawAvroSchema,
com.google.common.base.Optional<org.apache.spark.sql.types.StructType> userProvidedSchema,
com.google.common.base.Optional<BigQueryStorageReadRowsTracer> bigQueryStorageReadRowsTracer,
SchemaConvertersConfiguration schemaConvertersConfiguration,
com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec responseCompressionCodec)
public Iterator<org.apache.spark.sql.catalyst.InternalRow> convert(com.google.cloud.bigquery.storage.v1.ReadRowsResponse response)
convert in interface ReadRowsResponseToInternalRowIteratorConverterpublic int getBatchSizeInBytes(com.google.cloud.bigquery.storage.v1.ReadRowsResponse response)
getBatchSizeInBytes in interface ReadRowsResponseToInternalRowIteratorConverterCopyright © 2024. All rights reserved.