Package org.apache.nutch.parse
Class ParseOutputFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckOutputSpecs(JobContext context) static StringfilterNormalize(String fromUrl, String toUrl, String fromHost, boolean ignoreInternalLinks, boolean ignoreExternalLinks, String ignoreExternalLinksMode, URLFilters filters, URLExemptionFilters exemptionFilters, URLNormalizers normalizers) static StringfilterNormalize(String fromUrl, String toUrl, String origin, boolean ignoreInternalLinks, boolean ignoreExternalLinks, String ignoreExternalLinksMode, URLFilters filters, URLExemptionFilters exemptionFilters, URLNormalizers normalizers, String urlNormalizerScope) getOutputCommitter(TaskAttemptContext context) getRecordWriter(TaskAttemptContext context) getUniqueFile(TaskAttemptContext context, String name)
-
Constructor Details
-
ParseOutputFormat
public ParseOutputFormat()
-
-
Method Details
-
getOutputCommitter
- Specified by:
getOutputCommitterin classOutputFormat<Text,Parse> - Throws:
IOException
-
checkOutputSpecs
- Specified by:
checkOutputSpecsin classOutputFormat<Text,Parse> - Throws:
IOException
-
getUniqueFile
-
getRecordWriter
- Specified by:
getRecordWriterin classOutputFormat<Text,Parse> - Throws:
IOException
-
filterNormalize
public static String filterNormalize(String fromUrl, String toUrl, String fromHost, boolean ignoreInternalLinks, boolean ignoreExternalLinks, String ignoreExternalLinksMode, URLFilters filters, URLExemptionFilters exemptionFilters, URLNormalizers normalizers) -
filterNormalize
public static String filterNormalize(String fromUrl, String toUrl, String origin, boolean ignoreInternalLinks, boolean ignoreExternalLinks, String ignoreExternalLinksMode, URLFilters filters, URLExemptionFilters exemptionFilters, URLNormalizers normalizers, String urlNormalizerScope)
-