Record Class EventRow
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.EventRow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventTyperecord component.final inthashCode()Returns a hash code value for this object.longid()Returns the value of theidrecord component.Returns the value of thepayloadJsonrecord component.runId()Returns the value of therunIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EventRow
Creates an instance of aEventRowrecord class.- Parameters:
id- the value for theidrecord componentrunId- the value for therunIdrecord componenteventType- the value for theeventTyperecord componentpayloadJson- the value for thepayloadJsonrecord componentcreatedAt- the value for thecreatedAtrecord 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. -
id
public long id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
eventType
Returns the value of theeventTyperecord component.- Returns:
- the value of the
eventTyperecord component
-
payloadJson
Returns the value of thepayloadJsonrecord component.- Returns:
- the value of the
payloadJsonrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-