Class HistorianProperties
java.lang.Object
com.inductiveautomation.historian.common.model.HistorianProperties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K extends DataPointQueryKey, B extends DataPointQueryOptions.DataQueryBuilder<K,B>>
voidapplyToOptions(B builder, @Nullable PropertySet props) Moves the tag history query hints carried on a query'sextendedPropertiesinto the typed bounding field ofbuilder.getMatchingLegacyFlag(String propertyName) getMatchingPropertyFromLegacyFlag(int legacyFlag)
-
Field Details
-
CATEGORY
- See Also:
-
IS_INTERPOLATED
-
IS_PROVISIONAL
-
TIME_RANGE
-
NO_SEED_VALUES
-
NO_CACHE
-
NO_SCE_VALIDATION
-
NO_INTERPOLATION
-
YES_BOUND_VALUES
-
NO_BOUND_VALUES
-
IGNORE_BAD_QUALITY
-
NO_PREPROCESSED_DATA
-
NATIVE_AGGREGATES_ONLY
-
DATA_TYPE
-
QUALITY_CODE
-
-
Constructor Details
-
HistorianProperties
public HistorianProperties()
-
-
Method Details
-
getMatchingLegacyFlag
-
getMatchingPropertyFromLegacyFlag
-
applyToOptions
public static <K extends DataPointQueryKey, B extends DataPointQueryOptions.DataQueryBuilder<K,B>> void applyToOptions(B builder, @Nullable PropertySet props) Moves the tag history query hints carried on a query'sextendedPropertiesinto the typed bounding field ofbuilder.system.historian.*accepts the same flag vocabulary asTagHistoryQueryFlags, asPropertyentries rather than bits. Typed builder calls made afterwards supersede the properties.Only
BoundingModebecomes a typed field;NATIVE_AGGREGATES_ONLY,NO_PREPROCESSED_DATA,NO_SCE_VALIDATIONandNO_INTERPOLATIONstay onextendedPropertiesfor the pipeline to read at dispatch.NO_BOUND_VALUES=true:BoundingMode.NONE, overridingYES_BOUND_VALUESasTagHistoryQueryFlags.readSeedValues(TagHistoryQueryParams)does.YES_BOUND_VALUES=true:BoundingMode.BOTH.NO_SEED_VALUES=true:BoundingMode.NONEwhen no other bounding hint is set.- None set: the builder's existing
boundingis kept.
A null or empty
propsdoes nothing.- Type Parameters:
K- the builder's query-key typeB- the concrete builder type, preserving the fluent return type- Parameters:
builder- the builder to mutate; not nullprops- the extended properties; may benullor empty
-