Package app.ductape.sdk.warehouse.types
Record Class WarehouseQueryTypes.JoinStats
java.lang.Object
java.lang.Record
app.ductape.sdk.warehouse.types.WarehouseQueryTypes.JoinStats
- Enclosing class:
- WarehouseQueryTypes
public static record WarehouseQueryTypes.JoinStats(String strategy, int leftRows, int rightRows, int resultRows, long executionTime)
extends Record
TS
IJoinStats-
Constructor Summary
Constructors -
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.intleftRows()Returns the value of theleftRowsrecord component.intReturns the value of theresultRowsrecord component.intReturns the value of therightRowsrecord component.strategy()Returns the value of thestrategyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JoinStats
Creates an instance of aJoinStatsrecord class.- Parameters:
strategy- the value for thestrategyrecord componentleftRows- the value for theleftRowsrecord componentrightRows- the value for therightRowsrecord componentresultRows- the value for theresultRowsrecord componentexecutionTime- the value for theexecutionTimerecord 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 '=='. -
strategy
Returns the value of thestrategyrecord component.- Returns:
- the value of the
strategyrecord component
-
leftRows
public int leftRows()Returns the value of theleftRowsrecord component.- Returns:
- the value of the
leftRowsrecord component
-
rightRows
public int rightRows()Returns the value of therightRowsrecord component.- Returns:
- the value of the
rightRowsrecord component
-
resultRows
public int resultRows()Returns the value of theresultRowsrecord component.- Returns:
- the value of the
resultRowsrecord component
-
executionTime
public long executionTime()Returns the value of theexecutionTimerecord component.- Returns:
- the value of the
executionTimerecord component
-