Record Class BatchedDefinitionResolver.FlushResult
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.storage.BatchedDefinitionResolver.FlushResult
- Record Components:
pathToId- the backend-assigned id for each resolved path.failedPaths- the paths that failed to write.
- Enclosing class:
BatchedDefinitionResolver<N extends HistoricalNode & Comparable<? super N>>
-
Constructor Summary
ConstructorsConstructorDescriptionFlushResult(Map<String, HistoricalNodeId> pathToId, Set<String> failedPaths) Creates an instance of aFlushResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailedPathsrecord component.final inthashCode()Returns a hash code value for this object.@Nullable HistoricalNodeIdResolved id forpath, ornullif it failed or was not in this batch.pathToId()Returns the value of thepathToIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FlushResult
Creates an instance of aFlushResultrecord class.- Parameters:
pathToId- the value for thepathToIdrecord componentfailedPaths- the value for thefailedPathsrecord component
-
-
Method Details
-
idFor
Resolved id forpath, ornullif it failed or was not in this batch. -
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). -
pathToId
-
failedPaths
Returns the value of thefailedPathsrecord component.- Returns:
- the value of the
failedPathsrecord component
-