Skip to content
v2.274.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 * as glue_alpha from '@aws-cdk/aws-glue-alpha';
const outputFormat = glue_alpha.OutputFormat.AVRO;
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue_alpha as glue_alpha

output_format = glue_alpha.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.alpha.*;

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

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

outputFormat := glue_alpha.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.