Class ReferenceDataSetConnector
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.adapters.connectors.jacquard.tabulardatasets.OpenMetadataDataSetConnectorBase
org.odpi.openmetadata.adapters.connectors.jacquard.tabulardatasets.OpenMetadataRootDataSetConnectorBase
org.odpi.openmetadata.adapters.connectors.jacquard.tabulardatasets.DynamicOpenMetadataDataSetConnectorBase
org.odpi.openmetadata.adapters.connectors.jacquard.tabulardatasets.referencedata.ReferenceDataSetConnector
- All Implemented Interfaces:
AuditLoggingComponent,SecureConnectorExtension,ReadableTabularDataSource,VirtualConnectorExtension
ReferenceDataSetConnector enables interaction with a valid value set as if it is a tabular data set.
-
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.jacquard.tabulardatasets.DynamicOpenMetadataDataSetConnectorBase
canonicalName, description, identifierPropertyValueFields inherited from class org.odpi.openmetadata.adapters.connectors.jacquard.tabulardatasets.OpenMetadataRootDataSetConnectorBase
recordsFields inherited from class org.odpi.openmetadata.adapters.connectors.jacquard.tabulardatasets.OpenMetadataDataSetConnectorBase
connectorContext, connectorName, productDefinition, propertyHelperFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
auditLog, connectionBean, connectorInstanceId, embeddedConnectors, messageFormatter, secretsStoreConnectorMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the table name for this data source.voidinitialize(String connectorInstanceId, Connection connectionDetails) Call made by the ConnectorProvider to initialize the Connector with the base services.protected voidprocessNestedValues(OpenMetadataRootElement element, List<String> knownGUIDs) Process any nested records.voidRefresh any cached values.Methods inherited from class org.odpi.openmetadata.adapters.connectors.jacquard.tabulardatasets.OpenMetadataRootDataSetConnectorBase
getRecordCount, readRecord, refreshCache, refreshExistingRecords, startMethods inherited from class org.odpi.openmetadata.adapters.connectors.jacquard.tabulardatasets.OpenMetadataDataSetConnectorBase
disconnect, getClientUserId, getColumnDescriptions, getColumnDescriptions, getColumnNumber, getConnectorComponentDescription, getElementHeaderRecordValue, getElementRecordValue, getElementRecordValue, getHeaderAndPropertiesOptions, getHeaderAndPropertiesQueryOptions, getRecordValues, getRecordValues, getRelatedElementGUIDRecordValue, getRelatedElementRecordValue, getTableDescription, getTabularColumnDescription, getTypesLastChangedTime, setAuditLog, setColumnDescriptions, setLocalEnvironmentMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
combineConfigurationProperties, disconnectConnectors, equals, fromCamelToCanonicalCase, fromCanonicalToCamelCase, fromCanonicalToKebabCase, fromCanonicalToSnakeCase, fromKebabToCanonicalCase, fromSnakeToCanonicalCase, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayValue, getBooleanConfigurationProperty, getConnection, getConnectorInstanceId, getDateConfigurationProperty, getIntConfigurationProperty, getLongConfigurationProperty, getSecretsCollectionName, getSecretsLocation, getSecretsProvider, getStringConfigurationProperty, getStringConfigurationProperty, getSuppliedPlaceholderProperties, hashCode, 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
-
ReferenceDataSetConnector
public ReferenceDataSetConnector()Default constructor
-
-
Method Details
-
initialize
public void initialize(String connectorInstanceId, Connection connectionDetails) throws ConnectorCheckedException Call made by the ConnectorProvider to initialize the Connector with the base services.- Overrides:
initializein classDynamicOpenMetadataDataSetConnectorBase- Parameters:
connectorInstanceId- unique id for the connector instance useful for messages etcconnectionDetails- POJO for the configuration used to create the connector- Throws:
ConnectorCheckedException- An issue occurred during initialization
-
getTableName
Return the table name for this data source. It is the canonical name from the connection. A connection written before the canonical name was recorded in it has none, and this connector then has no table to present: saying so here leaves the product out of a delivery, rather than asking the subscriber's destination to create a table called null. The connector is still created from such a connection, so that Jacquard can refresh the product and, with it, the connection.- Specified by:
getTableNamein interfaceReadableTabularDataSource- Overrides:
getTableNamein classOpenMetadataDataSetConnectorBase- Returns:
- string
- Throws:
ConnectorCheckedException- no canonical name in the connection
-
refreshCache
Refresh any cached values.- Specified by:
refreshCachein classOpenMetadataDataSetConnectorBase- Throws:
ConnectorCheckedException- unable to refresh
-
processNestedValues
Process any nested records.- Overrides:
processNestedValuesin classOpenMetadataRootDataSetConnectorBase- Parameters:
element- retrieved elementknownGUIDs- list of records already processed
-