Documentation ¶
Index ¶
- func InjectBulkDoc(s *BulkDoc)
- func InjectCmdDto(s *CmdDto)
- func InjectScriptDto(s *ScriptDto)
- func LoadBulkDoc() baseiface.ISingleton
- func LoadCmdDto() baseiface.ISingleton
- func LoadScriptDto() baseiface.ISingleton
- type BulkDoc
- type BulkStru
- type CmdDto
- func (self *CmdDto) AddBulkDoc(bulkDoc *BulkDoc)
- func (self *CmdDto) AddBulkStru(bulkDoc *BulkStru)
- func (self *CmdDto) AddDoc(id string, doc map[string]any)
- func (self *CmdDto) AddStru(id string, doc any)
- func (self *CmdDto) NewScript() *elastic.Script
- func (self *CmdDto) RefreshStr() string
- func (self *CmdDto) ScriptAs(updateClause string, params map[string]interface{}) string
- type ScriptDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectBulkDoc ¶
func InjectBulkDoc(s *BulkDoc)
func InjectCmdDto ¶
func InjectCmdDto(s *CmdDto)
func InjectScriptDto ¶
func InjectScriptDto(s *ScriptDto)
func LoadBulkDoc ¶
func LoadBulkDoc() baseiface.ISingleton
func LoadCmdDto ¶
func LoadCmdDto() baseiface.ISingleton
func LoadScriptDto ¶
func LoadScriptDto() baseiface.ISingleton
Types ¶
type BulkDoc ¶
type BulkDoc struct { basedto.BaseEntity Id string Doc map[string]interface{} }
func FindBeanBulkDoc ¶
func FindBeanBulkDoc() *BulkDoc
func NewBulkDoc ¶
func NewBulkDoc() *BulkDoc
type BulkStru ¶
type BulkStru struct { basedto.BaseEntity Id string Doc any }
func NewBulkStru ¶
func NewBulkStru() *BulkStru
type CmdDto ¶
type CmdDto struct { basedto.BaseEntity esdto.ReqDto Script *ScriptDto `json:"script"` Refresh string `json:"refresh"` Data interface{} `json:"data"` Doc map[string]interface{} `json:"params"` BulkDocs []*BulkDoc BulkStrus []*BulkStru }
func FindBeanCmdDto ¶
func FindBeanCmdDto() *CmdDto
func (*CmdDto) AddBulkDoc ¶
func (*CmdDto) AddBulkStru ¶
func (*CmdDto) RefreshStr ¶
type ScriptDto ¶
type ScriptDto struct { basedto.BaseEntity UpdateClause string Params map[string]interface{} }
func FindBeanScriptDto ¶
func FindBeanScriptDto() *ScriptDto
func NewScriptDto ¶
func NewScriptDto() *ScriptDto
Source Files ¶
Click to show internal directories.
Click to hide internal directories.