Class USqlTablePreview
java.lang.Object
com.microsoft.azure.management.datalake.analytics.models.USqlTablePreview
A Data Lake Analytics catalog table or partition preview rows item.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrows()
Get the rows of the table or partition preview, where each row is an array of string representations the row's values.schema()
Get the schema of the table or partition.Get the total number of columns in the table or partition.Get the total number of rows in the table or partition.Get true if the amount of data in the response is less than expected due to the preview operation's size limitations.Set the rows of the table or partition preview, where each row is an array of string representations the row's values.withSchema
(List<USqlTableColumn> schema) Set the schema of the table or partition.withTotalColumnCount
(Long totalColumnCount) Set the total number of columns in the table or partition.withTotalRowCount
(Long totalRowCount) Set the total number of rows in the table or partition.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.
-
Constructor Details
-
USqlTablePreview
public USqlTablePreview()
-
-
Method Details
-
totalRowCount
Get the total number of rows in the table or partition.- Returns:
- the totalRowCount value
-
withTotalRowCount
Set the total number of rows in the table or partition.- Parameters:
totalRowCount
- the totalRowCount value to set- Returns:
- the USqlTablePreview object itself.
-
totalColumnCount
Get the total number of columns in the table or partition.- Returns:
- the totalColumnCount value
-
withTotalColumnCount
Set the total number of columns in the table or partition.- Parameters:
totalColumnCount
- the totalColumnCount value to set- Returns:
- the USqlTablePreview object itself.
-
rows
Get the rows of the table or partition preview, where each row is an array of string representations the row's values. Note: Byte arrays will appear as base-64 encoded values, SqlMap and SqlArray objects will appear as escaped JSON objects, and DateTime objects will appear as ISO formatted UTC date-times.- Returns:
- the rows value
-
withRows
Set the rows of the table or partition preview, where each row is an array of string representations the row's values. Note: Byte arrays will appear as base-64 encoded values, SqlMap and SqlArray objects will appear as escaped JSON objects, and DateTime objects will appear as ISO formatted UTC date-times.- Parameters:
rows
- the rows value to set- Returns:
- the USqlTablePreview object itself.
-
truncated
Get true if the amount of data in the response is less than expected due to the preview operation's size limitations. This can occur if the requested rows or row counts are too large.- Returns:
- the truncated value
-
withTruncated
Set true if the amount of data in the response is less than expected due to the preview operation's size limitations. This can occur if the requested rows or row counts are too large.- Parameters:
truncated
- the truncated value to set- Returns:
- the USqlTablePreview object itself.
-
schema
Get the schema of the table or partition.- Returns:
- the schema value
-
withSchema
Set the schema of the table or partition.- Parameters:
schema
- the schema value to set- Returns:
- the USqlTablePreview object itself.
-