Class StandardTableDefinition.Builder (2.37.2)

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
TypeDescription
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
NameDescription
biglakeConfigurationBigLakeConfiguration
Returns
TypeDescription
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
NameDescription
clusteringClustering
Returns
TypeDescription
StandardTableDefinition.Builder

setLocation(String location)

public abstract StandardTableDefinition.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
StandardTableDefinition.Builder

setNumActiveLogicalBytes(Long numActiveLogicalBytes)

public abstract StandardTableDefinition.Builder setNumActiveLogicalBytes(Long numActiveLogicalBytes)
Parameter
NameDescription
numActiveLogicalBytesLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumActivePhysicalBytes(Long numActivePhysicalBytes)

public abstract StandardTableDefinition.Builder setNumActivePhysicalBytes(Long numActivePhysicalBytes)
Parameter
NameDescription
numActivePhysicalBytesLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumBytes(Long numBytes)

public abstract StandardTableDefinition.Builder setNumBytes(Long numBytes)
Parameter
NameDescription
numBytesLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumLongTermBytes(Long numLongTermBytes)

public abstract StandardTableDefinition.Builder setNumLongTermBytes(Long numLongTermBytes)
Parameter
NameDescription
numLongTermBytesLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumLongTermLogicalBytes(Long numLongTermLogicalBytes)

public abstract StandardTableDefinition.Builder setNumLongTermLogicalBytes(Long numLongTermLogicalBytes)
Parameter
NameDescription
numLongTermLogicalBytesLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumLongTermPhysicalBytes(Long numLongTermPhysicalBytes)

public abstract StandardTableDefinition.Builder setNumLongTermPhysicalBytes(Long numLongTermPhysicalBytes)
Parameter
NameDescription
numLongTermPhysicalBytesLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumRows(Long numRows)

public abstract StandardTableDefinition.Builder setNumRows(Long numRows)
Parameter
NameDescription
numRowsLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumTimeTravelPhysicalBytes(Long numTimeTravelPhysicalBytes)

public abstract StandardTableDefinition.Builder setNumTimeTravelPhysicalBytes(Long numTimeTravelPhysicalBytes)
Parameter
NameDescription
numTimeTravelPhysicalBytesLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumTotalLogicalBytes(Long numTotalLogicalBytes)

public abstract StandardTableDefinition.Builder setNumTotalLogicalBytes(Long numTotalLogicalBytes)
Parameter
NameDescription
numTotalLogicalBytesLong
Returns
TypeDescription
StandardTableDefinition.Builder

setNumTotalPhysicalBytes(Long numTotalPhysicalBytes)

public abstract StandardTableDefinition.Builder setNumTotalPhysicalBytes(Long numTotalPhysicalBytes)
Parameter
NameDescription
numTotalPhysicalBytesLong
Returns
TypeDescription
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
NameDescription
rangePartitioningRangePartitioning
Returns
TypeDescription
StandardTableDefinition.Builder

setSchema(Schema schema)

public abstract StandardTableDefinition.Builder setSchema(Schema schema)

Sets the table schema.

Parameter
NameDescription
schemaSchema
Returns
TypeDescription
StandardTableDefinition.Builder
Overrides

setStreamingBuffer(StandardTableDefinition.StreamingBuffer streamingBuffer)

public abstract StandardTableDefinition.Builder setStreamingBuffer(StandardTableDefinition.StreamingBuffer streamingBuffer)
Parameter
NameDescription
streamingBufferStandardTableDefinition.StreamingBuffer
Returns
TypeDescription
StandardTableDefinition.Builder

setTableConstraints(TableConstraints tableConstraints)

public abstract StandardTableDefinition.Builder setTableConstraints(TableConstraints tableConstraints)
Parameter
NameDescription
tableConstraintsTableConstraints
Returns
TypeDescription
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
NameDescription
timePartitioningTimePartitioning
Returns
TypeDescription
StandardTableDefinition.Builder

setType(TableDefinition.Type type)

public abstract StandardTableDefinition.Builder setType(TableDefinition.Type type)
Parameter
NameDescription
typeTableDefinition.Type
Returns
TypeDescription
StandardTableDefinition.Builder
Overrides