Class DataFormat
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.DataFormat
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.540Z")
@Stability(Experimental)
public class DataFormat
extends software.amazon.jsii.JsiiObject
(experimental) Defines the input/output formats and ser/de for a single DataFormat.
Example:
Database myDatabase; Table.Builder.create(this, "MyTable") .database(myDatabase) .tableName("my_table") .columns(List.of(Column.builder() .name("col1") .type(Schema.STRING) .build())) .partitionKeys(List.of(Column.builder() .name("year") .type(Schema.SMALL_INT) .build(), Column.builder() .name("month") .type(Schema.SMALL_INT) .build())) .dataFormat(DataFormat.JSON) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forDataFormat
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DataFormat
(experimental) DataFormat for Apache Web Server Logs.static final DataFormat
(experimental) DataFormat for Apache Avro.static final DataFormat
(experimental) DataFormat for CloudTrail logs stored on S3.static final DataFormat
(experimental) DataFormat for CSV Files.static final DataFormat
(experimental) Stored as plain text files in JSON format.static final DataFormat
(experimental) DataFormat for Logstash Logs, using the GROK SerDe.static final DataFormat
(experimental) DataFormat for Apache ORC (Optimized Row Columnar).static final DataFormat
(experimental) DataFormat for Apache Parquet.static final DataFormat
(experimental) DataFormat for TSV (Tab-Separated Values). -
Constructor Summary
ModifierConstructorDescriptionDataFormat
(DataFormatProps props) protected
DataFormat
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DataFormat
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Classification string given to tables with this data format.(experimental)InputFormat
for this data format.(experimental)OutputFormat
for this data format.(experimental) Serialization library for this data format.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
APACHE_LOGS
(experimental) DataFormat for Apache Web Server Logs.Also works for CloudFront logs
-
AVRO
(experimental) DataFormat for Apache Avro. -
CLOUDTRAIL_LOGS
(experimental) DataFormat for CloudTrail logs stored on S3. -
CSV
(experimental) DataFormat for CSV Files. -
JSON
(experimental) Stored as plain text files in JSON format.Uses OpenX Json SerDe for serialization and deseralization.
-
LOGSTASH
(experimental) DataFormat for Logstash Logs, using the GROK SerDe. -
ORC
(experimental) DataFormat for Apache ORC (Optimized Row Columnar). -
PARQUET
(experimental) DataFormat for Apache Parquet. -
TSV
(experimental) DataFormat for TSV (Tab-Separated Values).
-
-
Constructor Details
-
DataFormat
protected DataFormat(software.amazon.jsii.JsiiObjectRef objRef) -
DataFormat
protected DataFormat(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DataFormat
- Parameters:
props
- This parameter is required.
-
-
Method Details
-
getInputFormat
(experimental)InputFormat
for this data format. -
getOutputFormat
(experimental)OutputFormat
for this data format. -
getSerializationLibrary
(experimental) Serialization library for this data format. -
getClassificationString
(experimental) Classification string given to tables with this data format.
-