gluepartition

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Columns

type Columns struct {
	// Comment: string, optional
	Comment terra.StringValue `hcl:"comment,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type ColumnsAttributes

type ColumnsAttributes struct {
	// contains filtered or unexported fields
}

func (ColumnsAttributes) Comment

func (c ColumnsAttributes) Comment() terra.StringValue

func (ColumnsAttributes) InternalRef

func (c ColumnsAttributes) InternalRef() (terra.Reference, error)

func (ColumnsAttributes) InternalTokens

func (c ColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ColumnsAttributes) InternalWithRef

func (c ColumnsAttributes) InternalWithRef(ref terra.Reference) ColumnsAttributes

func (ColumnsAttributes) Name

func (ColumnsAttributes) Type

type ColumnsState

type ColumnsState struct {
	Comment string `json:"comment"`
	Name    string `json:"name"`
	Type    string `json:"type"`
}

type SerDeInfo

type SerDeInfo struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// SerializationLibrary: string, optional
	SerializationLibrary terra.StringValue `hcl:"serialization_library,attr"`
}

type SerDeInfoAttributes

type SerDeInfoAttributes struct {
	// contains filtered or unexported fields
}

func (SerDeInfoAttributes) InternalRef

func (sdi SerDeInfoAttributes) InternalRef() (terra.Reference, error)

func (SerDeInfoAttributes) InternalTokens

func (sdi SerDeInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SerDeInfoAttributes) InternalWithRef

func (sdi SerDeInfoAttributes) InternalWithRef(ref terra.Reference) SerDeInfoAttributes

func (SerDeInfoAttributes) Name

func (SerDeInfoAttributes) Parameters

func (SerDeInfoAttributes) SerializationLibrary

func (sdi SerDeInfoAttributes) SerializationLibrary() terra.StringValue

type SerDeInfoState

type SerDeInfoState struct {
	Name                 string            `json:"name"`
	Parameters           map[string]string `json:"parameters"`
	SerializationLibrary string            `json:"serialization_library"`
}

type SkewedInfo

type SkewedInfo struct {
	// SkewedColumnNames: list of string, optional
	SkewedColumnNames terra.ListValue[terra.StringValue] `hcl:"skewed_column_names,attr"`
	// SkewedColumnValueLocationMaps: map of string, optional
	SkewedColumnValueLocationMaps terra.MapValue[terra.StringValue] `hcl:"skewed_column_value_location_maps,attr"`
	// SkewedColumnValues: list of string, optional
	SkewedColumnValues terra.ListValue[terra.StringValue] `hcl:"skewed_column_values,attr"`
}

type SkewedInfoAttributes

type SkewedInfoAttributes struct {
	// contains filtered or unexported fields
}

func (SkewedInfoAttributes) InternalRef

func (si SkewedInfoAttributes) InternalRef() (terra.Reference, error)

func (SkewedInfoAttributes) InternalTokens

func (si SkewedInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SkewedInfoAttributes) InternalWithRef

func (si SkewedInfoAttributes) InternalWithRef(ref terra.Reference) SkewedInfoAttributes

func (SkewedInfoAttributes) SkewedColumnNames

func (si SkewedInfoAttributes) SkewedColumnNames() terra.ListValue[terra.StringValue]

func (SkewedInfoAttributes) SkewedColumnValueLocationMaps

func (si SkewedInfoAttributes) SkewedColumnValueLocationMaps() terra.MapValue[terra.StringValue]

func (SkewedInfoAttributes) SkewedColumnValues

func (si SkewedInfoAttributes) SkewedColumnValues() terra.ListValue[terra.StringValue]

type SkewedInfoState

type SkewedInfoState struct {
	SkewedColumnNames             []string          `json:"skewed_column_names"`
	SkewedColumnValueLocationMaps map[string]string `json:"skewed_column_value_location_maps"`
	SkewedColumnValues            []string          `json:"skewed_column_values"`
}

type SortColumns

type SortColumns struct {
	// Column: string, required
	Column terra.StringValue `hcl:"column,attr" validate:"required"`
	// SortOrder: number, required
	SortOrder terra.NumberValue `hcl:"sort_order,attr" validate:"required"`
}

type SortColumnsAttributes

type SortColumnsAttributes struct {
	// contains filtered or unexported fields
}

func (SortColumnsAttributes) Column

func (SortColumnsAttributes) InternalRef

func (sc SortColumnsAttributes) InternalRef() (terra.Reference, error)

func (SortColumnsAttributes) InternalTokens

func (sc SortColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SortColumnsAttributes) InternalWithRef

func (SortColumnsAttributes) SortOrder

func (sc SortColumnsAttributes) SortOrder() terra.NumberValue

type SortColumnsState

type SortColumnsState struct {
	Column    string  `json:"column"`
	SortOrder float64 `json:"sort_order"`
}

type StorageDescriptor

type StorageDescriptor struct {
	// BucketColumns: list of string, optional
	BucketColumns terra.ListValue[terra.StringValue] `hcl:"bucket_columns,attr"`
	// Compressed: bool, optional
	Compressed terra.BoolValue `hcl:"compressed,attr"`
	// InputFormat: string, optional
	InputFormat terra.StringValue `hcl:"input_format,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// NumberOfBuckets: number, optional
	NumberOfBuckets terra.NumberValue `hcl:"number_of_buckets,attr"`
	// OutputFormat: string, optional
	OutputFormat terra.StringValue `hcl:"output_format,attr"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// StoredAsSubDirectories: bool, optional
	StoredAsSubDirectories terra.BoolValue `hcl:"stored_as_sub_directories,attr"`
	// Columns: min=0
	Columns []Columns `hcl:"columns,block" validate:"min=0"`
	// SerDeInfo: optional
	SerDeInfo *SerDeInfo `hcl:"ser_de_info,block"`
	// SkewedInfo: optional
	SkewedInfo *SkewedInfo `hcl:"skewed_info,block"`
	// SortColumns: min=0
	SortColumns []SortColumns `hcl:"sort_columns,block" validate:"min=0"`
}

type StorageDescriptorAttributes

type StorageDescriptorAttributes struct {
	// contains filtered or unexported fields
}

func (StorageDescriptorAttributes) BucketColumns

func (StorageDescriptorAttributes) Columns

func (StorageDescriptorAttributes) Compressed

func (StorageDescriptorAttributes) InputFormat

func (StorageDescriptorAttributes) InternalRef

func (sd StorageDescriptorAttributes) InternalRef() (terra.Reference, error)

func (StorageDescriptorAttributes) InternalTokens

func (sd StorageDescriptorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageDescriptorAttributes) InternalWithRef

func (StorageDescriptorAttributes) Location

func (StorageDescriptorAttributes) NumberOfBuckets

func (sd StorageDescriptorAttributes) NumberOfBuckets() terra.NumberValue

func (StorageDescriptorAttributes) OutputFormat

func (sd StorageDescriptorAttributes) OutputFormat() terra.StringValue

func (StorageDescriptorAttributes) Parameters

func (StorageDescriptorAttributes) SerDeInfo

func (StorageDescriptorAttributes) SkewedInfo

func (StorageDescriptorAttributes) SortColumns

func (StorageDescriptorAttributes) StoredAsSubDirectories

func (sd StorageDescriptorAttributes) StoredAsSubDirectories() terra.BoolValue

type StorageDescriptorState

type StorageDescriptorState struct {
	BucketColumns          []string           `json:"bucket_columns"`
	Compressed             bool               `json:"compressed"`
	InputFormat            string             `json:"input_format"`
	Location               string             `json:"location"`
	NumberOfBuckets        float64            `json:"number_of_buckets"`
	OutputFormat           string             `json:"output_format"`
	Parameters             map[string]string  `json:"parameters"`
	StoredAsSubDirectories bool               `json:"stored_as_sub_directories"`
	Columns                []ColumnsState     `json:"columns"`
	SerDeInfo              []SerDeInfoState   `json:"ser_de_info"`
	SkewedInfo             []SkewedInfoState  `json:"skewed_info"`
	SortColumns            []SortColumnsState `json:"sort_columns"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL