Class SimpleRowIngestionMeters
java.lang.Object
org.apache.druid.segment.incremental.SimpleRowIngestionMeters
- All Implemented Interfaces:
InputStats,RowIngestionMeters
-
Field Summary
Fields inherited from interface org.apache.druid.segment.incremental.RowIngestionMeters
BUILD_SEGMENTS, DETERMINE_PARTITIONS, PROCESSED, PROCESSED_BYTES, PROCESSED_WITH_ERROR, THROWN_AWAY, THROWN_AWAY_BY_REASON, UNPARSEABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRowIngestionMetersTotals(RowIngestionMetersTotals rowIngestionMetersTotals) longlonglonglongReturns the count of thrown away events for each reason.longvoidvoidincrementProcessedBytes(long increment) voidvoidIncrements the thrown away counter for the specifiedInputRowFilterResultreason.void
-
Constructor Details
-
SimpleRowIngestionMeters
public SimpleRowIngestionMeters()
-
-
Method Details
-
getProcessed
public long getProcessed()- Specified by:
getProcessedin interfaceRowIngestionMeters
-
incrementProcessed
public void incrementProcessed()- Specified by:
incrementProcessedin interfaceRowIngestionMeters
-
incrementProcessedBytes
public void incrementProcessedBytes(long increment) - Specified by:
incrementProcessedBytesin interfaceInputStats- Specified by:
incrementProcessedBytesin interfaceRowIngestionMeters
-
getProcessedBytes
public long getProcessedBytes()- Specified by:
getProcessedBytesin interfaceInputStats- Specified by:
getProcessedBytesin interfaceRowIngestionMeters
-
getProcessedWithError
public long getProcessedWithError()- Specified by:
getProcessedWithErrorin interfaceRowIngestionMeters
-
incrementProcessedWithError
public void incrementProcessedWithError()- Specified by:
incrementProcessedWithErrorin interfaceRowIngestionMeters
-
getUnparseable
public long getUnparseable()- Specified by:
getUnparseablein interfaceRowIngestionMeters
-
incrementUnparseable
public void incrementUnparseable()- Specified by:
incrementUnparseablein interfaceRowIngestionMeters
-
getThrownAway
public long getThrownAway()- Specified by:
getThrownAwayin interfaceRowIngestionMeters
-
incrementThrownAway
Description copied from interface:RowIngestionMetersIncrements the thrown away counter for the specifiedInputRowFilterResultreason.- Specified by:
incrementThrownAwayin interfaceRowIngestionMeters
-
getThrownAwayByReason
Description copied from interface:RowIngestionMetersReturns the count of thrown away events for each reason. Keyed byInputRowFilterResult.getReason().- Specified by:
getThrownAwayByReasonin interfaceRowIngestionMeters
-
getTotals
- Specified by:
getTotalsin interfaceRowIngestionMeters
-
getMovingAverages
- Specified by:
getMovingAveragesin interfaceRowIngestionMeters
-
addRowIngestionMetersTotals
-