query

package
v0.0.0-...-fb25691 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 21 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TS_FOUR_MONTHS uint64 = 5259486000

Functions

func CreateMgetReqASTNode

func CreateMgetReqASTNode(idColName string, idVal string, docTypeColName string, docTypeVal string, qid uint64) *ASTNode

func CreateSingleDocReqASTNode

func CreateSingleDocReqASTNode(columnName string, columnValue string, isKibana bool, qid uint64) *ASTNode

func GetMatchAllASTNode

func GetMatchAllASTNode(qid uint64) (*ASTNode, error)

func GetQueryResponseJson

func GetQueryResponseJson(nodeResult *structs.NodeResult, indexName string, queryStart time.Time, sizeLimit uint64, qid uint64, aggs *structs.QueryAggregators) utils.HttpServerESResponseOuter

func GetQueryResponseJsonScroll

func GetQueryResponseJsonScroll(indexName string, queryStart time.Time, sizeLimit uint64,
	scrollRecord *scroll.Scroll, qid uint64) utils.HttpServerESResponseScroll

func ParseOpenDistroRequest

func ParseOpenDistroRequest(json_body []byte, qid uint64, isJaegerQuery bool, scrollTimeout ...string) (*ASTNode, *QueryAggregators, uint64, *Scroll, error)

func ParseRequest

func ParseRequest(json_body []byte, qid uint64, isJaegerQuery bool, scrollTimeout ...string) (*ASTNode, *QueryAggregators, uint64, *Scroll, error)

flag passed here

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL