MCPcopy Create free account
hub / github.com/apache/incubator-pegasus / PrintAllSummary

Function PrintAllSummary

admin-cli/executor/bulk_load.go:275–286  ·  view source on GitHub ↗
(client *Client, tableName string, tableStatus admin.BulkLoadStatus)

Source from the content-addressed store, hash-verified

273}
274
275func PrintAllSummary(client *Client, tableName string, tableStatus admin.BulkLoadStatus) {
276 var tList []interface{}
277 type summaryStruct struct {
278 TName string `json:"TableName"`
279 TStatus string `json:"TableStatus"`
280 }
281 tList = append(tList, summaryStruct{
282 TName: tableName,
283 TStatus: tableStatus.String(),
284 })
285 tabular.Print(client, tList)
286}
287
288func PrintSingleDownloading(client *Client, resp *admin.QueryBulkLoadResponse, partitionIndex int, detailed bool) {
289 stateMap := resp.GetBulkLoadStates()[partitionIndex]

Callers 2

PrintAllOthersFunction · 0.85
PrintAllCleanupFlagFunction · 0.85

Calls 2

StringMethod · 0.65
PrintMethod · 0.65

Tested by

no test coverage detected