Class LovelaceOpenLineageDataScopeService
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.opengovernance.GovernanceActionServiceConnector
org.odpi.openmetadata.frameworks.opengovernance.GeneralGovernanceActionService
org.odpi.openmetadata.adapters.connectors.lineageinsight.openlineage.LovelaceOpenLineageAnalysisServiceBase
org.odpi.openmetadata.adapters.connectors.lineageinsight.openlineage.LovelaceOpenLineageDataScopeService
- All Implemented Interfaces:
AuditLoggingComponent,SecureConnectorExtension,VirtualConnectorExtension,GovernanceActionService
LovelaceOpenLineageDataScopeService analyses the series of writes to each dataset in an OpenLineage log store
and refines the DataScope classification of the dataset's asset. The OpenLineage cataloguer extends the
data collection window as each write arrives; this service looks at the whole series to decide whether the
store is replaced or accumulates (from lifecycleStateChange and subset facets), sets the collection start time
accordingly, and records the write and read pattern in the classification's additional properties.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection -
Field Summary
Fields inherited from class org.odpi.openmetadata.adapters.connectors.lineageinsight.openlineage.LovelaceOpenLineageAnalysisServiceBase
ANALYSIS_SERVICE_PROPERTY, ANALYSIS_TIME_PROPERTY, ANALYSIS_WINDOW_END_PROPERTY, ANALYSIS_WINDOW_START_PROPERTY, analysisTime, windowEnd, windowStartFields inherited from class org.odpi.openmetadata.frameworks.opengovernance.GeneralGovernanceActionService
governanceContextFields inherited from class org.odpi.openmetadata.frameworks.opengovernance.GovernanceActionServiceConnector
governanceServiceName, propertyHelperFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
auditLog, connectionBean, connectorInstanceId, embeddedConnectors, messageFormatter, secretsStoreConnectorMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intanalyse(OpenLineageRunHistory history) Refine the data scope of each dataset.protected StringDescribe what the service produces.Methods inherited from class org.odpi.openmetadata.adapters.connectors.lineageinsight.openlineage.LovelaceOpenLineageAnalysisServiceBase
addAnalysisProperties, findDataAsset, findProcess, formatDate, formatDuration, getWindowDays, put, put, startMethods inherited from class org.odpi.openmetadata.frameworks.opengovernance.GeneralGovernanceActionService
disconnect, getActionTarget, getAllActionTargets, getProperty, setGovernanceContextMethods inherited from class org.odpi.openmetadata.frameworks.opengovernance.GovernanceActionServiceConnector
getArrayRequestParameter, getBooleanRequestParameter, getConnectorComponentDescription, getIntRequestParameter, getLongRequestParameter, getStringRequestParameter, handleUnexpectedException, setAuditLog, setGovernanceServiceName, validateContextMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
combineConfigurationProperties, disconnectConnectors, equals, fromCamelToCanonicalCase, fromCanonicalToCamelCase, fromCanonicalToKebabCase, fromCanonicalToSnakeCase, fromKebabToCanonicalCase, fromSnakeToCanonicalCase, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getBooleanConfigurationProperty, getConnection, getConnectorInstanceId, getDateConfigurationProperty, getIntConfigurationProperty, getLongConfigurationProperty, getSecretsCollectionName, getSecretsLocation, getSecretsProvider, getStringConfigurationProperty, getStringConfigurationProperty, getSuppliedPlaceholderProperties, hashCode, initialize, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, logExceptionRecord, logExceptionRecord, logRecord, logRecord, throwMissingConfigurationProperty, throwMissingElement, throwMissingEndpointAddress, throwMissingResource, throwNoAsset, throwWrongTypeOfAsset, throwWrongTypeOfResource, throwWrongTypeOfRootSchema, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, refreshStatistics, setStatisticProperty, setStatisticTimestamp
-
Constructor Details
-
LovelaceOpenLineageDataScopeService
public LovelaceOpenLineageDataScopeService()Default constructor
-
-
Method Details
-
getAnalysisDescription
Describe what the service produces.- Specified by:
getAnalysisDescriptionin classLovelaceOpenLineageAnalysisServiceBase- Returns:
- description
-
analyse
protected int analyse(OpenLineageRunHistory history) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Refine the data scope of each dataset.- Specified by:
analysein classLovelaceOpenLineageAnalysisServiceBase- Parameters:
history- events in the analysis window- Returns:
- number of assets updated
- Throws:
InvalidParameterException- invalid parameterPropertyServerException- repository problemUserNotAuthorizedException- security problem
-