Package app.ductape.sdk.warehouse.types
Record Class WarehouseQueryTypes.SourceStats
java.lang.Object
java.lang.Record
app.ductape.sdk.warehouse.types.WarehouseQueryTypes.SourceStats
- Enclosing class:
- WarehouseQueryTypes
public static record WarehouseQueryTypes.SourceStats(String tag, WarehouseTypes.DataSourceType type, long executionTime, int rowsReturned)
extends Record
TS
ISourceStats-
Constructor Summary
ConstructorsConstructorDescriptionSourceStats(String tag, WarehouseTypes.DataSourceType type, long executionTime, int rowsReturned) Creates an instance of aSourceStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of theexecutionTimerecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of therowsReturnedrecord component.tag()Returns the value of thetagrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
SourceStats
public SourceStats(String tag, WarehouseTypes.DataSourceType type, long executionTime, int rowsReturned) Creates an instance of aSourceStatsrecord class.- Parameters:
tag- the value for thetagrecord componenttype- the value for thetyperecord componentexecutionTime- the value for theexecutionTimerecord componentrowsReturned- the value for therowsReturnedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
tag
Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
executionTime
public long executionTime()Returns the value of theexecutionTimerecord component.- Returns:
- the value of the
executionTimerecord component
-
rowsReturned
public int rowsReturned()Returns the value of therowsReturnedrecord component.- Returns:
- the value of the
rowsReturnedrecord component
-