Package com.nuix.superutilities.export
Class ChunkedDATExporter
- java.lang.Object
-
- com.nuix.superutilities.export.ChunkedDATExporter
-
public class ChunkedDATExporter extends java.lang.Object
Generates a series of DAT loadfiles, based on a metadata profile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ChunkedDATExporter.ChunkInfo
-
Constructor Summary
Constructors Constructor Description ChunkedDATExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(java.util.List<nuix.Item> items)
protected void
exportToFile(ChunkedDATExporter.ChunkInfo chunk)
protected java.lang.String
generateRecord(java.util.List<java.lang.String> values)
protected java.lang.String
generateRecord(nuix.Item item)
int
getChunkSize()
int
getConcurrency()
java.io.File
getExportDirectory()
java.lang.String
getFilenamePrefix()
boolean
getHeadersOnFirstChunkOnly()
nuix.MetadataProfile
getProfile()
void
setChunkSize(int chunkSize)
void
setConcurrency(int concurrency)
void
setExportDirectory(java.io.File exportDirectory)
void
setExportDirectory(java.lang.String exportDirectory)
void
setFilenamePrefix(java.lang.String filenamePrefix)
void
setHeadersOnFirstChunkOnly(boolean headersOnFirstChunkOnly)
void
setProfile(nuix.MetadataProfile profile)
-
-
-
Method Detail
-
export
public void export(java.util.List<nuix.Item> items)
-
exportToFile
protected void exportToFile(ChunkedDATExporter.ChunkInfo chunk)
-
generateRecord
protected java.lang.String generateRecord(nuix.Item item)
-
generateRecord
protected java.lang.String generateRecord(java.util.List<java.lang.String> values)
-
getConcurrency
public int getConcurrency()
-
setConcurrency
public void setConcurrency(int concurrency)
-
getChunkSize
public int getChunkSize()
-
setChunkSize
public void setChunkSize(int chunkSize)
-
getExportDirectory
public java.io.File getExportDirectory()
-
setExportDirectory
public void setExportDirectory(java.io.File exportDirectory)
-
setExportDirectory
public void setExportDirectory(java.lang.String exportDirectory)
-
getProfile
public nuix.MetadataProfile getProfile()
-
setProfile
public void setProfile(nuix.MetadataProfile profile)
-
getFilenamePrefix
public java.lang.String getFilenamePrefix()
-
setFilenamePrefix
public void setFilenamePrefix(java.lang.String filenamePrefix)
-
getHeadersOnFirstChunkOnly
public boolean getHeadersOnFirstChunkOnly()
-
setHeadersOnFirstChunkOnly
public void setHeadersOnFirstChunkOnly(boolean headersOnFirstChunkOnly)
-
-