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.

ColumnInfo

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

type ColumnInfo struct { CaseSensitive *bool `type:"boolean"` CatalogName *string `type:"string"` Label *string `type:"string"` Name *string `type:"string" required:"true"` Nullable *string `type:"string" enum:"ColumnNullable"` Precision *int64 `type:"integer"` Scale *int64 `type:"integer"` SchemaName *string `type:"string"` TableName *string `type:"string"` Type *string `type:"string" required:"true"` }

Information about the columns in a query execution result.

CaseSensitive

Type: *bool

Indicates whether values in the column are case-sensitive.

CatalogName

Type: *string

The catalog to which the query results belong.

Label

Type: *string

A column label.

Name

Type: *string

The name of the column.

Name is a required field

Nullable

Type: *string

Indicates the column's nullable status.

Precision

Type: *int64

For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.

Scale

Type: *int64

For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.

SchemaName

Type: *string

The schema name (database name) to which the query results belong.

TableName

Type: *string

The table name for the query results.

Type

Type: *string

The data type of the column.

Type is a required field

Method

GoString

func (s ColumnInfo) GoString() string

GoString returns the string representation

SetCaseSensitive

func (s *ColumnInfo) SetCaseSensitive(v bool) *ColumnInfo

SetCaseSensitive sets the CaseSensitive field's value.

SetCatalogName

func (s *ColumnInfo) SetCatalogName(v string) *ColumnInfo

SetCatalogName sets the CatalogName field's value.

SetLabel

func (s *ColumnInfo) SetLabel(v string) *ColumnInfo

SetLabel sets the Label field's value.

SetName

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

SetName sets the Name field's value.

SetNullable

func (s *ColumnInfo) SetNullable(v string) *ColumnInfo

SetNullable sets the Nullable field's value.

SetPrecision

func (s *ColumnInfo) SetPrecision(v int64) *ColumnInfo

SetPrecision sets the Precision field's value.

SetScale

func (s *ColumnInfo) SetScale(v int64) *ColumnInfo

SetScale sets the Scale field's value.

SetSchemaName

func (s *ColumnInfo) SetSchemaName(v string) *ColumnInfo

SetSchemaName sets the SchemaName field's value.

SetTableName

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

SetTableName sets the TableName field's value.

SetType

func (s *ColumnInfo) SetType(v string) *ColumnInfo

SetType sets the Type field's value.

String

func (s ColumnInfo) String() string

String returns the string representation

On this page: