package awscdkgluealpha import ( _init_ "github.com/aws/aws-cdk-go/awscdkgluealpha/v2/jsii" _jsii_ "github.com/aws/jsii-runtime-go/runtime" ) // Absolute class name of the Hadoop `OutputFormat` to use when writing table files. // // Example: // // 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.NewOutputFormat(jsii.String("className")) // // Experimental. type OutputFormat interface { // Experimental. ClassName() *string } // The jsii proxy struct for OutputFormat type jsiiProxy_OutputFormat struct { _ byte // padding } func (j *jsiiProxy_OutputFormat) ClassName() *string { var returns *string _jsii_.Get( j, "className", &returns, ) return returns } // Experimental. func NewOutputFormat(className *string) OutputFormat { _init_.Initialize() if err := validateNewOutputFormatParameters(className); err != nil { panic(err) } j := jsiiProxy_OutputFormat{} _jsii_.Create( "@aws-cdk/aws-glue-alpha.OutputFormat", []interface{}{className}, &j, ) return &j } // Experimental. func NewOutputFormat_Override(o OutputFormat, className *string) { _init_.Initialize() _jsii_.Create( "@aws-cdk/aws-glue-alpha.OutputFormat", []interface{}{className}, o, ) } func OutputFormat_AVRO() InputFormat { _init_.Initialize() var returns InputFormat _jsii_.StaticGet( "@aws-cdk/aws-glue-alpha.OutputFormat", "AVRO", &returns, ) return returns } func OutputFormat_HIVE_IGNORE_KEY_TEXT() OutputFormat { _init_.Initialize() var returns OutputFormat _jsii_.StaticGet( "@aws-cdk/aws-glue-alpha.OutputFormat", "HIVE_IGNORE_KEY_TEXT", &returns, ) return returns } func OutputFormat_ORC() InputFormat { _init_.Initialize() var returns InputFormat _jsii_.StaticGet( "@aws-cdk/aws-glue-alpha.OutputFormat", "ORC", &returns, ) return returns } func OutputFormat_PARQUET() OutputFormat { _init_.Initialize() var returns OutputFormat _jsii_.StaticGet( "@aws-cdk/aws-glue-alpha.OutputFormat", "PARQUET", &returns, ) return returns }