Record Class NoParams
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.options.NoParams
- All Implemented Interfaces:
AggregateParams
Sentinel for unparameterized aggregates.
AggregateSpec.of(com.inductiveautomation.historian.common.model.AggregationType) uses this.
Singleton via INSTANCE.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toMap()Returns the parameters as a JSON-friendly map, for wire transport and catalog metadata.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoParams
public NoParams()Creates an instance of aNoParamsrecord class.
-
-
Method Details
-
toMap
Description copied from interface:AggregateParamsReturns the parameters as a JSON-friendly map, for wire transport and catalog metadata.- Specified by:
toMapin interfaceAggregateParams- Returns:
- the parameters by component name.
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-