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.

Segment

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

type Segment struct { SegmentNumber *int64 `type:"integer" required:"true"` TotalSegments *int64 `min:"1" type:"integer" required:"true"` }

Defines a non-overlapping region of a table's partitions, allowing multiple requests to be executed in parallel.

SegmentNumber

Type: *int64

The zero-based index number of the this segment. For example, if the total number of segments is 4, SegmentNumber values will range from zero through three.

SegmentNumber is a required field

TotalSegments

Type: *int64

The total numer of segments.

TotalSegments is a required field

Method

GoString

func (s Segment) GoString() string

GoString returns the string representation

SetSegmentNumber

func (s *Segment) SetSegmentNumber(v int64) *Segment

SetSegmentNumber sets the SegmentNumber field's value.

SetTotalSegments

func (s *Segment) SetTotalSegments(v int64) *Segment

SetTotalSegments sets the TotalSegments field's value.

String

func (s Segment) String() string

String returns the string representation

Validate

func (s *Segment) Validate() error

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

On this page: