Class StandardTableDefinition.Builder (2.37.2) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.37.2keyboard_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.
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.
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.
setLocation(String location) 
  
    
public   abstract   StandardTableDefinition . Builder   setLocation ( String   location )  
  
    
      
        Parameter  
      
        Name Description  
      
        locationString  
     
  
  
  setNumActiveLogicalBytes(Long numActiveLogicalBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumActiveLogicalBytes ( Long   numActiveLogicalBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numActiveLogicalBytesLong  
     
  
  
  setNumActivePhysicalBytes(Long numActivePhysicalBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumActivePhysicalBytes ( Long   numActivePhysicalBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numActivePhysicalBytesLong  
     
  
  
  setNumBytes(Long numBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumBytes ( Long   numBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numBytesLong  
     
  
  
  setNumLongTermBytes(Long numLongTermBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumLongTermBytes ( Long   numLongTermBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numLongTermBytesLong  
     
  
  
  setNumLongTermLogicalBytes(Long numLongTermLogicalBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumLongTermLogicalBytes ( Long   numLongTermLogicalBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numLongTermLogicalBytesLong  
     
  
  
  setNumLongTermPhysicalBytes(Long numLongTermPhysicalBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumLongTermPhysicalBytes ( Long   numLongTermPhysicalBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numLongTermPhysicalBytesLong  
     
  
  
  setNumRows(Long numRows) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumRows ( Long   numRows )  
  
    
      
        Parameter  
      
        Name Description  
      
        numRowsLong  
     
  
  
  setNumTimeTravelPhysicalBytes(Long numTimeTravelPhysicalBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumTimeTravelPhysicalBytes ( Long   numTimeTravelPhysicalBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numTimeTravelPhysicalBytesLong  
     
  
  
  setNumTotalLogicalBytes(Long numTotalLogicalBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumTotalLogicalBytes ( Long   numTotalLogicalBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numTotalLogicalBytesLong  
     
  
  
  setNumTotalPhysicalBytes(Long numTotalPhysicalBytes) 
  
    
public   abstract   StandardTableDefinition . Builder   setNumTotalPhysicalBytes ( Long   numTotalPhysicalBytes )  
  
    
      
        Parameter  
      
        Name Description  
      
        numTotalPhysicalBytesLong  
     
  
  
  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.
setSchema(Schema schema) 
  
    
public   abstract   StandardTableDefinition . Builder   setSchema ( Schema   schema )  
  
  
    
      
        Parameter  
      
        Name Description  
      
        schemaSchema  
     
  
  
  Overrides 
  
  setStreamingBuffer(StandardTableDefinition.StreamingBuffer streamingBuffer) 
  
    
public   abstract   StandardTableDefinition . Builder   setStreamingBuffer ( StandardTableDefinition . StreamingBuffer   streamingBuffer )  
  
  
  setTableConstraints(TableConstraints tableConstraints) 
  
    
public   abstract   StandardTableDefinition . Builder   setTableConstraints ( TableConstraints   tableConstraints )  
  
  
  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.
setType(TableDefinition.Type type) 
  
    
public   abstract   StandardTableDefinition . Builder   setType ( TableDefinition . Type   type )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]