org.apache.solr.client.solrj.io.stream.metrics

## Class CountMetric

- java.lang.Object
- - org.apache.solr.client.solrj.io.stream.metrics.Metric
  - - org.apache.solr.client.solrj.io.stream.metrics.CountMetric

- All Implemented Interfaces:
    Expressible

      public class CountMetric
      extends Metric

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CountMetric()`
    `CountMetric(StreamExpression expression, StreamFactory factory)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String[]` | `getColumns()`
    `Long` | `getValue()`
    `Metric` | `newInstance()`
    `StreamExpressionParameter` | `toExpression(StreamFactory factory)`
    `void` | `update(Tuple tuple)`

    - ### Methods inherited from class org.apache.solr.client.solrj.io.stream.metrics.Metric

      `getFunctionName, getIdentifier, getMetricNodeId, setFunctionName, setIdentifier, setIdentifier, toExplanation`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CountMetric

          public CountMetric()

    - #### CountMetric

          public CountMetric(StreamExpression expression,
                             StreamFactory factory)
                      throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### getColumns

          public String[] getColumns()

      Specified by:
        `getColumns` in class `Metric`

    - #### update

          public void update(Tuple tuple)

      Specified by:
        `update` in class `Metric`

    - #### getValue

          public Long getValue()

      Specified by:
        `getValue` in class `Metric`

    - #### newInstance

          public Metric newInstance()

      Specified by:
        `newInstance` in class `Metric`

    - #### toExpression

          public StreamExpressionParameter toExpression(StreamFactory factory)
                                                 throws IOException

      Throws:
        `IOException`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.