AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GlueDataBrew::Types::Sample

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Sample as input to an Aws::Client method, you can use a vanilla Hash:

{
  size: 1,
  type: "FIRST_N", # required, accepts FIRST_N, LAST_N, RANDOM
}

Represents the sample size and sampling type for AWS Glue DataBrew to use for interactive data analysis.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#sizeInteger

The number of rows in the sample.

Returns:

  • (Integer)

    The number of rows in the sample.

#typeString

The way in which DataBrew obtains rows from a dataset.

Possible values:

  • FIRST_N
  • LAST_N
  • RANDOM

Returns:

  • (String)

    The way in which DataBrew obtains rows from a dataset.