Record Class PostgresOpenLineageEventDigest.DatasetRow
java.lang.Object
java.lang.Record
org.odpi.openmetadata.adapters.connectors.integration.openlineage.postgres.PostgresOpenLineageEventDigest.DatasetRow
- Record Components:
direction- I or Onamespace- dataset namespace (empty if the event had none)name- dataset namerowCount- rows read or writtensize- bytes read or writtenfileCount- files writtenlifecycleStateChange- lifecycle state change of an outputsubsetType- type of the output condition of an output subsetdatasetVersion- version of an output
- Enclosing class:
PostgresOpenLineageEventDigest
public static record PostgresOpenLineageEventDigest.DatasetRow(String direction, String namespace, String name, Long rowCount, Long size, Long fileCount, String lifecycleStateChange, String subsetType, String datasetVersion)
extends Record
A dataset read (I) or written (O) by the run.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedatasetVersionrecord component.Returns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileCountrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelifecycleStateChangerecord component.name()Returns the value of thenamerecord component.Returns the value of thenamespacerecord component.rowCount()Returns the value of therowCountrecord component.size()Returns the value of thesizerecord component.Returns the value of thesubsetTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DatasetRow
public DatasetRow(String direction, String namespace, String name, Long rowCount, Long size, Long fileCount, String lifecycleStateChange, String subsetType, String datasetVersion) Creates an instance of aDatasetRowrecord class.- Parameters:
direction- the value for thedirectionrecord componentnamespace- the value for thenamespacerecord componentname- the value for thenamerecord componentrowCount- the value for therowCountrecord componentsize- the value for thesizerecord componentfileCount- the value for thefileCountrecord componentlifecycleStateChange- the value for thelifecycleStateChangerecord componentsubsetType- the value for thesubsetTyperecord componentdatasetVersion- the value for thedatasetVersionrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-
namespace
Returns the value of thenamespacerecord component.- Returns:
- the value of the
namespacerecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
rowCount
Returns the value of therowCountrecord component.- Returns:
- the value of the
rowCountrecord component
-
size
Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
fileCount
Returns the value of thefileCountrecord component.- Returns:
- the value of the
fileCountrecord component
-
lifecycleStateChange
Returns the value of thelifecycleStateChangerecord component.- Returns:
- the value of the
lifecycleStateChangerecord component
-
subsetType
Returns the value of thesubsetTyperecord component.- Returns:
- the value of the
subsetTyperecord component
-
datasetVersion
Returns the value of thedatasetVersionrecord component.- Returns:
- the value of the
datasetVersionrecord component
-