Documentation ¶
Index ¶
- Variables
- func GetCollectionNameFromRequest(req any) (any, bool)
- func GetConsistencyLevelFromRequst(req interface{}) (commonpb.ConsistencyLevel, bool)
- func GetDSLFromRequest(req interface{}) (any, bool)
- func GetDbNameFromRequest(req interface{}) (any, bool)
- func GetExprFromRequest(req interface{}) (any, bool)
- func GetFieldNameFromRequest(req interface{}) (any, bool)
- func GetOutputFieldsFromRequest(req interface{}) (any, bool)
- func GetPartitionNameFromRequest(req interface{}) (any, bool)
- func GetPartitionNamesFromRequest(req interface{}) (any, bool)
- func GetQueryParamsFromRequest(req interface{}) (any, bool)
- func GetSearchParamsFromRequest(req interface{}) (any, bool)
- func GetStatusFromResponse(resp interface{}) (*commonpb.Status, bool)
- type CollectionNameGetter
- type ConsistencyLevelGetter
- type DBNameGetter
- type DSLGetter
- type ExprGetter
- type FieldNameGetter
- type OutputFieldsGetter
- type PartitionNameGetter
- type PartitionNamesGetter
- type QueryParamsGetter
- type SearchParamsGetter
- type StatusGetter
Constants ¶
This section is empty.
Variables ¶
View Source
var TraceLogBaseInfoFuncMap = map[string]func(interface{}) (any, bool){ "collection_name": GetCollectionNameFromRequest, "db_name": GetDbNameFromRequest, "partition_name": GetPartitionNameFromRequest, "partition_names": GetPartitionNamesFromRequest, "field_name": GetFieldNameFromRequest, "output_fields": GetOutputFieldsFromRequest, "query_params": GetQueryParamsFromRequest, "expr": GetExprFromRequest, "search_params": GetSearchParamsFromRequest, "dsl": GetDSLFromRequest, }
Functions ¶
func GetConsistencyLevelFromRequst ¶
func GetConsistencyLevelFromRequst(req interface{}) (commonpb.ConsistencyLevel, bool)
func GetDSLFromRequest ¶
func GetDbNameFromRequest ¶
func GetExprFromRequest ¶
func GetFieldNameFromRequest ¶
func GetStatusFromResponse ¶
Types ¶
type CollectionNameGetter ¶
type CollectionNameGetter interface {
GetCollectionName() string
}
type ConsistencyLevelGetter ¶
type ConsistencyLevelGetter interface {
GetConsistencyLevel() commonpb.ConsistencyLevel
}
type DBNameGetter ¶
type DBNameGetter interface {
GetDbName() string
}
type ExprGetter ¶
type ExprGetter interface {
GetExpr() string
}
type FieldNameGetter ¶
type FieldNameGetter interface {
GetFieldName() string
}
type OutputFieldsGetter ¶
type OutputFieldsGetter interface {
GetOutputFields() []string
}
type PartitionNameGetter ¶
type PartitionNameGetter interface {
GetPartitionName() string
}
type PartitionNamesGetter ¶
type PartitionNamesGetter interface {
GetPartitionNames() []string
}
type QueryParamsGetter ¶
type QueryParamsGetter interface {
GetQueryParams() []*commonpb.KeyValuePair
}
type SearchParamsGetter ¶
type SearchParamsGetter interface {
GetSearchParams() []*commonpb.KeyValuePair
}
type StatusGetter ¶
Click to show internal directories.
Click to hide internal directories.