Package com.google.cloud.bigquery
Class GoogleSheetsOptions
- java.lang.Object
-
- com.google.cloud.bigquery.FormatOptions
-
- com.google.cloud.bigquery.GoogleSheetsOptions
-
- All Implemented Interfaces:
Serializable
public final class GoogleSheetsOptions extends FormatOptions
Google BigQuery options for the Google Sheets format.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GoogleSheetsOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getRange()
Returns the number of range of a sheet when reading the data.Long
getSkipLeadingRows()
Returns the number of rows at the top of a sheet that BigQuery will skip when reading the data.int
hashCode()
static GoogleSheetsOptions.Builder
newBuilder()
Returns a builder for aGoogleSheetsOptions
object.GoogleSheetsOptions.Builder
toBuilder()
Returns a builder for theGoogleSheetsOptions
object.String
toString()
-
Methods inherited from class com.google.cloud.bigquery.FormatOptions
avro, bigtable, csv, datastoreBackup, getType, googleSheets, iceberg, json, of, orc, parquet
-
-
-
-
Method Detail
-
getRange
public String getRange()
Returns the number of range of a sheet when reading the data.
-
getSkipLeadingRows
public Long getSkipLeadingRows()
Returns the number of rows at the top of a sheet that BigQuery will skip when reading the data.
-
toBuilder
public GoogleSheetsOptions.Builder toBuilder()
Returns a builder for theGoogleSheetsOptions
object.
-
toString
public String toString()
- Overrides:
toString
in classFormatOptions
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFormatOptions
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classFormatOptions
-
newBuilder
public static GoogleSheetsOptions.Builder newBuilder()
Returns a builder for aGoogleSheetsOptions
object.
-
-