Skip to content

Commit 8b3ffd4

Browse files
committed
fix: missing file
1 parent cb634d8 commit 8b3ffd4

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

internal/schema/snapshot.go

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
package schema
2+
3+
import "github.com/boringsql/dryrun/pkg/snapshot"
4+
5+
// Snapshot types.
6+
type (
7+
SchemaSnapshot = snapshot.SchemaSnapshot
8+
Table = snapshot.Table
9+
Column = snapshot.Column
10+
Constraint = snapshot.Constraint
11+
ConstraintKind = snapshot.ConstraintKind
12+
Index = snapshot.Index
13+
ColumnStats = snapshot.ColumnStats
14+
PartitionInfo = snapshot.PartitionInfo
15+
PartitionStrategy = snapshot.PartitionStrategy
16+
PartitionChild = snapshot.PartitionChild
17+
RlsPolicy = snapshot.RlsPolicy
18+
Trigger = snapshot.Trigger
19+
EnumType = snapshot.EnumType
20+
DomainType = snapshot.DomainType
21+
CompositeType = snapshot.CompositeType
22+
CompositeField = snapshot.CompositeField
23+
View = snapshot.View
24+
Function = snapshot.Function
25+
Volatility = snapshot.Volatility
26+
Extension = snapshot.Extension
27+
GucSetting = snapshot.GucSetting
28+
StaleStatsEntry = snapshot.StaleStatsEntry
29+
QualifiedName = snapshot.QualifiedName
30+
TableSizing = snapshot.TableSizing
31+
TableActivity = snapshot.TableActivity
32+
IndexSizing = snapshot.IndexSizing
33+
IndexActivity = snapshot.IndexActivity
34+
NodeIdentity = snapshot.NodeIdentity
35+
TableSizingEntry = snapshot.TableSizingEntry
36+
IndexSizingEntry = snapshot.IndexSizingEntry
37+
ColumnStatsEntry = snapshot.ColumnStatsEntry
38+
TableActivityEntry = snapshot.TableActivityEntry
39+
IndexActivityEntry = snapshot.IndexActivityEntry
40+
PlannerStatsSnapshot = snapshot.PlannerStatsSnapshot
41+
ActivityStatsSnapshot = snapshot.ActivityStatsSnapshot
42+
AnnotatedSchema = snapshot.AnnotatedSchema
43+
MergedActivity = snapshot.MergedActivity
44+
NodeActivity = snapshot.NodeActivity
45+
)
46+
47+
// Enum values.
48+
const (
49+
ConstraintPrimaryKey = snapshot.ConstraintPrimaryKey
50+
ConstraintForeignKey = snapshot.ConstraintForeignKey
51+
ConstraintUnique = snapshot.ConstraintUnique
52+
ConstraintCheck = snapshot.ConstraintCheck
53+
ConstraintExclusion = snapshot.ConstraintExclusion
54+
55+
PartitionRange = snapshot.PartitionRange
56+
PartitionList = snapshot.PartitionList
57+
PartitionHash = snapshot.PartitionHash
58+
59+
VolatilityImmutable = snapshot.VolatilityImmutable
60+
VolatilityStable = snapshot.VolatilityStable
61+
VolatilityVolatile = snapshot.VolatilityVolatile
62+
)
63+
64+
// Functions.
65+
var (
66+
ConstraintKindFromPg = snapshot.ConstraintKindFromPg
67+
PartitionStrategyFromPg = snapshot.PartitionStrategyFromPg
68+
VolatilityFromPg = snapshot.VolatilityFromPg
69+
DetectStaleStats = snapshot.DetectStaleStats
70+
71+
ComputeContentHash = snapshot.ComputeContentHash
72+
ComputePlannerContentHash = snapshot.ComputePlannerContentHash
73+
ComputeActivityContentHash = snapshot.ComputeActivityContentHash
74+
)

0 commit comments

Comments
 (0)