class InputFormat
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.Alpha.InputFormat |
![]() | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#InputFormat |
![]() | software.amazon.awscdk.services.glue.alpha.InputFormat |
![]() | aws_cdk.aws_glue_alpha.InputFormat |
![]() | @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
Name | Type | Description |
---|---|---|
class | string | |
static AVRO | Input | InputFormat for Avro files. |
static CLOUDTRAIL | Input | InputFormat for Cloudtrail Logs. |
static ORC | Input | InputFormat for Orc files. |
static PARQUET | Input | InputFormat for Parquet files. |
static TEXT | Input | An InputFormat for plain text files. |
className
Type:
string
static AVRO
Type:
Input
InputFormat for Avro files.
static CLOUDTRAIL
Type:
Input
InputFormat for Cloudtrail Logs.
See also: https://docs.aws.amazon.com/athena/latest/ug/cloudtrail.html
static ORC
Type:
Input
InputFormat for Orc files.
static PARQUET
Type:
Input
InputFormat for Parquet files.
static TEXT
Type:
Input
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