public class USqlTablePreview extends Object
Constructor and Description |
---|
USqlTablePreview() |
Modifier and Type | Method and Description |
---|---|
List<List<String>> |
rows()
Get the rows of the table or partition preview, where each row is an array of string representations the row's values.
|
List<USqlTableColumn> |
schema()
Get the schema of the table or partition.
|
Long |
totalColumnCount()
Get the total number of columns in the table or partition.
|
Long |
totalRowCount()
Get the total number of rows in the table or partition.
|
Boolean |
truncated()
Get true if the amount of data in the response is less than expected due to the preview operation's size limitations.
|
USqlTablePreview |
withRows(List<List<String>> rows)
Set the rows of the table or partition preview, where each row is an array of string representations the row's values.
|
USqlTablePreview |
withSchema(List<USqlTableColumn> schema)
Set the schema of the table or partition.
|
USqlTablePreview |
withTotalColumnCount(Long totalColumnCount)
Set the total number of columns in the table or partition.
|
USqlTablePreview |
withTotalRowCount(Long totalRowCount)
Set the total number of rows in the table or partition.
|
USqlTablePreview |
withTruncated(Boolean truncated)
Set true if the amount of data in the response is less than expected due to the preview operation's size limitations.
|
public Long totalRowCount()
public USqlTablePreview withTotalRowCount(Long totalRowCount)
totalRowCount
- the totalRowCount value to setpublic Long totalColumnCount()
public USqlTablePreview withTotalColumnCount(Long totalColumnCount)
totalColumnCount
- the totalColumnCount value to setpublic List<List<String>> rows()
public USqlTablePreview withRows(List<List<String>> rows)
rows
- the rows value to setpublic Boolean truncated()
public USqlTablePreview withTruncated(Boolean truncated)
truncated
- the truncated value to setpublic List<USqlTableColumn> schema()
public USqlTablePreview withSchema(List<USqlTableColumn> schema)
schema
- the schema value to setCopyright © 2019. All rights reserved.