toJson method
Implementation
Map<String, dynamic> toJson() {
final bucketColumns = this.bucketColumns;
final columns = this.columns;
final compressed = this.compressed;
final inputFormat = this.inputFormat;
final location = this.location;
final numberOfBuckets = this.numberOfBuckets;
final outputFormat = this.outputFormat;
final parameters = this.parameters;
final schemaReference = this.schemaReference;
final serdeInfo = this.serdeInfo;
final skewedInfo = this.skewedInfo;
final sortColumns = this.sortColumns;
final storedAsSubDirectories = this.storedAsSubDirectories;
return {
if (bucketColumns != null) 'BucketColumns': bucketColumns,
if (columns != null) 'Columns': columns,
if (compressed != null) 'Compressed': compressed,
if (inputFormat != null) 'InputFormat': inputFormat,
if (location != null) 'Location': location,
if (numberOfBuckets != null) 'NumberOfBuckets': numberOfBuckets,
if (outputFormat != null) 'OutputFormat': outputFormat,
if (parameters != null) 'Parameters': parameters,
if (schemaReference != null) 'SchemaReference': schemaReference,
if (serdeInfo != null) 'SerdeInfo': serdeInfo,
if (skewedInfo != null) 'SkewedInfo': skewedInfo,
if (sortColumns != null) 'SortColumns': sortColumns,
if (storedAsSubDirectories != null)
'StoredAsSubDirectories': storedAsSubDirectories,
};
}