Class Metric
java.lang.Object
org.apache.solr.client.solrj.io.stream.metrics.Metric
- All Implemented Interfaces:
Expressible
- Direct Known Subclasses:
CountDistinctMetric,CountMetric,MaxMetric,MeanMetric,MinMetric,PercentileMetric,StdMetric,SumMetric,WeightedSumMetric
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String[]abstract NumbergetValue()abstract MetricvoidsetFunctionName(String functionName) voidsetIdentifier(String identifier) voidsetIdentifier(String... identifierParts) toExplanation(StreamFactory factory) Returns an explanation about the stream objectabstract voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.client.solrj.io.stream.expr.Expressible
toExpression
-
Field Details
-
outputLong
public boolean outputLong
-
-
Constructor Details
-
Metric
public Metric()
-
-
Method Details
-
getFunctionName
-
setFunctionName
-
getIdentifier
-
setIdentifier
-
setIdentifier
-
toExplanation
Description copied from interface:ExpressibleReturns an explanation about the stream object- Specified by:
toExplanationin interfaceExpressible- Parameters:
factory- Stream factory for this, contains information about the function name- Returns:
- Explanation about this stream object containing explanations of any child stream objects
- Throws:
IOException- throw on any error
-
getMetricNodeId
-
getValue
-
update
-
newInstance
-
getColumns
-