Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
func Read( scope beam.Scope, cfg ReadConfig, elemType reflect.Type, ) beam.PCollection
func Write ¶
func Write( scope beam.Scope, cfg WriteConfig, col beam.PCollection, )
Types ¶
type Hit ¶
type Hit struct { Source json.RawMessage `json:"_source"` Sort []any `json:"sort"` }
type OpenPITResponse ¶
type OpenPITResponse struct {
ID string `json:"id"`
}
type PointInTime ¶
type ReadConfig ¶
type SearchRequest ¶
type SearchRequest struct { Query json.RawMessage `json:"query"` Pit *PointInTime `json:"pit,omitempty"` SearchAfter []any `json:"search_after,omitempty"` }
type SearchResponse ¶
Click to show internal directories.
Click to hide internal directories.