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
2aa11235
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
index
/
dolt_index.go
Search
History
975 lines
|
ISO-8859-1
|
25 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
DoltTableable
DoltTable
(*sql.Context)
:
(*doltdb.Table, error)
DataCacheKey
(*sql.Context)
:
(doltdb.DataCacheKey, bool, error)
DoltIndex
sql.FilteredIndex
sql.OrderedIndex
Schema
()
:
schema.Schema
IndexSchema
()
:
schema.Schema
Format
()
:
*types.NomsBinFormat
IsPrimaryKey
()
:
bool
getDurableState
(*sql.Context, DoltTableable)
:
(*durableIndexState, error)
coversColumns
(s *durableIndexState, columns []uint64)
:
bool
sqlRowConverter
(*durableIndexState, []uint64)
:
*KVToSqlRowConverter
lookupTags
(s *durableIndexState)
:
map[uint64]int
DoltDiffIndexesFromTable
(ctx context.Context, db, tbl string, t *doltdb.Table)
:
(indexes []sql.Index, err error)
DoltIndexesFromTable
(ctx context.Context, db, tbl string, t *doltdb.Table)
:
(indexes []sql.Index, err error)
TableHasIndex
(ctx context.Context, db, tbl string, t *doltdb.Table, i sql.Index)
:
(bool, error)
indexesMatch
(a sql.Index, b sql.Index)
:
bool
DoltHistoryIndexesFromTable
(ctx context.Context, db, tbl string, t *doltdb.Table)
:
([]sql.Index, error)
getPrimaryKeyIndex
(ctx context.Context, db, tbl string, t *doltdb.Table, sch schema.Schema)
:
(sql.Index, error)
getSecondaryIndex
(ctx context.Context, db, tbl string, t *doltdb.Table, sch schema.Schema, idx schema.Index)
:
(sql.Index, error)
durableIndexState
key
:
doltdb.DataCacheKey
Primary
:
durable.Index
Secondary
:
durable.Index
coversAllCols
:
uint32
cachedLookupTags
:
atomic.Value
cachedSqlRowConverter
:
atomic.Value
cachedProjections
:
atomic.Value
projectionsEqual
(x, y []uint64)
:
bool
cachedDurableIndexes
val
:
atomic.Value
doltIndex
id
:
string
tblName
:
string
dbName
:
string
columns
:
[]schema.Column
indexSch
:
schema.Schema
tableSch
:
schema.Schema
unique
:
bool
isPk
:
bool
comment
:
string
order
:
sql.IndexOrder
constrainedToLookupExpression
:
bool
vrw
:
types.ValueReadWriter
ns
:
tree.NodeStore
keyBld
:
*val.TupleBuilder
cache
:
cachedDurableIndexes
doltBinFormat
:
bool
prefixLengths
:
[]uint16
_
:
DoltIndex
sharePool
maybeGetKeyBuilder
(idx durable.Index)
:
*val.TupleBuilder
pruneEmptyRanges
(sqlRanges []sql.Range)
:
(pruned []sql.Range, err error)
rangeCutIsBinding
(c sql.RangeCut)
:
bool
getRangeCutValue
(cut sql.RangeCut, typ sql.Type)
:
(interface{}, error)
DropTrailingAllColumnExprs
(r sql.Range)
:
sql.Range
SplitNullsFromRange
(r sql.Range)
:
([]sql.Range, error)
SplitNullsFromRanges
(rs []sql.Range)
:
([]sql.Range, error)
*durableIndexState
coversAllColumns
(i *doltIndex)
:
bool
lookupTags
(i *doltIndex)
:
map[uint64]int
sqlRowConverter
(i *doltIndex, proj []uint64)
:
*KVToSqlRowConverter
*cachedDurableIndexes
load
()
:
*durableIndexState
store
(v *durableIndexState)
*doltIndex
CanSupport
(...sql.Range)
:
bool
ColumnExpressionTypes
()
:
[]sql.ColumnExpressionType
getDurableState
(ctx *sql.Context, ti DoltTableable)
:
(*durableIndexState, error)
prollyRanges
(ctx *sql.Context, ns tree.NodeStore, iranges ...sql.Range)
:
([]prolly.Range, error)
nomsRanges
(ctx *sql.Context, iranges ...sql.Range)
:
([]*noms.ReadRange, error)
sqlRowConverter
(s *durableIndexState, columns []uint64)
:
*KVToSqlRowConverter
lookupTags
(s *durableIndexState)
:
map[uint64]int
coversColumns
(s *durableIndexState, cols []uint64)
:
bool
HandledFilters
(filters []sql.Expression)
:
[]sql.Expression
Order
()
:
sql.IndexOrder
Database
()
:
string
Expressions
()
:
[]string
ID
()
:
string
IsUnique
()
:
bool
IsPrimaryKey
()
:
bool
Comment
()
:
string
PrefixLengths
()
:
[]uint16
IndexType
()
:
string
IsGenerated
()
:
bool
Schema
()
:
schema.Schema
IndexSchema
()
:
schema.Schema
Table
()
:
string
Format
()
:
*types.NomsBinFormat
keysToTuple
(ctx *sql.Context, keys []interface{})
:
(types.Tuple, error)
trimRangeCutValue
(to int, keyPart interface{})
:
interface{}
prollyRangesFromSqlRanges
(ctx context.Context, ns tree.NodeStore, ranges []sql.Range, tb *val.TupleBuilder)
:
([]prolly.Range, error)
All occurrences
Please wait...
Page is in error, reload to recover