Record Class DataQueryEntries.AssetChange
java.lang.Object
java.lang.Record
ai.badmonkey.agentspaces.connect.DataQueryEntries.AssetChange
- Record Components:
asset- the asset name from its cardkey- the changed record's key within the assetrow- the changed record; column name to valueservedBy- the connector that materialized the change
- Enclosing class:
DataQueryEntries
public static record DataQueryEntries.AssetChange(String asset, String key, Map<String,String> row, String servedBy)
extends Record
One change a materializing provider pushed (spec ยง6.1a), leased for the
asset's freshness window so the lease is the retention policy. Subscribe
with
Template.of(AssetChange.class).where("asset", eq(name)) for
complex event processing over the source's events.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasset()Returns the value of theassetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.row()Returns the value of therowrecord component.servedBy()Returns the value of theservedByrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
asset
-
key
-
row
-
servedBy
-