Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// state
FAILED = "FAILED"
)
Functions ¶
Types ¶
type ClientTypeSignature ¶
type ClientTypeSignature struct {
RawType string `json:"rawType"`
TypeArguments []interface{} `json:"typeArguments"`
LiteralArguments []interface{} `json:"literalArguments"`
Arguments []ClientTypeSignatureParameter `json:"arguments"`
}
type ClientTypeSignatureParameter ¶
type ClientTypeSignatureParameter struct {
Kind interface{} `json:"kind"`
Value interface{} `json:"value"`
}
type Column ¶
type Column struct {
Name string `json:"name"`
Type string `json:"type`
TypeSignature ClientTypeSignature `json:"typeSignature"`
}
type ErrorLocation ¶
type FailerInfo ¶
type FailerInfo struct {
Type string `json:"type"`
Message string `json:"message"`
Cause interface{} `json:"cause"`
Suppressed []interface{} `json:"Suppressed"`
Stack []string `json:"stack"`
ErrorLocation ErrorLocation `json:"errorLocation"`
}
type QueryError ¶
type QueryError struct {
Message string `json:"message"`
SqlState string `json:"sqlState"`
ErrorName string `json:"errorName"`
ErrorType string `json:"errorType"`
ErrorLocation ErrorLocation `json:"errorLocation"`
FailerInfo FailerInfo `json:"failureInfo"`
}
func (QueryError) Error ¶
func (err QueryError) Error() string
type QueryResult ¶
type QueryResult struct {
ID string `json:"id"`
InfoUri string `json:"infoUri"`
NextUri string `json:"nextUri"`
Columns Columns `json:"columns"`
Data Data `json:"data"`
Stats StatementStats `json:"stats"`
Error QueryError `json:"error"`
UpdateType string `json:"updateType"`
UpdateCount int `json:"updateCount"`
Presto *Presto `json:"-"`
}
func (*QueryResult) Next ¶
func (this *QueryResult) Next() (*QueryResult, error)
type StageStats ¶
type StageStats struct {
StageID string `json:"stageId"`
State string `json:"state"`
Done string `json:"done"`
Nodes string `json:"nodes"`
TotalSplits int `json:"totalSplits"`
QueuedSplits int `json:"queuedSplits"`
RunningSplits int `json:"runningSplits"`
CompleteSplits int `json:"completeSplits"`
UserMillis int `json:"userMillis"`
CpuMillis int `json:"cpuMillis"`
WallTimeMillis int `json:"wallTimeMillis"`
ProcessedRows int `json:"processedRows"`
ProcessedBytes int `json:"processedBytes"`
SubStages []StageStats `json:"subStages"`
}
type StatementStats ¶
type StatementStats struct {
State string `json:"state"`
Queued bool `json:"queued"`
Nodes int `json:"nodes"`
TotalSplits int `json:"totalSplits"`
QueuedSplits int `json:"queuedSplits"`
RunningSplits int `json:"runningSplits"`
CompleteSplits int `json:"completeSplits"`
UserMillis int `json:"userMillis"`
CpuMillis int `json:"cpuMillis"`
WallTimeMillis int `json:"wallTimeMillis"`
ProcessedRows int `json:"processedRows"`
ProcessedBytes int `json:"processedBytes"`
RootState StageStats `json:"rootState"`
}
Click to show internal directories.
Click to hide internal directories.