Package org.intermine.api.query
Class MainHelper.SummaryConfig
- java.lang.Object
-
- org.intermine.api.query.MainHelper.SummaryConfig
-
- Enclosing class:
- MainHelper
protected static final class MainHelper.SummaryConfig extends java.lang.Object
Controls access to configuration information on which fields should be summarised as a count of occurrences.- Author:
- Matthew Wakeling
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Integer
getNumberOfBins()
Returns the number of bins to split a histogram into.static boolean
summariseAsOccurrences(java.lang.String fieldName)
Returns whether the given field name is configured to be summarised as a count of occurrences.
-
-
-
Method Detail
-
summariseAsOccurrences
public static boolean summariseAsOccurrences(java.lang.String fieldName)
Returns whether the given field name is configured to be summarised as a count of occurrences.- Parameters:
fieldName
- a class name, a dot, and a field name- Returns:
- true if the field should be summarised as a count of occurrences, false for a mean and standard deviation.
-
getNumberOfBins
public static java.lang.Integer getNumberOfBins()
Returns the number of bins to split a histogram into.- Returns:
- The number of bins.
-
-