Record Class HistorianQueryEntry.RawEntry
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.binding.HistorianQueryEntry.RawEntry
- All Implemented Interfaces:
HistorianQueryEntry
- Enclosing interface:
HistorianQueryEntry
public static record HistorianQueryEntry.RawEntry(String alias, QualifiedPath source, boolean appendOnly)
extends Record
implements HistorianQueryEntry
Raw data-point entry: streams atomic points with no aggregation or fill.
-
Nested Class Summary
Nested classes/interfaces inherited from interface HistorianQueryEntry
HistorianQueryEntry.AggregatedEntry, HistorianQueryEntry.AnnotationEntry, HistorianQueryEntry.MetadataEntry, HistorianQueryEntry.RawEntry -
Constructor Summary
ConstructorsConstructorDescriptionRawEntry(String alias, QualifiedPath source, boolean appendOnly) Creates an instance of aRawEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.booleanReturns the value of theappendOnlyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.withAppendOnly(boolean newAppendOnly) withSource(QualifiedPath newSource)
-
Constructor Details
-
RawEntry
Creates an instance of aRawEntryrecord class.- Parameters:
alias- the value for thealiasrecord componentsource- the value for thesourcerecord componentappendOnly- the value for theappendOnlyrecord component
-
-
Method Details
-
withAlias
-
withSource
-
withAppendOnly
-
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. -
alias
Returns the value of thealiasrecord component.- Specified by:
aliasin interfaceHistorianQueryEntry- Returns:
- the value of the
aliasrecord component
-
source
Returns the value of thesourcerecord component.- Specified by:
sourcein interfaceHistorianQueryEntry- Returns:
- the value of the
sourcerecord component
-
appendOnly
public boolean appendOnly()Returns the value of theappendOnlyrecord component.- Specified by:
appendOnlyin interfaceHistorianQueryEntry- Returns:
- the value of the
appendOnlyrecord component
-