Record Class StringAggParams
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.options.StringAggParams
- All Implemented Interfaces:
AggregateParams
Delimiter parameter of STRING_AGG and STRING_DISTINCT_AGG. The delimiter must not be
null; engines insert it into SQL as a string literal and are responsible for escaping it.
Thread-safe: immutable record.
-
Constructor Summary
ConstructorsConstructorDescriptionStringAggParams(String delimiter) Creates an instance of aStringAggParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedelimiterrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from interface AggregateParams
toMap
-
Constructor Details
-
StringAggParams
Creates an instance of aStringAggParamsrecord class.- Parameters:
delimiter- the value for thedelimiterrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
delimiter
Returns the value of thedelimiterrecord component.- Returns:
- the value of the
delimiterrecord component
-