Class DataFormat
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.DataFormat
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.552Z")
@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; S3Table.Builder.create(this, "MyTable") .database(myDatabase) .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
- See Also:
-
AVRO
(experimental) DataFormat for Apache Avro.- See Also:
-
CLOUDTRAIL_LOGS
(experimental) DataFormat for CloudTrail logs stored on S3.- See Also:
-
CSV
(experimental) DataFormat for CSV Files.- See Also:
-
JSON
(experimental) Stored as plain text files in JSON format.Uses OpenX Json SerDe for serialization and deseralization.
- See Also:
-
LOGSTASH
(experimental) DataFormat for Logstash Logs, using the GROK SerDe.- See Also:
-
ORC
(experimental) DataFormat for Apache ORC (Optimized Row Columnar).- See Also:
-
PARQUET
(experimental) DataFormat for Apache Parquet.- See Also:
-
TSV
(experimental) DataFormat for TSV (Tab-Separated Values).- See Also:
-
-
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.
-