Documentation ¶
Index ¶
- type AllRowsWildcard
- type AllRowsWildcardAttributes
- type AllRowsWildcardState
- type ColumnWildcard
- type ColumnWildcardAttributes
- func (cw ColumnWildcardAttributes) ExcludedColumnNames() terra.ListValue[terra.StringValue]
- func (cw ColumnWildcardAttributes) InternalRef() (terra.Reference, error)
- func (cw ColumnWildcardAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cw ColumnWildcardAttributes) InternalWithRef(ref terra.Reference) ColumnWildcardAttributes
- type ColumnWildcardState
- type RowFilter
- type RowFilterAttributes
- func (rf RowFilterAttributes) AllRowsWildcard() terra.ListValue[AllRowsWildcardAttributes]
- func (rf RowFilterAttributes) FilterExpression() terra.StringValue
- func (rf RowFilterAttributes) InternalRef() (terra.Reference, error)
- func (rf RowFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rf RowFilterAttributes) InternalWithRef(ref terra.Reference) RowFilterAttributes
- type RowFilterState
- type TableData
- type TableDataAttributes
- func (td TableDataAttributes) ColumnNames() terra.SetValue[terra.StringValue]
- func (td TableDataAttributes) ColumnWildcard() terra.ListValue[ColumnWildcardAttributes]
- func (td TableDataAttributes) DatabaseName() terra.StringValue
- func (td TableDataAttributes) InternalRef() (terra.Reference, error)
- func (td TableDataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (td TableDataAttributes) InternalWithRef(ref terra.Reference) TableDataAttributes
- func (td TableDataAttributes) Name() terra.StringValue
- func (td TableDataAttributes) RowFilter() terra.ListValue[RowFilterAttributes]
- func (td TableDataAttributes) TableCatalogId() terra.StringValue
- func (td TableDataAttributes) TableName() terra.StringValue
- func (td TableDataAttributes) VersionId() terra.StringValue
- type TableDataState
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllRowsWildcard ¶
type AllRowsWildcard struct{}
type AllRowsWildcardAttributes ¶
type AllRowsWildcardAttributes struct {
// contains filtered or unexported fields
}
func (AllRowsWildcardAttributes) InternalRef ¶
func (arw AllRowsWildcardAttributes) InternalRef() (terra.Reference, error)
func (AllRowsWildcardAttributes) InternalTokens ¶
func (arw AllRowsWildcardAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AllRowsWildcardAttributes) InternalWithRef ¶
func (arw AllRowsWildcardAttributes) InternalWithRef(ref terra.Reference) AllRowsWildcardAttributes
type AllRowsWildcardState ¶
type AllRowsWildcardState struct{}
type ColumnWildcard ¶
type ColumnWildcard struct { // ExcludedColumnNames: list of string, optional ExcludedColumnNames terra.ListValue[terra.StringValue] `hcl:"excluded_column_names,attr"` }
type ColumnWildcardAttributes ¶
type ColumnWildcardAttributes struct {
// contains filtered or unexported fields
}
func (ColumnWildcardAttributes) ExcludedColumnNames ¶
func (cw ColumnWildcardAttributes) ExcludedColumnNames() terra.ListValue[terra.StringValue]
func (ColumnWildcardAttributes) InternalRef ¶
func (cw ColumnWildcardAttributes) InternalRef() (terra.Reference, error)
func (ColumnWildcardAttributes) InternalTokens ¶
func (cw ColumnWildcardAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ColumnWildcardAttributes) InternalWithRef ¶
func (cw ColumnWildcardAttributes) InternalWithRef(ref terra.Reference) ColumnWildcardAttributes
type ColumnWildcardState ¶
type ColumnWildcardState struct {
ExcludedColumnNames []string `json:"excluded_column_names"`
}
type RowFilter ¶
type RowFilter struct { // FilterExpression: string, optional FilterExpression terra.StringValue `hcl:"filter_expression,attr"` // AllRowsWildcard: min=0 AllRowsWildcard []AllRowsWildcard `hcl:"all_rows_wildcard,block" validate:"min=0"` }
type RowFilterAttributes ¶
type RowFilterAttributes struct {
// contains filtered or unexported fields
}
func (RowFilterAttributes) AllRowsWildcard ¶
func (rf RowFilterAttributes) AllRowsWildcard() terra.ListValue[AllRowsWildcardAttributes]
func (RowFilterAttributes) FilterExpression ¶
func (rf RowFilterAttributes) FilterExpression() terra.StringValue
func (RowFilterAttributes) InternalRef ¶
func (rf RowFilterAttributes) InternalRef() (terra.Reference, error)
func (RowFilterAttributes) InternalTokens ¶
func (rf RowFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RowFilterAttributes) InternalWithRef ¶
func (rf RowFilterAttributes) InternalWithRef(ref terra.Reference) RowFilterAttributes
type RowFilterState ¶
type RowFilterState struct { FilterExpression string `json:"filter_expression"` AllRowsWildcard []AllRowsWildcardState `json:"all_rows_wildcard"` }
type TableData ¶
type TableData struct { // ColumnNames: set of string, optional ColumnNames terra.SetValue[terra.StringValue] `hcl:"column_names,attr"` // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // TableCatalogId: string, required TableCatalogId terra.StringValue `hcl:"table_catalog_id,attr" validate:"required"` // TableName: string, required TableName terra.StringValue `hcl:"table_name,attr" validate:"required"` // VersionId: string, optional VersionId terra.StringValue `hcl:"version_id,attr"` // ColumnWildcard: min=0 ColumnWildcard []ColumnWildcard `hcl:"column_wildcard,block" validate:"min=0"` // RowFilter: min=0 RowFilter []RowFilter `hcl:"row_filter,block" validate:"min=0"` }
type TableDataAttributes ¶
type TableDataAttributes struct {
// contains filtered or unexported fields
}
func (TableDataAttributes) ColumnNames ¶
func (td TableDataAttributes) ColumnNames() terra.SetValue[terra.StringValue]
func (TableDataAttributes) ColumnWildcard ¶
func (td TableDataAttributes) ColumnWildcard() terra.ListValue[ColumnWildcardAttributes]
func (TableDataAttributes) DatabaseName ¶
func (td TableDataAttributes) DatabaseName() terra.StringValue
func (TableDataAttributes) InternalRef ¶
func (td TableDataAttributes) InternalRef() (terra.Reference, error)
func (TableDataAttributes) InternalTokens ¶
func (td TableDataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TableDataAttributes) InternalWithRef ¶
func (td TableDataAttributes) InternalWithRef(ref terra.Reference) TableDataAttributes
func (TableDataAttributes) Name ¶
func (td TableDataAttributes) Name() terra.StringValue
func (TableDataAttributes) RowFilter ¶
func (td TableDataAttributes) RowFilter() terra.ListValue[RowFilterAttributes]
func (TableDataAttributes) TableCatalogId ¶
func (td TableDataAttributes) TableCatalogId() terra.StringValue
func (TableDataAttributes) TableName ¶
func (td TableDataAttributes) TableName() terra.StringValue
func (TableDataAttributes) VersionId ¶
func (td TableDataAttributes) VersionId() terra.StringValue
type TableDataState ¶
type TableDataState struct { ColumnNames []string `json:"column_names"` DatabaseName string `json:"database_name"` Name string `json:"name"` TableCatalogId string `json:"table_catalog_id"` TableName string `json:"table_name"` VersionId string `json:"version_id"` ColumnWildcard []ColumnWildcardState `json:"column_wildcard"` RowFilter []RowFilterState `json:"row_filter"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
type TimeoutsState ¶
type TimeoutsState struct {
Create string `json:"create"`
}
Click to show internal directories.
Click to hide internal directories.