Classifier class
Classifiers are triggered during a crawl task. A classifier checks whether a
given file is in a format it can handle. If it is, the classifier creates a
schema in the form of a StructType
object that matches that
data format.
You can use the standard classifiers that AWS Glue provides, or you can
write your own classifiers to best categorize your data sources and specify
the appropriate schemas to use for them. A classifier can be a
grok
classifier, an XML
classifier, a
JSON
classifier, or a custom CSV
classifier, as
specified in one of the fields in the Classifier
object.
Constructors
- Classifier({CsvClassifier? csvClassifier, GrokClassifier? grokClassifier, JsonClassifier? jsonClassifier, XMLClassifier? xMLClassifier})
-
Classifier.fromJson(Map<
String, dynamic> json) -
factory
Properties
- csvClassifier → CsvClassifier?
-
A classifier for comma-separated values (CSV).
final
- grokClassifier → GrokClassifier?
-
A classifier that uses
grok
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- jsonClassifier → JsonClassifier?
-
A classifier for JSON content.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xMLClassifier → XMLClassifier?
-
A classifier for XML content.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited