Package one.microstream.storage.types
Interface StorageDataConverterTypeCsvToBinary<S>
- All Known Implementing Classes:
StorageDataConverterTypeCsvToBinary.Default
public interface StorageDataConverterTypeCsvToBinary<S>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageDataConverterTypeCsvToBinary.Default
static interface
StorageDataConverterTypeCsvToBinary.ValueHandler
-
Method Summary
-
Method Details
-
convertCsv
-
convertCsv
Batch-converts given list of sources.- Type Parameters:
I
- source type- Parameters:
sources
- sources to convert- Since:
- 08.00.00
-
New
static StorageDataConverterTypeCsvToBinary<AFile> New(PersistenceTypeDictionary typeDictionary, ADirectory targetDirectory)Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary
.The default file suffix from
StorageEntityTypeExportFileProvider
is used.- Parameters:
typeDictionary
- type informationtargetDirectory
- binary file target directory- Returns:
- a new
StorageDataConverterTypeCsvToBinary
- Since:
- 08.00.00
- See Also:
StorageEntityTypeExportFileProvider.Defaults.defaultFileSuffix()
-
New
static StorageDataConverterTypeCsvToBinary<AFile> New(PersistenceTypeDictionary typeDictionary, ADirectory targetDirectory, String targetFileSuffix)Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary
.- Parameters:
typeDictionary
- type informationtargetDirectory
- binary file target directorytargetFileSuffix
- binary file suffix- Returns:
- a new
StorageDataConverterTypeCsvToBinary
- Since:
- 08.00.00
-
New
static StorageDataConverterTypeCsvToBinary<AFile> New(StorageDataConverterCsvConfiguration configuration, PersistenceTypeDictionary typeDictionary, StorageEntityTypeConversionFileProvider fileProvider)Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary
.- Parameters:
configuration
- the csv configuration to usetypeDictionary
- type informationfileProvider
- target file provider- Returns:
- a new
StorageDataConverterTypeCsvToBinary
-
New
static StorageDataConverterTypeCsvToBinary<AFile> New(StorageDataConverterCsvConfiguration configuration, PersistenceTypeDictionary typeDictionary, StorageEntityTypeConversionFileProvider fileProvider, int bufferSize)Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary
.- Parameters:
configuration
- the csv configuration to usetypeDictionary
- type informationfileProvider
- target file providerbufferSize
- custom buffer size or 0- Returns:
- a new
StorageDataConverterTypeCsvToBinary
-