pagereqcli

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectHttpCliQuery

func InjectHttpCliQuery(s *HttpCliQuery)

func LoadHttpCliQuery

func LoadHttpCliQuery() baseiface.ISingleton

func MakeSlice

func MakeSlice[T schema.Tabler]() any

func NewOfTablerType

func NewOfTablerType[T schema.Tabler]() T

Types

type HttpCliQuery

type HttpCliQuery struct {
	*pagereq.QueryRequest
}

func CmsQueryRequest

func CmsQueryRequest[T schema.Tabler](generalQ elastic.Query) *HttpCliQuery
	@Title   文件名称: http_cli_query.go
	@Desp    描述:    HttpCliQuery
    @Company 公司:    ichub

	@Author  作者:    leijmdas@163.com  时间: 2024-04-24 22:52:32
	@Update  作者:    leijmdas@163.com  时间: 2024-04-24 22:52:32

func Default

func Default() *HttpCliQuery

func DefaultOf

func DefaultOf(q elastic.Query) *HttpCliQuery

func FindBeanHttpCliQuery

func FindBeanHttpCliQuery() *HttpCliQuery

FindBeanHttpCliQuery

func (*HttpCliQuery) Execute

func (self *HttpCliQuery) Execute() *pagees.PageEsResult

func (*HttpCliQuery) GeneralQuerySource

func (self *HttpCliQuery) GeneralQuerySource() *pagees.PageEsResult

func (*HttpCliQuery) Hightlight

func (self *HttpCliQuery) Hightlight(value *elastic.Highlight) *HttpCliQuery

func (*HttpCliQuery) HttpQuery

func (self *HttpCliQuery) HttpQuery(query ...elastic.Query) *pagees.PageEsResult

func (*HttpCliQuery) HttpQuery2EsResult

func (self *HttpCliQuery) HttpQuery2EsResult() *pagees.PageEsResult

func (*HttpCliQuery) PageCurrentSize

func (self *HttpCliQuery) PageCurrentSize(current, size int) *HttpCliQuery

func (*HttpCliQuery) Query

func (self *HttpCliQuery) Query(q elastic.Query) *HttpCliQuery

func (*HttpCliQuery) QuerySource

func (self *HttpCliQuery) QuerySource() *pagees.PageEsResult

func (*HttpCliQuery) SetPageCurrent

func (self *HttpCliQuery) SetPageCurrent(c int) *HttpCliQuery

func (*HttpCliQuery) SetPageSize

func (self *HttpCliQuery) SetPageSize(size int) *HttpCliQuery

func (*HttpCliQuery) SetSource

func (self *HttpCliQuery) SetSource(src string) *HttpCliQuery

func (*HttpCliQuery) Sort

func (self *HttpCliQuery) Sort(value elastic.Sorter) *HttpCliQuery

func (*HttpCliQuery) SortAsc

func (self *HttpCliQuery) SortAsc(field string) *HttpCliQuery

func (*HttpCliQuery) SortBy

func (self *HttpCliQuery) SortBy(values ...elastic.Sorter) *HttpCliQuery

func (*HttpCliQuery) SortDesc

func (self *HttpCliQuery) SortDesc(field string) *HttpCliQuery

func (*HttpCliQuery) SortOne

func (self *HttpCliQuery) SortOne(field string, asc bool) *HttpCliQuery

req.Sort("content_id", true)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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