Documentation ¶
Index ¶
- Variables
- func Sort(items []Item, tableInfo *TableInfo)
- type DescribingPrinter
- type Item
- type ItemAttribute
- type ItemIndex
- type ItemType
- type KeyAttribute
- type PartialResultsError
- type QueryExecutionPlan
- type Queryable
- type ResultSet
- func (rs *ResultSet) AddNewItem(item Item, attrs ItemAttribute)
- func (rs *ResultSet) Columns() []string
- func (rs *ResultSet) HasNextPage() bool
- func (rs *ResultSet) Hidden(idx int) bool
- func (rs *ResultSet) IsDirty(idx int) bool
- func (rs *ResultSet) IsNew(idx int) bool
- func (rs *ResultSet) Items() []Item
- func (rs *ResultSet) Marked(idx int) bool
- func (rs *ResultSet) MarkedItems() []ItemIndex
- func (rs *ResultSet) NoResults() bool
- func (rs *ResultSet) RefreshColumns()
- func (rs *ResultSet) SetDirty(idx int, dirty bool)
- func (rs *ResultSet) SetHidden(idx int, hidden bool)
- func (rs *ResultSet) SetItems(items []Item)
- func (rs *ResultSet) SetMark(idx int, marked bool)
- func (rs *ResultSet) SetNew(idx int, isNew bool)
- type TableGSI
- type TableInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReadOnly = errors.New("in read-only mode")
Functions ¶
Types ¶
type DescribingPrinter ¶
type Item ¶
type Item map[string]types.AttributeValue
func (Item) AttributeValueAsString ¶
func (Item) PKSK ¶ added in v0.4.0
func (i Item) PKSK(info *TableInfo) (pk types.AttributeValue, sk types.AttributeValue)
type KeyAttribute ¶
type PartialResultsError ¶
type PartialResultsError struct {
// contains filtered or unexported fields
}
func NewPartialResultsError ¶
func NewPartialResultsError(err error) PartialResultsError
func (PartialResultsError) Error ¶
func (pr PartialResultsError) Error() string
func (PartialResultsError) Unwrap ¶
func (pr PartialResultsError) Unwrap() error
type QueryExecutionPlan ¶
type QueryExecutionPlan struct { CanQuery bool IndexName string Expression expression.Expression }
func (QueryExecutionPlan) Describe ¶
func (qep QueryExecutionPlan) Describe(dp DescribingPrinter)
type ResultSet ¶
type ResultSet struct { // Query information TableInfo *TableInfo Query Queryable Created time.Time ExclusiveStartKey map[string]types.AttributeValue // Result information LastEvaluatedKey map[string]types.AttributeValue // contains filtered or unexported fields }
func (*ResultSet) AddNewItem ¶
func (rs *ResultSet) AddNewItem(item Item, attrs ItemAttribute)
func (*ResultSet) HasNextPage ¶ added in v0.3.0
func (*ResultSet) MarkedItems ¶
func (*ResultSet) RefreshColumns ¶
func (rs *ResultSet) RefreshColumns()
type TableGSI ¶
type TableGSI struct { Name string Keys KeyAttribute }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.