Documentation ¶
Overview ¶
csv 内存表 tabu 2014-08-05
Index ¶
- Constants
- func LessFloatAES(p1, p2 string) bool
- func LessFloatDES(p1, p2 string) bool
- func LessStringAES(p1, p2 string) bool
- func LessStringDES(p1, p2 string) bool
- func OrderedBy(less []ColumnLess) *sorter
- type ColumnLess
- type HashIndex
- type KV
- type LessFunc
- type Predicate
- type Table
- func (t *Table) AddColumns(count int)
- func (t *Table) Append(row []string)
- func (t *Table) ColumnCount() int
- func (t *Table) CreateHashIndex(cols ...string) *HashIndex
- func (t *Table) Distinct(cols ...string) *Table
- func (t *Table) DistinctI(cols []int) *Table
- func (t *Table) FindAll(start int, f Predicate) *Table
- func (t *Table) FindFirst(start int, f Predicate) int
- func (t *Table) Get(i int, column string) string
- func (t *Table) GetCount() int
- func (t *Table) Map(names []string) ([]int, bool)
- func (t *Table) MapOf(column string) (index int, ok bool)
- func (t *Table) OrderBy(columnLessFunc ...interface{}) *Table
- func (t *Table) Query(values ...KV) *Table
- func (t *Table) RowCount() int
- func (t *Table) Search(orderedColumnValue ...KV) int
- func (t *Table) SetColumns(columns []string)
Constants ¶
View Source
const ( OrderAES = 1 OrderDES = -1 )
Variables ¶
This section is empty.
Functions ¶
func LessFloatAES ¶
func LessFloatDES ¶
func LessStringAES ¶
func LessStringDES ¶
func OrderedBy ¶
func OrderedBy(less []ColumnLess) *sorter
Types ¶
type ColumnLess ¶
type Table ¶
func (*Table) AddColumns ¶
func (*Table) ColumnCount ¶
func (*Table) CreateHashIndex ¶
hash index
func (*Table) SetColumns ¶
Click to show internal directories.
Click to hide internal directories.