Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NativeClient ¶ added in v0.49.0
type NativeClient struct {
// contains filtered or unexported fields
}
func NewNativeClient ¶ added in v0.49.0
func NewNativeClient(olap drivers.OLAPStore) (*NativeClient, error)
func (*NativeClient) Search ¶ added in v0.49.0
func (n *NativeClient) Search(ctx context.Context, dr *NativeSearchQueryRequest) (NativeSearchQueryResponse, error)
type NativeSearchQuery ¶ added in v0.47.0
type NativeSearchQueryRequest ¶ added in v0.47.0
type NativeSearchQueryRequest struct { Context QueryContext `json:"context"` QueryType string `json:"queryType"` DataSource string `json:"dataSource"` SearchDimensions []string `json:"searchDimensions"` VirtualColumns []NativeVirtualColumns `json:"virtualColumns"` Limit int `json:"limit"` Query NativeSearchQuery `json:"query"` Sort NativeSearchSort `json:"sort"` Intervals []string `json:"intervals"` Filter map[string]interface{} `json:"filter"` }
func NewNativeSearchQueryRequest ¶ added in v0.47.0
func NewNativeSearchQueryRequest(source, search string, dims []string, virtualCols []NativeVirtualColumns, limit int, start, end time.Time, filter map[string]interface{}) NativeSearchQueryRequest
type NativeSearchQueryResponse ¶ added in v0.47.0
type NativeSearchSort ¶ added in v0.47.0
type NativeSearchSort struct {
Type string `json:"type"`
}
type NativeVirtualColumns ¶ added in v0.49.0
type QueryContext ¶ added in v0.47.0
type QueryContext struct {
QueryID string `json:"queryId,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.