crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
88ec14b1
ROOT
/
go
/
libraries
/
doltcore
/
schema
/
index_coll.go
Search
History
448 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
IndexCollection
AddIndex
(indexes ...Index)
AddIndexByColNames
(indexName string, cols []string, prefixLengths []uint16, props IndexProperties)
:
(Index, error)
AddIndexByColTags
(indexName string, tags []uint64, prefixLengths []uint16, props IndexProperties)
:
(Index, error)
UnsafeAddIndexByColTags
(indexName string, tags []uint64, prefixLengths []uint16, props IndexProperties)
:
(Index, error)
AllIndexes
()
:
[]Index
Contains
(indexName string)
:
bool
Count
()
:
int
Equals
(other IndexCollection)
:
bool
GetByName
(indexName string)
:
Index
GetByNameCaseInsensitive
(indexName string)
:
(Index, bool)
GetIndexByColumnNames
(cols ...string)
:
(Index, bool)
GetIndexByTags
(tags ...uint64)
:
(Index, bool)
IndexesWithColumn
(columnName string)
:
[]Index
IndexesWithTag
(tag uint64)
:
[]Index
Iter
(cb func(index Index) (stop bool, err error))
:
error
Merge
(indexes ...Index)
RemoveIndex
(indexName string)
:
(Index, error)
RenameIndex
(oldName, newName string)
:
(Index, error)
SetPks
([]uint64)
:
error
IndexProperties
IsUnique
:
bool
IsUserDefined
:
bool
Comment
:
string
indexCollectionImpl
colColl
:
*ColCollection
indexes
:
map[string]*indexImpl
colTagToIndex
:
map[uint64][]*indexImpl
pks
:
[]uint64
NewIndexCollection
(cols *ColCollection, pkCols *ColCollection)
:
IndexCollection
validateColumnIndexable
(c Column)
:
error
combineAllTags
(tags []uint64, pks []uint64)
:
[]uint64
*indexCollectionImpl
AddIndex
(indexes ...Index)
AddIndexByColNames
(indexName string, cols []string, prefixLengths []uint16, props IndexProperties)
:
(Index, error)
AddIndexByColTags
(indexName string, tags []uint64, prefixLengths []uint16, props IndexProperties)
:
(Index, error)
UnsafeAddIndexByColTags
(indexName string, tags []uint64, prefixLengths []uint16, props IndexProperties)
:
(Index, error)
AllIndexes
()
:
[]Index
Contains
(indexName string)
:
bool
Count
()
:
int
Equals
(other IndexCollection)
:
bool
GetByName
(indexName string)
:
Index
GetByNameCaseInsensitive
(indexName string)
:
(Index, bool)
hasIndexOnColumns
(cols ...string)
:
bool
GetIndexByColumnNames
(cols ...string)
:
(Index, bool)
GetIndexByTags
(tags ...uint64)
:
(Index, bool)
hasIndexOnTags
(tags ...uint64)
:
bool
IndexesWithColumn
(columnName string)
:
[]Index
IndexesWithTag
(tag uint64)
:
[]Index
Iter
(cb func(index Index) (stop bool, err error))
:
error
Merge
(indexes ...Index)
RemoveIndex
(indexName string)
:
(Index, error)
RenameIndex
(oldName, newName string)
:
(Index, error)
columnNamesToTags
(cols []string)
:
([]uint64, bool)
containsColumnTagCollection
(tags ...uint64)
:
*indexImpl
removeIndex
(index *indexImpl)
tagsExist
(tags ...uint64)
:
bool
SetPks
(tags []uint64)
:
error
All occurrences
Please wait...
Page is in error, reload to recover