java.lang.Object
org.odpi.openmetadata.adapters.connectors.surveyaction.extractors.FileStatsExtractor

public class FileStatsExtractor extends Object
FileStatsExtractor uses the FileClassifier to extract the stats about a file and then convert them into a list of annotation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.frameworks.surveyaction.properties.Annotation
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      IOException