Class SchemaAndRecord


  • public class SchemaAndRecord
    extends java.lang.Object
    A wrapper for a GenericRecord and the TableSchema representing the schema of the table (or query) it was generated from.
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaAndRecord​(org.apache.avro.generic.GenericRecord record, com.google.api.services.bigquery.model.TableSchema tableSchema)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.avro.generic.GenericRecord getRecord()  
      com.google.api.services.bigquery.model.TableSchema getTableSchema()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchemaAndRecord

        public SchemaAndRecord​(org.apache.avro.generic.GenericRecord record,
                               com.google.api.services.bigquery.model.TableSchema tableSchema)
    • Method Detail

      • getRecord

        public org.apache.avro.generic.GenericRecord getRecord()
      • getTableSchema

        public com.google.api.services.bigquery.model.TableSchema getTableSchema()