AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

StorageDescriptor

import "github.com/aws/aws-sdk-go/service/glue"

type StorageDescriptor struct { BucketColumns []*string `type:"list"` Columns []*Column `type:"list"` Compressed *bool `type:"boolean"` InputFormat *string `type:"string"` Location *string `type:"string"` NumberOfBuckets *int64 `type:"integer"` OutputFormat *string `type:"string"` Parameters map[string]*string `type:"map"` SerdeInfo *SerDeInfo `type:"structure"` SkewedInfo *SkewedInfo `type:"structure"` SortColumns []*Order `type:"list"` StoredAsSubDirectories *bool `type:"boolean"` }

Describes the physical storage of table data.

BucketColumns

Type: []*string

A list of reducer grouping columns, clustering columns, and bucketing columns in the table.

Columns

A column in a Table.

Compressed

Type: *bool

True if the data in the table is compressed, or False if not.

InputFormat

Type: *string

The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.

Location

Type: *string

The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.

NumberOfBuckets

Type: *int64

Must be specified if the table contains any dimension columns.

OutputFormat

Type: *string

The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.

Parameters

Type: map[string]*string

User-supplied properties in key-value form.

SerdeInfo

Information about a serialization/deserialization program (SerDe) which serves as an extractor and loader.

SkewedInfo

Specifies skewed values in a table. Skewed are ones that occur with very high frequency.

SortColumns

Specifies the sort order of a sorted column.

StoredAsSubDirectories

Type: *bool

True if the table data is stored in subdirectories, or False if not.

Method

GoString

func (s StorageDescriptor) GoString() string

GoString returns the string representation

SetBucketColumns

func (s *StorageDescriptor) SetBucketColumns(v []*string) *StorageDescriptor

SetBucketColumns sets the BucketColumns field's value.

SetColumns

func (s *StorageDescriptor) SetColumns(v []*Column) *StorageDescriptor

SetColumns sets the Columns field's value.

SetCompressed

func (s *StorageDescriptor) SetCompressed(v bool) *StorageDescriptor

SetCompressed sets the Compressed field's value.

SetInputFormat

func (s *StorageDescriptor) SetInputFormat(v string) *StorageDescriptor

SetInputFormat sets the InputFormat field's value.

SetLocation

func (s *StorageDescriptor) SetLocation(v string) *StorageDescriptor

SetLocation sets the Location field's value.

SetNumberOfBuckets

func (s *StorageDescriptor) SetNumberOfBuckets(v int64) *StorageDescriptor

SetNumberOfBuckets sets the NumberOfBuckets field's value.

SetOutputFormat

func (s *StorageDescriptor) SetOutputFormat(v string) *StorageDescriptor

SetOutputFormat sets the OutputFormat field's value.

SetParameters

func (s *StorageDescriptor) SetParameters(v map[string]*string) *StorageDescriptor

SetParameters sets the Parameters field's value.

SetSerdeInfo

func (s *StorageDescriptor) SetSerdeInfo(v *SerDeInfo) *StorageDescriptor

SetSerdeInfo sets the SerdeInfo field's value.

SetSkewedInfo

func (s *StorageDescriptor) SetSkewedInfo(v *SkewedInfo) *StorageDescriptor

SetSkewedInfo sets the SkewedInfo field's value.

SetSortColumns

func (s *StorageDescriptor) SetSortColumns(v []*Order) *StorageDescriptor

SetSortColumns sets the SortColumns field's value.

SetStoredAsSubDirectories

func (s *StorageDescriptor) SetStoredAsSubDirectories(v bool) *StorageDescriptor

SetStoredAsSubDirectories sets the StoredAsSubDirectories field's value.

String

func (s StorageDescriptor) String() string

String returns the string representation

Validate

func (s *StorageDescriptor) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: