Record Class HistorianQueryEntry.MetadataEntry
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.binding.HistorianQueryEntry.MetadataEntry
- All Implemented Interfaces:
HistorianQueryEntry
- Enclosing interface:
HistorianQueryEntry
public static record HistorianQueryEntry.MetadataEntry(String alias, QualifiedPath source, List<String> metadataKinds, boolean appendOnly)
extends Record
implements HistorianQueryEntry
Metadata entry; an empty
metadataKinds list means all kinds.-
Nested Class Summary
Nested classes/interfaces inherited from interface HistorianQueryEntry
HistorianQueryEntry.AggregatedEntry, HistorianQueryEntry.AnnotationEntry, HistorianQueryEntry.MetadataEntry, HistorianQueryEntry.RawEntry -
Constructor Summary
ConstructorsConstructorDescriptionMetadataEntry(String alias, QualifiedPath source, List<String> metadataKinds, boolean appendOnly) Creates an instance of aMetadataEntryrecord 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.Returns the value of themetadataKindsrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MetadataEntry
public MetadataEntry(String alias, QualifiedPath source, List<String> metadataKinds, boolean appendOnly) Creates an instance of aMetadataEntryrecord class.- Parameters:
alias- the value for thealiasrecord componentsource- the value for thesourcerecord componentmetadataKinds- the value for themetadataKindsrecord componentappendOnly- the value for theappendOnlyrecord component
-
-
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. -
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
-
metadataKinds
-
appendOnly
public boolean appendOnly()Returns the value of theappendOnlyrecord component.- Specified by:
appendOnlyin interfaceHistorianQueryEntry- Returns:
- the value of the
appendOnlyrecord component
-