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

Class: Aws::Glue::Types::Classifier

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

Overview

Classifiers are written in Python and triggered during a crawl task. You can write your own classifiers to best categorize your data sources and specify the appropriate schemas to use for them. A classifier checks whether a given file is in a format it can handle, and if it is, the classifier creates a schema in the form of a StructType object that matches that data format.

A classifier can be either a grok classifier or an XML classifier, specified in one or the other field of the Classifier object.

Instance Attribute Summary collapse

Instance Attribute Details

#grok_classifierTypes::GrokClassifier

A GrokClassifier object.



489
490
491
492
493
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 489

class Classifier < Struct.new(
  :grok_classifier,
  :xml_classifier)
  include Aws::Structure
end

#xml_classifierTypes::XMLClassifier

An XMLClassifier object.



489
490
491
492
493
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 489

class Classifier < Struct.new(
  :grok_classifier,
  :xml_classifier)
  include Aws::Structure
end