Interface DataEngineInterface
-
- All Known Implementing Classes:
DataEngineConnectorBase
public interface DataEngineInterfaceRequired methods expected to be implemented by any Data Engine Connector.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? super Referenceable>getChangedDataStores(Date from, Date to)Retrieve a list of the changed data stores between the dates and times provided.List<LineageMapping>getChangedLineageMappings(Date from, Date to)Retrieve a list of the changed lineage mappings between the dates and times provided.List<Process>getChangedProcesses(Date from, Date to)Retrieve a list of the changed processes between the dates and times provided.List<ProcessHierarchy>getChangedProcessHierarchies(Date from, Date to)Retrieve a list of the changed process hierarchies between the dates and times provided.List<SchemaType>getChangedSchemaTypes(Date from, Date to)Retrieve a list of the changed schema types between the dates and times provided.DategetChangesLastSynced()Retrieve the date and time at which changes were last synchronized.SoftwareServerCapabilitygetDataEngineDetails()Retrieve the details about the data engine to which we are connected.DategetOldestChangeSince(Date time)Retrieve the date of the oldest change since the time specified, or if there were no changes since the time specified return null.booleanrequiresPolling()Indicates whether the data engine requires polling (true) or is capable of notifying of changes on its own (false).voidsetChangesLastSynced(Date time)Persist the date and time at which changes were last successfully synchronized.
-
-
-
Method Detail
-
getDataEngineDetails
SoftwareServerCapability getDataEngineDetails()
Retrieve the details about the data engine to which we are connected.- Returns:
- SoftwareServerCapability
-
requiresPolling
boolean requiresPolling()
Indicates whether the data engine requires polling (true) or is capable of notifying of changes on its own (false).- Returns:
- boolean
-
getChangesLastSynced
Date getChangesLastSynced() throws ConnectorCheckedException, PropertyServerException
Retrieve the date and time at which changes were last synchronized.- Returns:
- Date
- Throws:
ConnectorCheckedExceptionPropertyServerException
-
setChangesLastSynced
void setChangesLastSynced(Date time) throws ConnectorCheckedException, PropertyServerException
Persist the date and time at which changes were last successfully synchronized.- Parameters:
time- the time to record for the last synchronization- Throws:
ConnectorCheckedExceptionPropertyServerException
-
getOldestChangeSince
Date getOldestChangeSince(Date time) throws ConnectorCheckedException, PropertyServerException
Retrieve the date of the oldest change since the time specified, or if there were no changes since the time specified return null.- Parameters:
time- the time from which to look for the oldest change- Returns:
- Date
- Throws:
ConnectorCheckedExceptionPropertyServerException
-
getChangedSchemaTypes
List<SchemaType> getChangedSchemaTypes(Date from, Date to) throws ConnectorCheckedException, PropertyServerException
Retrieve a list of the changed schema types between the dates and times provided.- Parameters:
from- the date and time from which to look for changes (exclusive)to- the date and time up to which to look for changes (inclusive)- Returns:
List<SchemaType>- Throws:
ConnectorCheckedExceptionPropertyServerException
-
getChangedDataStores
List<? super Referenceable> getChangedDataStores(Date from, Date to) throws ConnectorCheckedException, PropertyServerException
Retrieve a list of the changed data stores between the dates and times provided.- Parameters:
from- the date and time from which to look for changes (exclusive)to- the date and time up to which to look for changes (inclusive)- Returns:
List<SchemaType>- Throws:
ConnectorCheckedExceptionPropertyServerException
-
getChangedProcesses
List<Process> getChangedProcesses(Date from, Date to) throws ConnectorCheckedException, PropertyServerException
Retrieve a list of the changed processes between the dates and times provided.- Parameters:
from- the date and time from which to look for changes (exclusive)to- the date and time up to which to look for changes (inclusive)- Returns:
List<Process>- Throws:
ConnectorCheckedExceptionPropertyServerException
-
getChangedProcessHierarchies
List<ProcessHierarchy> getChangedProcessHierarchies(Date from, Date to) throws ConnectorCheckedException, PropertyServerException
Retrieve a list of the changed process hierarchies between the dates and times provided.- Parameters:
from- the date and time from which to look for changes (exclusive)to- the date and time up to which to look for changes (inclusive)- Returns:
List<ProcessHierarchy>- Throws:
ConnectorCheckedExceptionPropertyServerException
-
getChangedLineageMappings
List<LineageMapping> getChangedLineageMappings(Date from, Date to) throws ConnectorCheckedException, PropertyServerException
Retrieve a list of the changed lineage mappings between the dates and times provided.- Parameters:
from- the date and time from which to look for changes (exclusive)to- the date and time up to which to look for changes (inclusive)- Returns:
List<LineageMapping>- Throws:
ConnectorCheckedExceptionPropertyServerException
-
-