public static class StreamingStatistics.StreamingStatisticsBuilder extends Object
Constructor and Description |
---|
StreamingStatisticsBuilder()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
StreamingStatistics |
build()
Builds a StreamingStatistics instance with currently defined properties.
|
StreamingStatistics.StreamingStatisticsBuilder |
extrema(boolean arg)
Sets the computeExtrema setting of the factory.
|
StreamingStatistics.StreamingStatisticsBuilder |
moments(boolean arg)
Sets the computeMoments setting of the factory
|
StreamingStatistics.StreamingStatisticsBuilder |
percentiles(boolean arg)
Sets the computePercentiles setting of the factory.
|
StreamingStatistics.StreamingStatisticsBuilder |
sumOfLogs(boolean arg)
Sets the computeSumOfLogs setting of the factory
|
StreamingStatistics.StreamingStatisticsBuilder |
sumOfSquares(boolean arg)
Sets the computeSumOfSquares setting of the factory.
|
public StreamingStatisticsBuilder()
public StreamingStatistics.StreamingStatisticsBuilder moments(boolean arg)
arg
- whether or not instances created using build()
will
maintain moment statisticspublic StreamingStatistics.StreamingStatisticsBuilder sumOfLogs(boolean arg)
arg
- whether or not instances created using build()
will
maintain log sumspublic StreamingStatistics.StreamingStatisticsBuilder sumOfSquares(boolean arg)
arg
- whether or not instances created using build()
will
maintain sums of squarespublic StreamingStatistics.StreamingStatisticsBuilder percentiles(boolean arg)
arg
- whether or not instances created using build()
will
compute percentilespublic StreamingStatistics.StreamingStatisticsBuilder extrema(boolean arg)
arg
- whether or not instances created using build()
will
compute min and maxpublic StreamingStatistics build()
Copyright © 2016-2022 CS GROUP. All rights reserved.