Class ParquetSurveyService
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.opensurvey.SurveyActionServiceConnector
org.odpi.openmetadata.adapters.connectors.surveyaction.surveyparquet.ParquetSurveyService
- All Implemented Interfaces:
AuditLoggingComponent,SecureConnectorExtension,VirtualConnectorExtension,SurveyActionService
ParquetSurveyService is a survey action service implementation for analysing Apache Parquet files to
discover their columns and profile the data in them.
The schema, the measurements and the range of values in each column come from the footer of the file, which is where the writer records the schema, how the values are stored and statistics about them. This part of the survey takes the same time whatever the size of the file, and it works with every version of the Parquet format, and every encoding and compression algorithm.
The final analysis step (Profile Data) also reads the values in each top-level column to count how many times each value occurs. This relies on the DuckDB JDBC driver being available. If it is not, the survey is completed without these counts.
The schema, the measurements and the range of values in each column come from the footer of the file, which is where the writer records the schema, how the values are stored and statistics about them. This part of the survey takes the same time whatever the size of the file, and it works with every version of the Parquet format, and every encoding and compression algorithm.
The final analysis step (Profile Data) also reads the values in each top-level column to count how many times each value occurs. This relies on the DuckDB JDBC driver being available. If it is not, the survey is completed without these counts.
-
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.frameworks.opensurvey.SurveyActionServiceConnector
connector, csvFileConnectorTypeGUID, embeddedConnectors, objectMapper, propertyHelper, surveyActionServiceName, surveyContextFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
auditLog, connectionBean, connectorInstanceId, messageFormatter, secretsStoreConnectorMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFree up any resources held since the connector is no longer needed.voidstart()Indicates that the survey action service is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.frameworks.opensurvey.SurveyActionServiceConnector
getArrayRequestOrConfigurationProperty, getConnectorComponentDescription, getEmbeddedSurveyActionServices, getJSONProperties, getRootSchemaType, getSurveyContext, handleUnexpectedException, hasReachedFinalAnalysisStep, isFinalAnalysisStep, performCheckAssetAnalysisStep, performCheckAssetAnalysisStep, setAuditLog, setCSVFileConnectorTypeGUID, setSurveyActionServiceName, setSurveyContext, setUpAnnotation, setUpAnnotation, setUpAnnotation, setUpAnnotation, throwMissingSchemaType, throwNoAssetConnector, writeNameCountInventory, writeNameDescriptionInventory, writeNameListInventory, writePropertyListInventoryMethods 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, 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
-
ParquetSurveyService
public ParquetSurveyService()Default constructor.
-
-
Method Details
-
start
Indicates that the survey action service is completely configured and can begin processing.- Overrides:
startin classSurveyActionServiceConnector- Throws:
ConnectorCheckedException- a problem within the survey action service.UserNotAuthorizedException- the service was disconnected before/during start
-
disconnect
Free up any resources held since the connector is no longer needed.- Overrides:
disconnectin classSurveyActionServiceConnector- Throws:
ConnectorCheckedException- the connector detected a problem.
-