Documentation
¶
Index ¶
- func ExpectedArrayScanResponse_string(docs tc.KeyValues, jsonPath string, low, high string, inclusion int64, ...) tc.ArrayIndexScanResponse
- func ExpectedLookupResponse_json(docs tc.KeyValues, jsonPath string, value map[string]interface{}) tc.ScanResponse
- func ExpectedLookupResponse_nil(docs tc.KeyValues, jsonPath string) tc.ScanResponse
- func ExpectedMultiScanCount(docs tc.KeyValues, compositeFieldPaths []string, scans qc.Scans, ...) int
- func ExpectedMultiScanResponse(docs tc.KeyValues, compositeFieldPaths []string, scans qc.Scans, ...) tc.ScanResponse
- func ExpectedMultiScanResponse_Primary(docs tc.KeyValues, scans qc.Scans, reverse, distinct bool, offset, limit int64) tc.ScanResponse
- func ExpectedScanAllResponse(docs tc.KeyValues, jsonPath string) tc.ScanResponse
- func ExpectedScanAllResponse_json(docs tc.KeyValues, jsonPath string) tc.ScanResponse
- func ExpectedScanLimitResponse_string(docs tc.KeyValues, jsonPath string, low, high string, inclusion, limit int64) tc.ScanResponse
- func ExpectedScanResponse_RangePrimary(docs tc.KeyValues, low, high string, inclusion int64) tc.ScanResponse
- func ExpectedScanResponse_bool(docs tc.KeyValues, jsonPath string, value bool, inclusion int64) tc.ScanResponse
- func ExpectedScanResponse_float64(docs tc.KeyValues, jsonPath string, low, high float64, inclusion int64) tc.ScanResponse
- func ExpectedScanResponse_int64(docs tc.KeyValues, jsonPath string, low, high int64, inclusion int64) tc.ScanResponse
- func ExpectedScanResponse_string(docs tc.KeyValues, jsonPath string, low, high string, inclusion int64) tc.ScanResponse
- func LoadJSONFromCompressedFile(path, docidfield string) tc.KeyValues
- func PrintResultList(resultList ResultList)
- type Result
- type ResultList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectedLookupResponse_json ¶
func ExpectedLookupResponse_json(docs tc.KeyValues, jsonPath string, value map[string]interface{}) tc.ScanResponse
Lookup for Json object from list of docs
func ExpectedLookupResponse_nil ¶
func ExpectedLookupResponse_nil(docs tc.KeyValues, jsonPath string) tc.ScanResponse
Lookup for nil
func ExpectedMultiScanCount ¶
func ExpectedMultiScanResponse_Primary ¶
func ExpectedMultiScanResponse_Primary(docs tc.KeyValues, scans qc.Scans, reverse, distinct bool, offset, limit int64) tc.ScanResponse
MultiScan for Primary index
func ExpectedScanAllResponse ¶
func ExpectedScanAllResponse(docs tc.KeyValues, jsonPath string) tc.ScanResponse
ScanAll for all datatypes
func ExpectedScanAllResponse_json ¶
func ExpectedScanAllResponse_json(docs tc.KeyValues, jsonPath string) tc.ScanResponse
ScanAll for all json object types
func ExpectedScanResponse_RangePrimary ¶
func ExpectedScanResponse_RangePrimary(docs tc.KeyValues, low, high string, inclusion int64) tc.ScanResponse
Range scan for Primary index
func ExpectedScanResponse_bool ¶
func ExpectedScanResponse_bool(docs tc.KeyValues, jsonPath string, value bool, inclusion int64) tc.ScanResponse
Currently supports only inclusion 3
func PrintResultList ¶
func PrintResultList(resultList ResultList)
Types ¶
type ResultList ¶
type ResultList []Result
func (ResultList) Len ¶
func (r ResultList) Len() int
func (ResultList) Less ¶
func (r ResultList) Less(i, j int) bool
func (ResultList) Swap ¶
func (r ResultList) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.