Class StandardTableDefinition.Builder (2.39.1)

public abstract static class StandardTableDefinition.Builder extends TableDefinition.Builder<StandardTableDefinition,StandardTableDefinition.Builder>

Inheritance

java.lang.Object > TableDefinition.Builder > StandardTableDefinition.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract StandardTableDefinition build()

Creates a StandardTableDefinition object.

Returns
Type Description
StandardTableDefinition
Overrides

setBigLakeConfiguration(BigLakeConfiguration biglakeConfiguration)

public abstract StandardTableDefinition.Builder setBigLakeConfiguration(BigLakeConfiguration biglakeConfiguration)

Set the configuration of a BigLake managed table. If not set, the table is not a BigLake managed table.

Parameter
Name Description
biglakeConfiguration BigLakeConfiguration
Returns
Type Description
StandardTableDefinition.Builder

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
Name Description
clustering Clustering
Returns
Type Description
StandardTableDefinition.Builder

setLocation(String location)

public abstract StandardTableDefinition.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
StandardTableDefinition.Builder

setNumActiveLogicalBytes(Long numActiveLogicalBytes)

public abstract StandardTableDefinition.Builder setNumActiveLogicalBytes(Long numActiveLogicalBytes)
Parameter
Name Description
numActiveLogicalBytes Long
Returns
Type Description
StandardTableDefinition.Builder

setNumActivePhysicalBytes(Long numActivePhysicalBytes)

public abstract StandardTableDefinition.Builder setNumActivePhysicalBytes(Long numActivePhysicalBytes)
Parameter
Name Description
numActivePhysicalBytes Long
Returns
Type Description
StandardTableDefinition.Builder

setNumBytes(Long numBytes)

public abstract StandardTableDefinition.Builder setNumBytes(Long numBytes)
Parameter
Name Description
numBytes Long
Returns
Type Description
StandardTableDefinition.Builder

setNumLongTermBytes(Long numLongTermBytes)

public abstract StandardTableDefinition.Builder setNumLongTermBytes(Long numLongTermBytes)
Parameter
Name Description
numLongTermBytes Long
Returns
Type Description
StandardTableDefinition.Builder

setNumLongTermLogicalBytes(Long numLongTermLogicalBytes)

public abstract StandardTableDefinition.Builder setNumLongTermLogicalBytes(Long numLongTermLogicalBytes)
Parameter
Name Description
numLongTermLogicalBytes Long
Returns
Type Description
StandardTableDefinition.Builder

setNumLongTermPhysicalBytes(Long numLongTermPhysicalBytes)

public abstract StandardTableDefinition.Builder setNumLongTermPhysicalBytes(Long numLongTermPhysicalBytes)
Parameter
Name Description
numLongTermPhysicalBytes Long
Returns
Type Description
StandardTableDefinition.Builder

setNumRows(Long numRows)

public abstract StandardTableDefinition.Builder setNumRows(Long numRows)
Parameter
Name Description
numRows Long
Returns
Type Description
StandardTableDefinition.Builder

setNumTimeTravelPhysicalBytes(Long numTimeTravelPhysicalBytes)

public abstract StandardTableDefinition.Builder setNumTimeTravelPhysicalBytes(Long numTimeTravelPhysicalBytes)
Parameter
Name Description
numTimeTravelPhysicalBytes Long
Returns
Type Description
StandardTableDefinition.Builder

setNumTotalLogicalBytes(Long numTotalLogicalBytes)

public abstract StandardTableDefinition.Builder setNumTotalLogicalBytes(Long numTotalLogicalBytes)
Parameter
Name Description
numTotalLogicalBytes Long
Returns
Type Description
StandardTableDefinition.Builder

setNumTotalPhysicalBytes(Long numTotalPhysicalBytes)

public abstract StandardTableDefinition.Builder setNumTotalPhysicalBytes(Long numTotalPhysicalBytes)
Parameter
Name Description
numTotalPhysicalBytes Long
Returns
Type Description
StandardTableDefinition.Builder

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
Name Description
rangePartitioning RangePartitioning
Returns
Type Description
StandardTableDefinition.Builder

setSchema(Schema schema)

public abstract StandardTableDefinition.Builder setSchema(Schema schema)

Sets the table schema.

Parameter
Name Description
schema Schema
Returns
Type Description
StandardTableDefinition.Builder
Overrides

setStreamingBuffer(StandardTableDefinition.StreamingBuffer streamingBuffer)

public abstract StandardTableDefinition.Builder setStreamingBuffer(StandardTableDefinition.StreamingBuffer streamingBuffer)
Parameter
Name Description
streamingBuffer StandardTableDefinition.StreamingBuffer
Returns
Type Description
StandardTableDefinition.Builder

setTableConstraints(TableConstraints tableConstraints)

public abstract StandardTableDefinition.Builder setTableConstraints(TableConstraints tableConstraints)
Parameter
Name Description
tableConstraints TableConstraints
Returns
Type Description
StandardTableDefinition.Builder

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
Name Description
timePartitioning TimePartitioning
Returns
Type Description
StandardTableDefinition.Builder

setType(TableDefinition.Type type)

public abstract StandardTableDefinition.Builder setType(TableDefinition.Type type)
Parameter
Name Description
type TableDefinition.Type
Returns
Type Description
StandardTableDefinition.Builder
Overrides