MCPcopy
hub / github.com/elastic/go-elasticsearch / BulkResponseJSONDecoder

Interface BulkResponseJSONDecoder

esutil/bulk_indexer.go:284–286  ·  esutil/bulk_indexer.go::BulkResponseJSONDecoder

BulkResponseJSONDecoder defines the interface for custom JSON decoders.

Source from the content-addressed store, hash-verified

282
283// BulkResponseJSONDecoder defines the interface for custom JSON decoders.
284type BulkResponseJSONDecoder interface {
285 UnmarshalFromReader(io.Reader, *BulkIndexerResponse) error
286}
287
288// BulkIndexerDebugLogger defines the interface for a debugging logger.
289type BulkIndexerDebugLogger interface {

Callers 5

mainFunction · 0.65
printErrorResponseFunction · 0.65
BenchmarkDecodeFunction · 0.65
UnmarshalFromReaderMethod · 0.65
flushBufferMethod · 0.65

Implementers 3

easyjsonDecoder_examples/bulk/benchmarks/benchmarks.g
customJSONDecoderesutil/bulk_indexer_internal_test.go
defaultJSONDecoderesutil/bulk_indexer.go

Calls

no outgoing calls

Tested by

no test coverage detected