Mendownload data tabel dalam format data Arrow
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mendownload data tabel menggunakan format data Arrow dan melakukan deserialisasi data ke dalam objek baris.
Mempelajari lebih lanjut
Untuk dokumentasi mendetail yang menyertakan contoh kode ini, lihat artikel berikut:
Contoh kode
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],[],[[["\u003cp\u003eThis code sample demonstrates how to download table data from BigQuery using the Arrow data format for efficient data transfer.\u003c/p\u003e\n"],["\u003cp\u003eThe sample uses the BigQuery Storage API to create a read session and retrieve data streams, specifying column projections and row restrictions.\u003c/p\u003e\n"],["\u003cp\u003eThe code showcases the deserialization of Arrow-encoded row batches into row objects, using a \u003ccode\u003eSimpleRowReader\u003c/code\u003e class with Apache Arrow's \u003ccode\u003eVectorSchemaRoot\u003c/code\u003e and \u003ccode\u003eVectorLoader\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides instructions on how to set up authentication for client libraries and how to process each block of rows as they arrive.\u003c/p\u003e\n"],["\u003cp\u003eThe code is configured to use the first stream of the session and prints the content in TSV format.\u003c/p\u003e\n"]]],[],null,[]]