java.lang.Object
com.microsoft.azure.management.datalake.analytics.models.USqlTablePreview

public class USqlTablePreview extends Object
A Data Lake Analytics catalog table or partition preview rows item.
  • Constructor Details

    • USqlTablePreview

      public USqlTablePreview()
  • Method Details

    • totalRowCount

      public Long totalRowCount()
      Get the total number of rows in the table or partition.
      Returns:
      the totalRowCount value
    • withTotalRowCount

      public USqlTablePreview withTotalRowCount(Long totalRowCount)
      Set the total number of rows in the table or partition.
      Parameters:
      totalRowCount - the totalRowCount value to set
      Returns:
      the USqlTablePreview object itself.
    • totalColumnCount

      public Long totalColumnCount()
      Get the total number of columns in the table or partition.
      Returns:
      the totalColumnCount value
    • withTotalColumnCount

      public USqlTablePreview withTotalColumnCount(Long totalColumnCount)
      Set the total number of columns in the table or partition.
      Parameters:
      totalColumnCount - the totalColumnCount value to set
      Returns:
      the USqlTablePreview object itself.
    • rows

      public 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. 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

      public 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. 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

      public Boolean 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

      public 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. 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

      public List<USqlTableColumn> schema()
      Get the schema of the table or partition.
      Returns:
      the schema value
    • withSchema

      public USqlTablePreview withSchema(List<USqlTableColumn> schema)
      Set the schema of the table or partition.
      Parameters:
      schema - the schema value to set
      Returns:
      the USqlTablePreview object itself.