Record Class QueryProcessor.ColumnMetadata<K extends DataPointQueryKey>
java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.types.internal.questdb.util.QueryProcessor.ColumnMetadata<K>
- Enclosing class:
- QueryProcessor
public static record QueryProcessor.ColumnMetadata<K extends DataPointQueryKey>(K extends DataPointQueryKey key, QuestDataColumnType columnType, int valueIndex, int timestampIndex, int qualityIndex, Optional<AggregationType> aggregationType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionColumnMetadata
(K definition, QuestDataColumnType columnType, int valueIndex, int timestampIndex, int qualityIndex, @Nullable AggregationType aggregationType) ColumnMetadata
(K key, QuestDataColumnType columnType, int valueIndex, int timestampIndex, int qualityIndex, Optional<AggregationType> aggregationType) Creates an instance of aColumnMetadata
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregationType
record component.Returns the value of thecolumnType
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.key()
Returns the value of thekey
record component.int
Returns the value of thequalityIndex
record component.int
Returns the value of thetimestampIndex
record component.final String
toString()
Returns a string representation of this record class.int
Returns the value of thevalueIndex
record component.
-
Constructor Details
-
ColumnMetadata
public ColumnMetadata(K definition, QuestDataColumnType columnType, int valueIndex, int timestampIndex, int qualityIndex, @Nullable @Nullable AggregationType aggregationType) -
ColumnMetadata
public ColumnMetadata(K key, QuestDataColumnType columnType, int valueIndex, int timestampIndex, int qualityIndex, Optional<AggregationType> aggregationType) Creates an instance of aColumnMetadata
record class.- Parameters:
key
- the value for thekey
record componentcolumnType
- the value for thecolumnType
record componentvalueIndex
- the value for thevalueIndex
record componenttimestampIndex
- the value for thetimestampIndex
record componentqualityIndex
- the value for thequalityIndex
record componentaggregationType
- the value for theaggregationType
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
key
Returns the value of thekey
record component.- Returns:
- the value of the
key
record component
-
columnType
Returns the value of thecolumnType
record component.- Returns:
- the value of the
columnType
record component
-
valueIndex
public int valueIndex()Returns the value of thevalueIndex
record component.- Returns:
- the value of the
valueIndex
record component
-
timestampIndex
public int timestampIndex()Returns the value of thetimestampIndex
record component.- Returns:
- the value of the
timestampIndex
record component
-
qualityIndex
public int qualityIndex()Returns the value of thequalityIndex
record component.- Returns:
- the value of the
qualityIndex
record component
-
aggregationType
Returns the value of theaggregationType
record component.- Returns:
- the value of the
aggregationType
record component
-