Package app.ductape.sdk.warehouse.types
Record Class WarehouseQueryTypes.FieldMapping
java.lang.Object
java.lang.Record
app.ductape.sdk.warehouse.types.WarehouseQueryTypes.FieldMapping
- Enclosing class:
- WarehouseQueryTypes
public static record WarehouseQueryTypes.FieldMapping(String source, String as, String aggregate)
extends Record
TS
IFieldMapping-
Constructor Summary
ConstructorsConstructorDescriptionFieldMapping(String source, String as, String aggregate) Creates an instance of aFieldMappingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregaterecord component.as()Returns the value of theasrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FieldMapping
Creates an instance of aFieldMappingrecord class.- Parameters:
source- the value for thesourcerecord componentas- the value for theasrecord componentaggregate- the value for theaggregaterecord 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). -
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
as
Returns the value of theasrecord component.- Returns:
- the value of the
asrecord component
-
aggregate
Returns the value of theaggregaterecord component.- Returns:
- the value of the
aggregaterecord component
-