Send feedback
Class StandardTableDefinition.Builder (2.23.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.23.2 keyboard_arrow_down
public abstract static class StandardTableDefinition.Builder extends TableDefinition.Builder<StandardTableDefinition,StandardTableDefinition.Builder>
Constructors
Builder()
Methods
build()
public abstract StandardTableDefinition build()
Creates a StandardTableDefinition
object.
Returns
Overrides
setClustering(Clustering clustering)
public abstract StandardTableDefinition.Builder setClustering(Clustering clustering)
Set the clustering configuration for the table. If not set, the table is not clustered.
BigQuery supports clustering for both partitioned and non-partitioned tables.
Parameter
Returns
setLocation(String location)
public abstract StandardTableDefinition.Builder setLocation(String location)
Parameter
Returns
setNumBytes(Long numBytes)
public abstract StandardTableDefinition.Builder setNumBytes(Long numBytes)
Parameter
Name Description numBytes
Long
Returns
setNumLongTermBytes(Long numLongTermBytes)
public abstract StandardTableDefinition.Builder setNumLongTermBytes(Long numLongTermBytes)
Parameter
Name Description numLongTermBytes
Long
Returns
setNumRows(Long numRows)
public abstract StandardTableDefinition.Builder setNumRows(Long numRows)
Parameter
Name Description numRows
Long
Returns
setRangePartitioning(RangePartitioning rangePartitioning)
public abstract StandardTableDefinition.Builder setRangePartitioning(RangePartitioning rangePartitioning)
Sets the range partitioning configuration for the table. Only one of timePartitioning and
rangePartitioning should be specified.
Parameter
Returns
setSchema(Schema schema)
public abstract StandardTableDefinition.Builder setSchema(Schema schema)
Parameter
Returns
Overrides
setStreamingBuffer(StandardTableDefinition.StreamingBuffer streamingBuffer)
public abstract StandardTableDefinition.Builder setStreamingBuffer(StandardTableDefinition.StreamingBuffer streamingBuffer)
Parameter
Returns
setTimePartitioning(TimePartitioning timePartitioning)
public abstract StandardTableDefinition.Builder setTimePartitioning(TimePartitioning timePartitioning)
Sets the time partitioning configuration for the table. If not set, the table is not
time-partitioned.
Parameter
Returns
setType(TableDefinition.Type type)
public abstract StandardTableDefinition.Builder setType(TableDefinition.Type type)
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-02 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?