Record Class NBLabelsResult
java.lang.Object
java.lang.Record
io.nosqlbench.nb.api.labels.NBLabelsResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextraneousFieldsrecord component.final inthashCode()Returns a hash code value for this object.booleanisError()labels()Returns the value of thelabelsrecord component.Returns the value of themissingFieldsrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
NBLabelsResult
public NBLabelsResult(NBLabels labels, String config, List<String> missingFields, List<String> extraneousFields) Creates an instance of aNBLabelsResultrecord class.- Parameters:
labels- the value for thelabelsrecord componentconfig- the value for theconfigrecord componentmissingFields- the value for themissingFieldsrecord componentextraneousFields- the value for theextraneousFieldsrecord component
-
-
Method Details
-
isError
public boolean isError() -
toString
-
hashCode
-
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). -
labels
Returns the value of thelabelsrecord component.- Returns:
- the value of the
labelsrecord component
-
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-
missingFields
-
extraneousFields
-