Beispiel #1
0
func (table *Rdd) Indexes(indexes *hood.Indexes) {
	indexes.Add("rdd__workflow_batch_id", "workflow_batch_id")
	indexes.Add("rdd__protojob_id", "protojob_id")
}
Beispiel #2
0
func (table *Segment) Indexes(indexes *hood.Indexes) {
	indexes.Add("segment__rdd_id", "rdd_id")
	indexes.Add("segment__worker_id", "worker_id")
}
Beispiel #3
0
func (table *WorkflowBatch) Indexes(indexes *hood.Indexes) {
	indexes.Add("workflow_batch__workflow_id", "workflow_id")
	indexes.Add("workflow_batch__start_time", "start_time")
}
Beispiel #4
0
func (table *RddEdge) Indexes(indexes *hood.Indexes) {
	indexes.Add("rdd_edge__source_rdd_id", "source_rdd_id")
	indexes.Add("rdd_edge__dest_rdd_id", "dest_rdd_id")
	indexes.Add("rdd_edge__workflow_edge_id", "workflow_edge_id")
}
Beispiel #5
0
func (table *Protojob) Indexes(indexes *hood.Indexes) {
	indexes.Add("protojob__workflow_id", "workflow_id")
}
Beispiel #6
0
func (table *WorkflowEdge) Indexes(indexes *hood.Indexes) {
	indexes.Add("workflow_edge__source_job_id", "source_job_id")
	indexes.Add("workflow_edge__dest_job_id", "dest_job_id")
}
Beispiel #7
0
func (c *SegmentCopy) Indexes(indexes *hood.Indexes) {
	indexes.Add("segment_copy__segment_id", "segment_id")
	indexes.Add("segment_copy__worker_id", "worker_id")
}
Beispiel #8
0
// Indexes for the user table
func (table *User) Indexes(indexes *hood.Indexes) {
	indexes.AddUnique("name_index", "name")
	indexes.AddUnique("dropbox_uid_index", "dropbox_uid")
}
Beispiel #9
0
func (table *Users) Indexes(indexes *hood.Indexes) {
	indexes.AddUnique("name_index", "first", "last")
}