Documentation ¶
Index ¶
- type Columns
- type ColumnsAttributes
- func (c ColumnsAttributes) Comment() terra.StringValue
- func (c ColumnsAttributes) InternalRef() (terra.Reference, error)
- func (c ColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ColumnsAttributes) InternalWithRef(ref terra.Reference) ColumnsAttributes
- func (c ColumnsAttributes) Name() terra.StringValue
- func (c ColumnsAttributes) Type() terra.StringValue
- type ColumnsState
- type SerDeInfo
- type SerDeInfoAttributes
- func (sdi SerDeInfoAttributes) InternalRef() (terra.Reference, error)
- func (sdi SerDeInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sdi SerDeInfoAttributes) InternalWithRef(ref terra.Reference) SerDeInfoAttributes
- func (sdi SerDeInfoAttributes) Name() terra.StringValue
- func (sdi SerDeInfoAttributes) Parameters() terra.MapValue[terra.StringValue]
- func (sdi SerDeInfoAttributes) SerializationLibrary() terra.StringValue
- type SerDeInfoState
- type SkewedInfo
- type SkewedInfoAttributes
- func (si SkewedInfoAttributes) InternalRef() (terra.Reference, error)
- func (si SkewedInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (si SkewedInfoAttributes) InternalWithRef(ref terra.Reference) SkewedInfoAttributes
- func (si SkewedInfoAttributes) SkewedColumnNames() terra.ListValue[terra.StringValue]
- func (si SkewedInfoAttributes) SkewedColumnValueLocationMaps() terra.MapValue[terra.StringValue]
- func (si SkewedInfoAttributes) SkewedColumnValues() terra.ListValue[terra.StringValue]
- type SkewedInfoState
- type SortColumns
- type SortColumnsAttributes
- func (sc SortColumnsAttributes) Column() terra.StringValue
- func (sc SortColumnsAttributes) InternalRef() (terra.Reference, error)
- func (sc SortColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc SortColumnsAttributes) InternalWithRef(ref terra.Reference) SortColumnsAttributes
- func (sc SortColumnsAttributes) SortOrder() terra.NumberValue
- type SortColumnsState
- type StorageDescriptor
- type StorageDescriptorAttributes
- func (sd StorageDescriptorAttributes) BucketColumns() terra.ListValue[terra.StringValue]
- func (sd StorageDescriptorAttributes) Columns() terra.ListValue[ColumnsAttributes]
- func (sd StorageDescriptorAttributes) Compressed() terra.BoolValue
- func (sd StorageDescriptorAttributes) InputFormat() terra.StringValue
- func (sd StorageDescriptorAttributes) InternalRef() (terra.Reference, error)
- func (sd StorageDescriptorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd StorageDescriptorAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorAttributes
- func (sd StorageDescriptorAttributes) Location() terra.StringValue
- func (sd StorageDescriptorAttributes) NumberOfBuckets() terra.NumberValue
- func (sd StorageDescriptorAttributes) OutputFormat() terra.StringValue
- func (sd StorageDescriptorAttributes) Parameters() terra.MapValue[terra.StringValue]
- func (sd StorageDescriptorAttributes) SerDeInfo() terra.ListValue[SerDeInfoAttributes]
- func (sd StorageDescriptorAttributes) SkewedInfo() terra.ListValue[SkewedInfoAttributes]
- func (sd StorageDescriptorAttributes) SortColumns() terra.ListValue[SortColumnsAttributes]
- func (sd StorageDescriptorAttributes) StoredAsSubDirectories() terra.BoolValue
- type StorageDescriptorState
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 (c ColumnsAttributes) Name() terra.StringValue
func (ColumnsAttributes) Type ¶
func (c ColumnsAttributes) Type() terra.StringValue
type ColumnsState ¶
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 (sdi SerDeInfoAttributes) Name() terra.StringValue
func (SerDeInfoAttributes) Parameters ¶
func (sdi SerDeInfoAttributes) Parameters() terra.MapValue[terra.StringValue]
func (SerDeInfoAttributes) SerializationLibrary ¶
func (sdi SerDeInfoAttributes) SerializationLibrary() terra.StringValue
type SerDeInfoState ¶
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 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 (sc SortColumnsAttributes) Column() terra.StringValue
func (SortColumnsAttributes) InternalRef ¶
func (sc SortColumnsAttributes) InternalRef() (terra.Reference, error)
func (SortColumnsAttributes) InternalTokens ¶
func (sc SortColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SortColumnsAttributes) InternalWithRef ¶
func (sc SortColumnsAttributes) InternalWithRef(ref terra.Reference) SortColumnsAttributes
func (SortColumnsAttributes) SortOrder ¶
func (sc SortColumnsAttributes) SortOrder() terra.NumberValue
type SortColumnsState ¶
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 (sd StorageDescriptorAttributes) BucketColumns() terra.ListValue[terra.StringValue]
func (StorageDescriptorAttributes) Columns ¶
func (sd StorageDescriptorAttributes) Columns() terra.ListValue[ColumnsAttributes]
func (StorageDescriptorAttributes) Compressed ¶
func (sd StorageDescriptorAttributes) Compressed() terra.BoolValue
func (StorageDescriptorAttributes) InputFormat ¶
func (sd StorageDescriptorAttributes) InputFormat() terra.StringValue
func (StorageDescriptorAttributes) InternalRef ¶
func (sd StorageDescriptorAttributes) InternalRef() (terra.Reference, error)
func (StorageDescriptorAttributes) InternalTokens ¶
func (sd StorageDescriptorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageDescriptorAttributes) InternalWithRef ¶
func (sd StorageDescriptorAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorAttributes
func (StorageDescriptorAttributes) Location ¶
func (sd StorageDescriptorAttributes) Location() terra.StringValue
func (StorageDescriptorAttributes) NumberOfBuckets ¶
func (sd StorageDescriptorAttributes) NumberOfBuckets() terra.NumberValue
func (StorageDescriptorAttributes) OutputFormat ¶
func (sd StorageDescriptorAttributes) OutputFormat() terra.StringValue
func (StorageDescriptorAttributes) Parameters ¶
func (sd StorageDescriptorAttributes) Parameters() terra.MapValue[terra.StringValue]
func (StorageDescriptorAttributes) SerDeInfo ¶
func (sd StorageDescriptorAttributes) SerDeInfo() terra.ListValue[SerDeInfoAttributes]
func (StorageDescriptorAttributes) SkewedInfo ¶
func (sd StorageDescriptorAttributes) SkewedInfo() terra.ListValue[SkewedInfoAttributes]
func (StorageDescriptorAttributes) SortColumns ¶
func (sd StorageDescriptorAttributes) SortColumns() terra.ListValue[SortColumnsAttributes]
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"` }
Click to show internal directories.
Click to hide internal directories.