Record Class QueryPlan.AggregateFunction
java.lang.Object
java.lang.Record
com.loomcache.server.query.QueryPlan.AggregateFunction
- Record Components:
functionName- the function name (non-null, e.g., "COUNT", "SUM")columnName- the column to aggregate (non-null; "*" for COUNT(*))
- Enclosing class:
QueryPlan
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateFunction(String functionName, String columnName) Creates an instance of aAggregateFunctionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionNamerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AggregateFunction
Creates an instance of aAggregateFunctionrecord class.- Parameters:
functionName- the value for thefunctionNamerecord componentcolumnName- the value for thecolumnNamerecord 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). -
functionName
Returns the value of thefunctionNamerecord component.- Returns:
- the value of the
functionNamerecord component
-
columnName
Returns the value of thecolumnNamerecord component.- Returns:
- the value of the
columnNamerecord component
-