Documentation
¶
Index ¶
- func Sort(items []Item, tableInfo *TableInfo)
- type Item
- type ItemAttribute
- type ItemIndex
- type ItemType
- type KeyAttribute
- type QueryExecutionPlan
- type Queryable
- type ResultSet
- func (rs *ResultSet) AddNewItem(item Item, attrs ItemAttribute)
- func (rs *ResultSet) Columns() []string
- 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) 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 TableInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyAttribute ¶
type QueryExecutionPlan ¶
type QueryExecutionPlan struct {
CanQuery bool
Expression expression.Expression
}
type Queryable ¶
type Queryable interface {
String() string
Plan(tableInfo *TableInfo) (*QueryExecutionPlan, error)
}
type ResultSet ¶
type ResultSet struct {
TableInfo *TableInfo
Query Queryable
// contains filtered or unexported fields
}
func (*ResultSet) AddNewItem ¶
func (rs *ResultSet) AddNewItem(item Item, attrs ItemAttribute)
func (*ResultSet) MarkedItems ¶
func (*ResultSet) RefreshColumns ¶
func (rs *ResultSet) RefreshColumns()
type TableInfo ¶
type TableInfo struct {
Name string
Keys KeyAttribute
DefinedAttributes []string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.