public abstract class StandardTableDefinition extends TableDefinition
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
StandardTableDefinition.Builder  | 
static class  | 
StandardTableDefinition.StreamingBuffer
Google BigQuery Table's Streaming Buffer information. 
 | 
TableDefinition.Type| Constructor and Description | 
|---|
StandardTableDefinition()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract Clustering | 
getClustering()
Returns the clustering configuration for this table. 
 | 
abstract String | 
getLocation()
Returns the geographic location where the table should reside. 
 | 
abstract Long | 
getNumBytes()
Returns the size of this table in bytes, excluding any data in the streaming buffer. 
 | 
abstract Long | 
getNumLongTermBytes()
Returns the number of bytes considered "long-term storage" for reduced billing purposes. 
 | 
abstract Long | 
getNumRows()
Returns the number of rows in this table, excluding any data in the streaming buffer. 
 | 
abstract StandardTableDefinition.StreamingBuffer | 
getStreamingBuffer()
Returns information on the table's streaming buffer if any exists. 
 | 
abstract TimePartitioning | 
getTimePartitioning()
Returns the time partitioning configuration for this table. 
 | 
static StandardTableDefinition.Builder | 
newBuilder()
Returns a builder for a BigQuery standard table definition. 
 | 
static StandardTableDefinition | 
of(Schema schema)
Creates a BigQuery standard table definition given its schema. 
 | 
abstract StandardTableDefinition.Builder | 
toBuilder()
Returns a builder for the  
StandardTableDefinition object. | 
getSchema, getType@Nullable public abstract Long getNumBytes()
@Nullable public abstract Long getNumLongTermBytes()
@Nullable public abstract Long getNumRows()
@Nullable public abstract String getLocation()
@Nullable public abstract StandardTableDefinition.StreamingBuffer getStreamingBuffer()
null if no
 streaming buffer exists.@Nullable public abstract TimePartitioning getTimePartitioning()
null, the table is not
 time-partitioned.@Nullable public abstract Clustering getClustering()
null, the table is not
 clustered.public static StandardTableDefinition.Builder newBuilder()
public static StandardTableDefinition of(Schema schema)
schema - the schema of the tablepublic abstract StandardTableDefinition.Builder toBuilder()
StandardTableDefinition object.toBuilder in class TableDefinitionCopyright © 2019 Google LLC. All rights reserved.