Class InputFormat
(experimental) Absolute class name of the Hadoop InputFormat
to use when reading table files.
Inheritance
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class InputFormat : DeputyBase
Syntax (vb)
Public Class InputFormat
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// 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 inputFormat = InputFormat.AVRO;
Synopsis
Constructors
InputFormat(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InputFormat(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
InputFormat(String) |
Properties
AVRO | (experimental) InputFormat for Avro files. |
ClassName | |
CLOUDTRAIL | (experimental) InputFormat for Cloudtrail Logs. |
ORC | (experimental) InputFormat for Orc files. |
PARQUET | (experimental) InputFormat for Parquet files. |
TEXT | (experimental) An InputFormat for plain text files. |
Constructors
InputFormat(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InputFormat(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InputFormat(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InputFormat(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
InputFormat(String)
public InputFormat(string className)
Parameters
- className System.String
Remarks
Stability: Experimental
Properties
AVRO
(experimental) InputFormat for Avro files.
public static InputFormat AVRO { get; }
Property Value
Remarks
Stability: Experimental
ClassName
public virtual string ClassName { get; }
Property Value
System.String
Remarks
Stability: Experimental
CLOUDTRAIL
(experimental) InputFormat for Cloudtrail Logs.
public static InputFormat CLOUDTRAIL { get; }
Property Value
Remarks
Stability: Experimental
See: https://docs.aws.amazon.com/athena/latest/ug/cloudtrail.html
ORC
(experimental) InputFormat for Orc files.
public static InputFormat ORC { get; }
Property Value
Remarks
Stability: Experimental
See: https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.html
PARQUET
(experimental) InputFormat for Parquet files.
public static InputFormat PARQUET { get; }
Property Value
Remarks
Stability: Experimental
TEXT
(experimental) An InputFormat for plain text files.
public static InputFormat TEXT { get; }
Property Value
Remarks
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
Stability: Experimental
See: https://hadoop.apache.org/docs/stable/api/org/apache/hadoop/mapred/TextInputFormat.html