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.

Table

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

type Table struct { CreateTime *time.Time `type:"timestamp"` CreatedBy *string `min:"1" type:"string"` DatabaseName *string `min:"1" type:"string"` 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"` UpdateTime *time.Time `type:"timestamp"` ViewExpandedText *string `type:"string"` ViewOriginalText *string `type:"string"` }

Represents a collection of related data organized in columns and rows.

CreateTime

Type: *time.Time

Time when the table definition was created in the Data Catalog.

CreatedBy

Type: *string

Person or entity who created the table.

DatabaseName

Type: *string

Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.

Description

Type: *string

Description of the table.

LastAccessTime

Type: *time.Time

Last time the table was accessed. This is usually taken from HDFS, and may not be reliable.

LastAnalyzedTime

Type: *time.Time

Last time column statistics were computed for this table.

Name

Type: *string

Name of the table. For Hive compatibility, this must be entirely lowercase.

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.).

UpdateTime

Type: *time.Time

Last time the table was updated.

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 Table) GoString() string

GoString returns the string representation

SetCreateTime

func (s *Table) SetCreateTime(v time.Time) *Table

SetCreateTime sets the CreateTime field's value.

SetCreatedBy

func (s *Table) SetCreatedBy(v string) *Table

SetCreatedBy sets the CreatedBy field's value.

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetLastAccessTime

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

SetLastAccessTime sets the LastAccessTime field's value.

SetLastAnalyzedTime

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

SetLastAnalyzedTime sets the LastAnalyzedTime field's value.

SetName

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

SetName sets the Name field's value.

SetOwner

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

SetOwner sets the Owner field's value.

SetParameters

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

SetParameters sets the Parameters field's value.

SetPartitionKeys

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

SetPartitionKeys sets the PartitionKeys field's value.

SetRetention

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

SetRetention sets the Retention field's value.

SetStorageDescriptor

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

SetStorageDescriptor sets the StorageDescriptor field's value.

SetTableType

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

SetTableType sets the TableType field's value.

SetUpdateTime

func (s *Table) SetUpdateTime(v time.Time) *Table

SetUpdateTime sets the UpdateTime field's value.

SetViewExpandedText

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

SetViewExpandedText sets the ViewExpandedText field's value.

SetViewOriginalText

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

SetViewOriginalText sets the ViewOriginalText field's value.

String

func (s Table) String() string

String returns the string representation

On this page: