Java Code Examples for org.datavec.api.split.partition.Partitioner#currentOutputStream()
The following examples show how to use
org.datavec.api.split.partition.Partitioner#currentOutputStream() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ExcelRecordWriter.java From DataVec with Apache License 2.0 | 5 votes |
@Override public void initialize(InputSplit inputSplit, Partitioner partitioner) throws Exception { this.conf = new Configuration(); this.partitioner = partitioner; partitioner.init(inputSplit); out = new DataOutputStream(partitioner.currentOutputStream()); initPoi(); }
Example 2
Source File: ExcelRecordWriter.java From DataVec with Apache License 2.0 | 5 votes |
@Override public void initialize(Configuration configuration, InputSplit split, Partitioner partitioner) throws Exception { this.workBookName = configuration.get(WORKSHEET_NAME,DEFAULT_WORKSHEET_NAME); this.fileTypeToUse = configuration.get(FILE_TYPE,DEFAULT_FILE_TYPE); this.conf = configuration; partitioner.init(split); out = new DataOutputStream(partitioner.currentOutputStream()); initPoi(); }
Example 3
Source File: FileRecordWriter.java From DataVec with Apache License 2.0 | 5 votes |
@Override public void initialize(InputSplit inputSplit, Partitioner partitioner) throws Exception { partitioner.init(inputSplit); out = new DataOutputStream(partitioner.currentOutputStream()); this.partitioner = partitioner; }
Example 4
Source File: ExcelRecordWriter.java From deeplearning4j with Apache License 2.0 | 5 votes |
@Override public void initialize(InputSplit inputSplit, Partitioner partitioner) throws Exception { this.conf = new Configuration(); this.partitioner = partitioner; partitioner.init(inputSplit); out = new DataOutputStream(partitioner.currentOutputStream()); initPoi(); }
Example 5
Source File: ExcelRecordWriter.java From deeplearning4j with Apache License 2.0 | 5 votes |
@Override public void initialize(Configuration configuration, InputSplit split, Partitioner partitioner) throws Exception { this.workBookName = configuration.get(WORKSHEET_NAME,DEFAULT_WORKSHEET_NAME); this.fileTypeToUse = configuration.get(FILE_TYPE,DEFAULT_FILE_TYPE); this.conf = configuration; partitioner.init(split); out = new DataOutputStream(partitioner.currentOutputStream()); initPoi(); }
Example 6
Source File: FileRecordWriter.java From deeplearning4j with Apache License 2.0 | 5 votes |
@Override public void initialize(InputSplit inputSplit, Partitioner partitioner) throws Exception { partitioner.init(inputSplit); out = new DataOutputStream(partitioner.currentOutputStream()); this.partitioner = partitioner; }