Documentation ¶
Index ¶
- func ExecuteQuery(conn *grpc.ClientConn, query string) (string, error)
- type Client
- func (c Client) Count(key string, id string, bucket string) (int32, error)
- func (c Client) DeleteShares(dataIDs []string) error
- func (c Client) GetComputationResult(jobUUID string) ([]*ComputationResult, error)
- func (c Client) GetDataList() (string, error)
- func (c Client) GetSchema(dataID string) ([]string, error)
- func (c Client) InsertModelParams(jobUUID string, params string, pieceId int32) error
- func (c Client) InsertShares(dataID string, schema []string, pieceID int32, shares string, sent_at string) error
- type ComputationResult
- type DataIdResponse
- type GetDataListResult
- type M2DbClient
- type Meta
- type MetaResponse
- type MetaResult
- type Share
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteQuery ¶
func ExecuteQuery(conn *grpc.ClientConn, query string) (string, error)
(conn)にクエリリクエストを送る
Types ¶
type Client ¶
type Client struct{}
func (Client) GetComputationResult ¶
func (c Client) GetComputationResult(jobUUID string) ([]*ComputationResult, error)
DBGから計算結果を得る
func (Client) GetDataList ¶
func (Client) InsertModelParams ¶
DBGにモデルパラメータを送信する
type ComputationResult ¶
type ComputationResult struct { ID string `json:"id"` JobUUID string `json:"job_uuid"` Status int32 `json:"status"` Result string `json:"result"` Meta MetaResult `json:"meta"` }
type DataIdResponse ¶
type DataIdResponse struct {
DataID string `json:"data_id"`
}
type GetDataListResult ¶
type M2DbClient ¶
type MetaResponse ¶
type MetaResult ¶
type MetaResult struct {
PieceID int32 `json:"piece_id"`
}
Click to show internal directories.
Click to hide internal directories.