Skip to content
v2.273.0

OutputFormat Class ​

Absolute class name of the Hadoop OutputFormat to use when writing table files.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const outputFormat = glue.OutputFormat.AVRO;
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

output_format = glue.OutputFormat.AVRO
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

OutputFormat outputFormat = OutputFormat.AVRO;
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var outputFormat = OutputFormat.AVRO;
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

outputFormat := awscdk.Aws_glue.OutputFormat_AVRO()

Initializer ​

ts
new OutputFormat(className: string)
python
OutputFormat(class_name: str)
java
new OutputFormat(String className)
csharp
new OutputFormat(string className)
go
NewOutputFormat(ClassName *string)

Properties ​

OutputFormat for Avro files.
classNamestringclass_namestrclassNameStringClassNamestringClassName*stringrequired#
HIVE_IGNORE_KEY_TEXTOutputFormathive_ignore_key_textOutputFormatHIVE_IGNORE_KEY_TEXTOutputFormatHIVE_IGNORE_KEY_TEXTOutputFormatHIVE_IGNORE_KEY_TEXTOutputFormatrequiredstatic#
Writes text data with a null key (value only).
OutputFormat for Orc files.
PARQUETOutputFormatparquetOutputFormatPARQUETOutputFormatPARQUETOutputFormatPARQUETOutputFormatrequiredstatic#
OutputFormat for Parquet files.