Package app.ductape.sdk.warehouse.types
Record Class WarehouseQueryTypes.ExecutionStep
java.lang.Object
java.lang.Record
app.ductape.sdk.warehouse.types.WarehouseQueryTypes.ExecutionStep
- Enclosing class:
- WarehouseQueryTypes
public static record WarehouseQueryTypes.ExecutionStep(String type, String source, long estimatedRows, long estimatedCost, Map<String,Object> details)
extends Record
TS
IExecutionStep-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetails()Returns the value of thedetailsrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theestimatedCostrecord component.longReturns the value of theestimatedRowsrecord component.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.type()Returns the value of thetyperecord component.
-
Constructor Details
-
ExecutionStep
public ExecutionStep(String type, String source, long estimatedRows, long estimatedCost, Map<String, Object> details) Creates an instance of aExecutionSteprecord class.- Parameters:
type- the value for thetyperecord componentsource- the value for thesourcerecord componentestimatedRows- the value for theestimatedRowsrecord componentestimatedCost- the value for theestimatedCostrecord componentdetails- the value for thedetailsrecord 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 '=='. -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
estimatedRows
public long estimatedRows()Returns the value of theestimatedRowsrecord component.- Returns:
- the value of the
estimatedRowsrecord component
-
estimatedCost
public long estimatedCost()Returns the value of theestimatedCostrecord component.- Returns:
- the value of the
estimatedCostrecord component
-
details
Returns the value of thedetailsrecord component.- Returns:
- the value of the
detailsrecord component
-