Search in sources :

Example 11 with FileStore

use of org.knime.core.data.filestore.FileStore in project knime-core by knime.

the class LoopStartReferenceWriteFileStoreHandler method createFileStoreInLoopBody.

/**
 * {@inheritDoc}
 */
@Override
public FileStore createFileStoreInLoopBody(final String name) throws IOException {
    FileStore fs = m_reference.createFileStoreInNestedLoop(name, m_thisNestedLoopPath, m_flowLoopContext.getIterationIndex());
    m_fileStoresInLoopCache.add(fs);
    return fs;
}
Also used : FileStore(org.knime.core.data.filestore.FileStore)

Example 12 with FileStore

use of org.knime.core.data.filestore.FileStore in project knime-core by knime.

the class LoopStartReferenceWriteFileStoreHandler method createFileStore.

/**
 * {@inheritDoc}
 */
@Override
public FileStore createFileStore(final String name) throws IOException {
    FileStore fs = createFileStoreInLoopBody(name);
    m_duplicateChecker.add(name);
    return fs;
}
Also used : FileStore(org.knime.core.data.filestore.FileStore)

Aggregations

FileStore (org.knime.core.data.filestore.FileStore)12 FileStoreKey (org.knime.core.data.filestore.FileStoreKey)4 File (java.io.File)3 IOException (java.io.IOException)2 FileStoreCell (org.knime.core.data.filestore.FileStoreCell)2 IWriteFileStoreHandler (org.knime.core.data.filestore.internal.IWriteFileStoreHandler)2 BufferedOutputStream (java.io.BufferedOutputStream)1 ByteArrayOutputStream (java.io.ByteArrayOutputStream)1 FileOutputStream (java.io.FileOutputStream)1 OutputStream (java.io.OutputStream)1 DigestInputStream (java.security.DigestInputStream)1 MessageDigest (java.security.MessageDigest)1 ZipEntry (java.util.zip.ZipEntry)1 ZipOutputStream (java.util.zip.ZipOutputStream)1 DeferredFileOutputStream (org.apache.commons.io.output.DeferredFileOutputStream)1 DataCell (org.knime.core.data.DataCell)1 CollectionDataValue (org.knime.core.data.collection.CollectionDataValue)1 DataCellFactoryMethod (org.knime.core.data.convert.DataCellFactoryMethod)1 FileStorePortObject (org.knime.core.data.filestore.FileStorePortObject)1 NotInWorkflowWriteFileStoreHandler (org.knime.core.data.filestore.internal.NotInWorkflowWriteFileStoreHandler)1