Record Class StorageResult.NoneResult<T>
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.data.StorageResult.NoneResult<T>
- Type Parameters:
T- the data type.
- All Implemented Interfaces:
StorageResult<T>
- Enclosing interface:
StorageResult<T>
Nothing was stored or attempted.
-
Nested Class Summary
Nested classes/interfaces inherited from interface StorageResult
StorageResult.ExceptionResult<T>, StorageResult.FailureResult<T>, StorageResult.NoneResult<T>, StorageResult.PartialFailureResult<T>, StorageResult.SuccessResult<T>, StorageResult.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.error()Returns the exception from the storage operation, if any.Returns the data that failed to store.final inthashCode()Returns a hash code value for this object.Returns the quality of the storage operation.Returns the data that was stored.final StringtoString()Returns a string representation of this record class.type()Returns the kind of result.Methods inherited from interface StorageResult
unchangedData
-
Constructor Details
-
NoneResult
public NoneResult()Creates an instance of aNoneResultrecord class.
-
-
Method Details
-
qualityCode
Description copied from interface:StorageResultReturns the quality of the storage operation.- Specified by:
qualityCodein interfaceStorageResult<T>- Returns:
- the quality code.
-
successfulData
Description copied from interface:StorageResultReturns the data that was stored.- Specified by:
successfulDatain interfaceStorageResult<T>- Returns:
- an unmodifiable list.
-
failedData
Description copied from interface:StorageResultReturns the data that failed to store.- Specified by:
failedDatain interfaceStorageResult<T>- Returns:
- an unmodifiable list.
-
error
Description copied from interface:StorageResultReturns the exception from the storage operation, if any.- Specified by:
errorin interfaceStorageResult<T>- Returns:
- the exception, or empty.
-
type
Description copied from interface:StorageResultReturns the kind of result.- Specified by:
typein interfaceStorageResult<T>- Returns:
- the result type.
-
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.
-