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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for DataFormat.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    DataFormat(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    DataFormat(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (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