Package lib.aide.tabular
Record Class TabularRowsRequest.AggregationFunction
java.lang.Object
java.lang.Record
lib.aide.tabular.TabularRowsRequest.AggregationFunction
- Record Components:
functionName
- The name of the aggregation function.columns
- The columns to which the aggregation function applies.
- Enclosing class:
TabularRowsRequest
public static record TabularRowsRequest.AggregationFunction(String functionName, List<String> columns)
extends Record
Record representing an aggregation function.
-
Constructor Summary
ConstructorsConstructorDescriptionAggregationFunction
(String functionName, List<String> columns) Creates an instance of aAggregationFunction
record class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()
Returns the value of thecolumns
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefunctionName
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AggregationFunction
Creates an instance of aAggregationFunction
record class.- Parameters:
functionName
- the value for thefunctionName
record componentcolumns
- the value for thecolumns
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
functionName
Returns the value of thefunctionName
record component.- Returns:
- the value of the
functionName
record component
-
columns
Returns the value of thecolumns
record component.- Returns:
- the value of the
columns
record component
-