Class NoopRowIngestionMeters
java.lang.Object
org.apache.druid.segment.incremental.NoopRowIngestionMeters
- All Implemented Interfaces:
InputStats,RowIngestionMeters
This class is used only in
DartFrameContext.
Consider using RowIngestionMetersFactory instead.-
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 TypeMethodDescriptionlonglonglongReturns the count of thrown away events for each reason.longvoidvoidvoidIncrements the thrown away counter for the specifiedInputRowFilterResultreason.voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.incremental.RowIngestionMeters
getProcessedBytes, incrementProcessedBytes
-
Constructor Details
-
NoopRowIngestionMeters
public NoopRowIngestionMeters()
-
-
Method Details
-
getProcessed
public long getProcessed()- Specified by:
getProcessedin interfaceRowIngestionMeters
-
incrementProcessed
public void incrementProcessed()- Specified by:
incrementProcessedin 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
-