MCPcopy Create free account
hub / github.com/actiontech/dtle / String

Method String

driver/oracle/extractor/log_miner.go:379–392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

377}
378
379func (l *LogMinerTx) String() string {
380 if len(l.records) == 0 {
381 return ""
382 }
383 d := strings.Builder{}
384 d.WriteString("================\n")
385 for _, r := range l.records {
386 d.WriteString(r.String())
387 d.WriteString("\n")
388 }
389 d.WriteString("================\n")
390 return fmt.Sprintf(`transaction id: %s, start scn: %d, end scn: %d
391%s`, l.transactionId, l.startScn, l.endScn, d.String())
392}
393
394type LogMinerTxCache struct {
395 index map[string] /*transaction id */ *list.Element

Callers 5

EnterMethod · 0.45
beforeDataFunction · 0.45
GetLogMinerRecordMethod · 0.45
StringsBuilderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected