Class FileStatsExtractor
java.lang.Object
org.odpi.openmetadata.adapters.connectors.surveyaction.extractors.FileStatsExtractor
FileStatsExtractor uses the FileClassifier to extract the stats about a file and then convert them into a list of
annotation.
-
Constructor Summary
ConstructorsConstructorDescriptionFileStatsExtractor(File file, org.odpi.openmetadata.frameworks.governanceaction.fileclassifier.FileClassifier fileClassifier, org.odpi.openmetadata.frameworks.surveyaction.SurveyActionServiceConnector surveyActionServiceConnector) Constructor captures the file that is to be analysed. -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.frameworks.surveyaction.properties.Annotation
-
Constructor Details
-
FileStatsExtractor
public FileStatsExtractor(File file, org.odpi.openmetadata.frameworks.governanceaction.fileclassifier.FileClassifier fileClassifier, org.odpi.openmetadata.frameworks.surveyaction.SurveyActionServiceConnector surveyActionServiceConnector) Constructor captures the file that is to be analysed.- Parameters:
file- file to analyse
-
-
Method Details
-
getAnnotation
public org.odpi.openmetadata.frameworks.surveyaction.properties.Annotation getAnnotation() throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, IOException- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedExceptionIOException
-