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.

TableInput

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

type TableInput struct { Description *string `type:"string"` LastAccessTime *time.Time `type:"timestamp"` LastAnalyzedTime *time.Time `type:"timestamp"` Name *string `min:"1" type:"string" required:"true"` Owner *string `min:"1" type:"string"` Parameters map[string]*string `type:"map"` PartitionKeys []*Column `type:"list"` Retention *int64 `type:"integer"` StorageDescriptor *StorageDescriptor `type:"structure"` TableType *string `type:"string"` ViewExpandedText *string `type:"string"` ViewOriginalText *string `type:"string"` }

Structure used to create or update the table.

Description

Type: *string

Description of the table.

LastAccessTime

Type: *time.Time

Last time the table was accessed.

LastAnalyzedTime

Type: *time.Time

Last time column statistics were computed for this table.

Name

Type: *string

Name of the table. For Hive compatibility, this is folded to lowercase when it is stored.

Name is a required field

Owner

Type: *string

Owner of the table.

Parameters

Type: map[string]*string

These key-value pairs define properties associated with the table.

PartitionKeys

A column in a Table.

Retention

Type: *int64

Retention time for this table.

StorageDescriptor

Describes the physical storage of table data.

TableType

Type: *string

The type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.).

ViewExpandedText

Type: *string

If the table is a view, the expanded text of the view; otherwise null.

ViewOriginalText

Type: *string

If the table is a view, the original text of the view; otherwise null.

Method

GoString

func (s TableInput) GoString() string

GoString returns the string representation

SetDescription

func (s *TableInput) SetDescription(v string) *TableInput

SetDescription sets the Description field's value.

SetLastAccessTime

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

SetLastAccessTime sets the LastAccessTime field's value.

SetLastAnalyzedTime

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

SetLastAnalyzedTime sets the LastAnalyzedTime field's value.

SetName

func (s *TableInput) SetName(v string) *TableInput

SetName sets the Name field's value.

SetOwner

func (s *TableInput) SetOwner(v string) *TableInput

SetOwner sets the Owner field's value.

SetParameters

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

SetParameters sets the Parameters field's value.

SetPartitionKeys

func (s *TableInput) SetPartitionKeys(v []*Column) *TableInput

SetPartitionKeys sets the PartitionKeys field's value.

SetRetention

func (s *TableInput) SetRetention(v int64) *TableInput

SetRetention sets the Retention field's value.

SetStorageDescriptor

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

SetStorageDescriptor sets the StorageDescriptor field's value.

SetTableType

func (s *TableInput) SetTableType(v string) *TableInput

SetTableType sets the TableType field's value.

SetViewExpandedText

func (s *TableInput) SetViewExpandedText(v string) *TableInput

SetViewExpandedText sets the ViewExpandedText field's value.

SetViewOriginalText

func (s *TableInput) SetViewOriginalText(v string) *TableInput

SetViewOriginalText sets the ViewOriginalText field's value.

String

func (s TableInput) String() string

String returns the string representation

Validate

func (s *TableInput) Validate() error

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

On this page: