Package app.ductape.sdk.warehouse.types
Record Class WarehouseQueryTypes.Aggregation
java.lang.Object
java.lang.Record
app.ductape.sdk.warehouse.types.WarehouseQueryTypes.Aggregation
- Enclosing class:
- WarehouseQueryTypes
public static record WarehouseQueryTypes.Aggregation(String function, String field, String as)
extends Record
TS
IAggregation-
Constructor Summary
ConstructorsConstructorDescriptionAggregation(String function, String field, String as) Creates an instance of aAggregationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionas()Returns the value of theasrecord component.final booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.function()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Aggregation
Creates an instance of aAggregationrecord class.- Parameters:
function- the value for thefunctionrecord componentfield- the value for thefieldrecord componentas- the value for theasrecord 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). -
function
Returns the value of thefunctionrecord component.- Returns:
- the value of the
functionrecord component
-
field
Returns the value of thefieldrecord component.- Returns:
- the value of the
fieldrecord component
-
as
Returns the value of theasrecord component.- Returns:
- the value of the
asrecord component
-