Package org.apache.nutch.tools
Class CommonCrawlConfig
- java.lang.Object
-
- org.apache.nutch.tools.CommonCrawlConfig
-
- All Implemented Interfaces:
Serializable
public class CommonCrawlConfig extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommonCrawlConfig()Default constructorCommonCrawlConfig(InputStream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetJsonArray()StringgetKeyPrefix()StringgetOutputDir()booleangetReverseKey()StringgetReverseKeyValue()booleangetSimpleDateFormat()longgetWarcSize()booleanisCompressed()voidsetCompressed(boolean compressed)voidsetJsonArray(boolean jsonArray)voidsetKeyPrefix(String keyPrefix)voidsetOutputDir(String outputDir)voidsetReverseKey(boolean reverseKey)voidsetReverseKeyValue(String reverseKeyValue)voidsetSimpleDateFormat(boolean simpleDateFormat)voidsetWarcSize(long warcSize)
-
-
-
Constructor Detail
-
CommonCrawlConfig
public CommonCrawlConfig()
Default constructor
-
CommonCrawlConfig
public CommonCrawlConfig(InputStream stream)
-
-
Method Detail
-
setKeyPrefix
public void setKeyPrefix(String keyPrefix)
-
setSimpleDateFormat
public void setSimpleDateFormat(boolean simpleDateFormat)
-
setJsonArray
public void setJsonArray(boolean jsonArray)
-
setReverseKey
public void setReverseKey(boolean reverseKey)
-
setReverseKeyValue
public void setReverseKeyValue(String reverseKeyValue)
-
getKeyPrefix
public String getKeyPrefix()
-
getSimpleDateFormat
public boolean getSimpleDateFormat()
-
getJsonArray
public boolean getJsonArray()
-
getReverseKey
public boolean getReverseKey()
-
getReverseKeyValue
public String getReverseKeyValue()
-
isCompressed
public boolean isCompressed()
-
setCompressed
public void setCompressed(boolean compressed)
-
getWarcSize
public long getWarcSize()
-
setWarcSize
public void setWarcSize(long warcSize)
-
getOutputDir
public String getOutputDir()
-
setOutputDir
public void setOutputDir(String outputDir)
-
-