public 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| Modifier and Type | Method and Description |
|---|---|
static StandardTableDefinition.Builder |
builder()
Returns a builder for a BigQuery standard table definition.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
location()
Returns the geographic location where the table should reside.
|
Long |
numBytes()
Returns the size of this table in bytes, excluding any data in the streaming buffer.
|
Long |
numRows()
Returns the number of rows in this table, excluding any data in the streaming buffer.
|
static StandardTableDefinition |
of(Schema schema)
Creates a BigQuery standard table definition given its schema.
|
StandardTableDefinition.StreamingBuffer |
streamingBuffer()
Returns information on the table's streaming buffer if any exists.
|
StandardTableDefinition.Builder |
toBuilder()
Returns a builder for the
StandardTableDefinition object. |
schema, toString, typepublic Long numBytes()
public Long numRows()
public String location()
public StandardTableDefinition.StreamingBuffer streamingBuffer()
null if no
streaming buffer exists.public static StandardTableDefinition.Builder builder()
public static StandardTableDefinition of(Schema schema)
schema - the schema of the tablepublic StandardTableDefinition.Builder toBuilder()
StandardTableDefinition object.toBuilder in class TableDefinitionCopyright © 2016 Google. All rights reserved.