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.

Partition

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

type Partition struct { CreationTime *time.Time `type:"timestamp"` DatabaseName *string `min:"1" type:"string"` LastAccessTime *time.Time `type:"timestamp"` LastAnalyzedTime *time.Time `type:"timestamp"` Parameters map[string]*string `type:"map"` StorageDescriptor *StorageDescriptor `type:"structure"` TableName *string `min:"1" type:"string"` Values []*string `type:"list"` }

Represents a slice of table data.

CreationTime

Type: *time.Time

The time at which the partition was created.

DatabaseName

Type: *string

The name of the catalog database where the table in question is located.

LastAccessTime

Type: *time.Time

The last time at which the partition was accessed.

LastAnalyzedTime

Type: *time.Time

The last time at which column statistics were computed for this partition.

Parameters

Type: map[string]*string

These key-value pairs define partition parameters.

StorageDescriptor

Describes the physical storage of table data.

TableName

Type: *string

The name of the table in question.

Values

Type: []*string

The values of the partition.

Method

GoString

func (s Partition) GoString() string

GoString returns the string representation

SetCreationTime

func (s *Partition) SetCreationTime(v time.Time) *Partition

SetCreationTime sets the CreationTime field's value.

SetDatabaseName

func (s *Partition) SetDatabaseName(v string) *Partition

SetDatabaseName sets the DatabaseName field's value.

SetLastAccessTime

func (s *Partition) SetLastAccessTime(v time.Time) *Partition

SetLastAccessTime sets the LastAccessTime field's value.

SetLastAnalyzedTime

func (s *Partition) SetLastAnalyzedTime(v time.Time) *Partition

SetLastAnalyzedTime sets the LastAnalyzedTime field's value.

SetParameters

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

SetParameters sets the Parameters field's value.

SetStorageDescriptor

func (s *Partition) SetStorageDescriptor(v *StorageDescriptor) *Partition

SetStorageDescriptor sets the StorageDescriptor field's value.

SetTableName

func (s *Partition) SetTableName(v string) *Partition

SetTableName sets the TableName field's value.

SetValues

func (s *Partition) SetValues(v []*string) *Partition

SetValues sets the Values field's value.

String

func (s Partition) String() string

String returns the string representation

On this page: