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
e87a8262
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
dtables
/
diff_table.go
Search
History
622 lines
|
ISO-8859-1
|
17 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
toCommit
fromCommit
toCommitDate
fromCommitDate
diffTypeColName
diffTypeAdded
diffTypeModified
diffTypeRemoved
_
:
sql.Table
_
:
sql.FilteredTable
_
:
sql.IndexedTable
DiffTable
name
:
string
ddb
:
*doltdb.DoltDB
workingRoot
:
*doltdb.RootValue
head
:
*doltdb.Commit
targetSch
:
schema.Schema
diffTableSch
:
schema.Schema
sqlSch
:
sql.PrimaryKeySchema
partitionFilters
:
[]sql.Expression
table
:
*doltdb.Table
lookup
:
sql.IndexLookup
joiner
:
*rowconv.Joiner
PrimaryKeyChangeWarning
PrimaryKeyChangeWarningCode
:
int
NewDiffTable
(ctx *sql.Context, tblName string, ddb *doltdb.DoltDB, root *doltdb.RootValue, head *doltdb.Commit)
:
(sql.Table, error)
commitMetaColumns
tableData
(ctx *sql.Context, tbl *doltdb.Table, ddb *doltdb.DoltDB)
:
(durable.Index, schema.Schema, error)
TblInfoAtCommit
name
:
string
date
:
*types.Timestamp
tbl
:
*doltdb.Table
tblHash
:
hash.Hash
NewTblInfoAtCommit
(name string, date *types.Timestamp, tbl *doltdb.Table, tblHash hash.Hash)
:
TblInfoAtCommit
_
:
sql.Partition
DiffPartition
to
:
*doltdb.Table
from
:
*doltdb.Table
toName
:
string
fromName
:
string
toDate
:
*types.Timestamp
fromDate
:
*types.Timestamp
toSch
:
schema.Schema
fromSch
:
schema.Schema
Key
()
:
[]byte
GetRowIter
(ctx *sql.Context, ddb *doltdb.DoltDB, joiner *rowconv.Joiner, lookup sql.IndexLookup)
:
(sql.RowIter, error)
rowConvForSchema
(ctx context.Context, vrw types.ValueReadWriter, targetSch, srcSch schema.Schema)
:
(*rowconv.RowConverter, error)
NewDiffPartition
(to, from *doltdb.Table, toName, fromName string, toDate, fromDate *types.Timestamp, toSch, fromSch schema.Schema)
:
*DiffPartition
partitionSelectFunc
SelectFuncForFilters
(nbf *types.NomsBinFormat, filters []sql.Expression)
:
(partitionSelectFunc, error)
_
:
sql.PartitionIter
DiffPartitions
tblName
:
string
cmItr
:
doltdb.CommitItr
cmHashToTblInfo
:
map[hash.Hash]TblInfoAtCommit
selectFunc
:
partitionSelectFunc
toSch
:
schema.Schema
fromSch
:
schema.Schema
NewDiffPartitions
(tblName string, cmItr doltdb.CommitItr, cmHashToTblInfo map[hash.Hash]TblInfoAtCommit, selectFunc partitionSelectFunc, toSch, fromSch schema.Schema)
:
*DiffPartitions
GetDiffTableSchemaAndJoiner
(format *types.NomsBinFormat, fromSch, toSch schema.Schema)
:
(diffTableSchema schema.Schema, j *rowconv.Joiner, err error)
CalculateDiffSchema
(fromSch, toSch schema.Schema)
:
(schema.Schema, error)
*DiffTable
Name
()
:
string
String
()
:
string
Schema
()
:
sql.Schema
Collation
()
:
sql.CollationID
Partitions
(ctx *sql.Context)
:
(sql.PartitionIter, error)
HandledFilters
(filters []sql.Expression)
:
[]sql.Expression
Filters
()
:
[]sql.Expression
WithFilters
(_ *sql.Context, filters []sql.Expression)
:
sql.Table
PartitionRows
(ctx *sql.Context, part sql.Partition)
:
(sql.RowIter, error)
LookupPartitions
(ctx *sql.Context, lookup sql.IndexLookup)
:
(sql.PartitionIter, error)
GetIndexes
(ctx *sql.Context)
:
([]sql.Index, error)
IndexedAccess
(index sql.Index)
:
sql.IndexedTable
*DiffPartition
isDiffablePartition
(ctx *sql.Context)
:
(bool, error)
*DiffPartitions
processCommit
(ctx *sql.Context, cmHash hash.Hash, cm *doltdb.Commit, root *doltdb.RootValue, tbl *doltdb.Table)
:
(*DiffPartition, error)
Next
(ctx *sql.Context)
:
(sql.Partition, error)
Close
(*sql.Context)
:
error
All occurrences
Please wait...
Page is in error, reload to recover