Created
December 29, 2018 05:33
-
-
Save sandboxws/39dc5c4c8774d74956d8fc9380f469b0 to your computer and use it in GitHub Desktop.
Album BigQuery table schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sandboxws.chinook.bigquery.schema; | |
import com.google.api.services.bigquery.model.TableSchema; | |
import com.sandboxws.bigquery.TableSchemaBuilder; | |
/** | |
* Album BigQuery table schema. | |
* | |
* @author Ahmed El.Hussaini | |
*/ | |
public class AlbumTableSchema { | |
public static TableSchema schema() { | |
return TableSchemaBuilder.create() | |
.integerField("id_album") | |
.stringField("title") | |
.integerField("artist_id") | |
.schema(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment