Record Class EngineCapabilities.CapabilityDetails
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.query.EngineCapabilities.CapabilityDetails
- Record Components:
legacyCompatible- whether the 17 standard ids at Auto or None run the classic tag history calculation on this engine
- Enclosing interface:
EngineCapabilities
public static record EngineCapabilities.CapabilityDetails(Set<QualityCode.Level> supportedQualityLevels, Set<String> supportedMetadataKinds, Set<AnnotationFilter> supportedAnnotationFilters, boolean legacyCompatible)
extends Record
Details of what each capability supports. Immutable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EngineCapabilities.CapabilityDetailsMinimal details: Good quality only, no metadata kinds, no annotation filters. -
Constructor Summary
ConstructorsConstructorDescriptionCapabilityDetails(Set<QualityCode.Level> supportedQualityLevels, Set<String> supportedMetadataKinds, Set<AnnotationFilter> supportedAnnotationFilters) Details of an engine that is not legacy compatible.CapabilityDetails(Set<QualityCode.Level> supportedQualityLevels, Set<String> supportedMetadataKinds, Set<AnnotationFilter> supportedAnnotationFilters, boolean legacyCompatible) Creates an instance of aCapabilityDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thelegacyCompatiblerecord component.Returns the value of thesupportedAnnotationFiltersrecord component.Returns the value of thesupportedMetadataKindsrecord component.Returns the value of thesupportedQualityLevelsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
MINIMAL
Minimal details: Good quality only, no metadata kinds, no annotation filters.
-
-
Constructor Details
-
CapabilityDetails
public CapabilityDetails(Set<QualityCode.Level> supportedQualityLevels, Set<String> supportedMetadataKinds, Set<AnnotationFilter> supportedAnnotationFilters, boolean legacyCompatible) Creates an instance of aCapabilityDetailsrecord class.- Parameters:
supportedQualityLevels- the value for thesupportedQualityLevelsrecord componentsupportedMetadataKinds- the value for thesupportedMetadataKindsrecord componentsupportedAnnotationFilters- the value for thesupportedAnnotationFiltersrecord componentlegacyCompatible- the value for thelegacyCompatiblerecord component
-
CapabilityDetails
public CapabilityDetails(Set<QualityCode.Level> supportedQualityLevels, Set<String> supportedMetadataKinds, Set<AnnotationFilter> supportedAnnotationFilters) Details of an engine that is not legacy compatible.
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
supportedQualityLevels
Returns the value of thesupportedQualityLevelsrecord component.- Returns:
- the value of the
supportedQualityLevelsrecord component
-
supportedMetadataKinds
-
supportedAnnotationFilters
Returns the value of thesupportedAnnotationFiltersrecord component.- Returns:
- the value of the
supportedAnnotationFiltersrecord component
-
legacyCompatible
public boolean legacyCompatible()Returns the value of thelegacyCompatiblerecord component.- Returns:
- the value of the
legacyCompatiblerecord component
-