@aws-cdk_aws-glue-alpha.InputFormat

class InputFormat ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.InputFormat
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#InputFormat
Javasoftware.amazon.awscdk.services.glue.alpha.InputFormat
Pythonaws_cdk.aws_glue_alpha.InputFormat
TypeScript (source)@aws-cdk/aws-glue-alpha ยป InputFormat

Absolute class name of the Hadoop InputFormat to use when reading table files.

Example

// 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 inputFormat = glue_alpha.InputFormat.AVRO;

Initializer

new InputFormat(className: string)

Parameters

  • className string

Properties

NameTypeDescription
className๐Ÿ”นstring
static AVRO๐Ÿ”นInputFormatInputFormat for Avro files.
static CLOUDTRAIL๐Ÿ”นInputFormatInputFormat for Cloudtrail Logs.
static ORC๐Ÿ”นInputFormatInputFormat for Orc files.
static PARQUET๐Ÿ”นInputFormatInputFormat for Parquet files.
static TEXT๐Ÿ”นInputFormatAn InputFormat for plain text files.

className๐Ÿ”น

Type: string


static AVRO๐Ÿ”น

Type: InputFormat

InputFormat for Avro files.

See also: https://svn.apache.org/repos/infra/websites/production/hive/content/javadocs/r3.1.3/api/org/apache/hadoop/hive/ql/io/avro/AvroContainerInputFormat.html


static CLOUDTRAIL๐Ÿ”น

Type: InputFormat

InputFormat for Cloudtrail Logs.

See also: https://docs.aws.amazon.com/athena/latest/ug/cloudtrail.html


static ORC๐Ÿ”น

Type: InputFormat

InputFormat for Orc files.

See also: https://svn.apache.org/repos/infra/websites/production/hive/content/javadocs/r3.1.3/api/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.html


static PARQUET๐Ÿ”น

Type: InputFormat

InputFormat for Parquet files.

See also: https://svn.apache.org/repos/infra/websites/production/hive/content/javadocs/r3.1.3/api/org/apache/hadoop/hive/ql/io/parquet/MapredParquetInputFormat.html


static TEXT๐Ÿ”น

Type: InputFormat

An InputFormat for plain text files.

Files are broken into lines. Either linefeed or carriage-return are used to signal end of line. Keys are the position in the file, and values are the line of text. JSON & CSV files are examples of this InputFormat

See also: https://hadoop.apache.org/docs/stable/api/org/apache/hadoop/mapred/TextInputFormat.html