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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb

Overview

Note:

When making an API call, you may pass Sample data as a hash:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sizeInteger

The number of rows in the sample.

Returns:

  • (Integer)


2945
2946
2947
2948
2949
2950
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 2945

class Sample < Struct.new(
  :size,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The way in which DataBrew obtains rows from a dataset.

Returns:

  • (String)


2945
2946
2947
2948
2949
2950
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 2945

class Sample < Struct.new(
  :size,
  :type)
  SENSITIVE = []
  include Aws::Structure
end