@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Classifier extends Object implements Serializable, Cloneable, StructuredPojo
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 first checks whether a
given file is in a format it can handle, and then, if so, creates a schema in the form of a StructType
object that matches that data format.
Constructor and Description |
---|
Classifier() |
Modifier and Type | Method and Description |
---|---|
Classifier |
clone() |
boolean |
equals(Object obj) |
GrokClassifier |
getGrokClassifier()
A GrokClassifier object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGrokClassifier(GrokClassifier grokClassifier)
A GrokClassifier object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Classifier |
withGrokClassifier(GrokClassifier grokClassifier)
A GrokClassifier object.
|
public void setGrokClassifier(GrokClassifier grokClassifier)
A GrokClassifier object.
grokClassifier
- A GrokClassifier object.public GrokClassifier getGrokClassifier()
A GrokClassifier object.
public Classifier withGrokClassifier(GrokClassifier grokClassifier)
A GrokClassifier object.
grokClassifier
- A GrokClassifier object.public String toString()
toString
in class Object
Object.toString()
public Classifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.