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 classStorageDataConverterTypeCsvToBinary.Defaultstatic interfaceStorageDataConverterTypeCsvToBinary.ValueHandler
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <I extends Iterable<S>>
voidconvertCsv(I sources)Batch-converts given list of sources.voidconvertCsv(S source)static StorageDataConverterTypeCsvToBinary<one.microstream.afs.types.AFile>New(one.microstream.persistence.types.PersistenceTypeDictionary typeDictionary, one.microstream.afs.types.ADirectory targetDirectory)Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary.static StorageDataConverterTypeCsvToBinary<one.microstream.afs.types.AFile>New(one.microstream.persistence.types.PersistenceTypeDictionary typeDictionary, one.microstream.afs.types.ADirectory targetDirectory, String targetFileSuffix)Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary.static StorageDataConverterTypeCsvToBinary<one.microstream.afs.types.AFile>New(StorageDataConverterCsvConfiguration configuration, one.microstream.persistence.types.PersistenceTypeDictionary typeDictionary, StorageEntityTypeConversionFileProvider fileProvider)Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary.static StorageDataConverterTypeCsvToBinary<one.microstream.afs.types.AFile>New(StorageDataConverterCsvConfiguration configuration, one.microstream.persistence.types.PersistenceTypeDictionary typeDictionary, StorageEntityTypeConversionFileProvider fileProvider, int bufferSize)Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary.
-
-
-
Method Detail
-
convertCsv
void convertCsv(S source)
-
convertCsv
default <I extends Iterable<S>> void convertCsv(I sources)
Batch-converts given list of sources.- Type Parameters:
I- source type- Parameters:
sources- sources to convert- Since:
- 08.00.00
-
New
static StorageDataConverterTypeCsvToBinary<one.microstream.afs.types.AFile> New(one.microstream.persistence.types.PersistenceTypeDictionary typeDictionary, one.microstream.afs.types.ADirectory targetDirectory)
Pseudo-constructor method to create a newStorageDataConverterTypeCsvToBinary.The default file suffix from
StorageEntityTypeExportFileProvideris 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<one.microstream.afs.types.AFile> New(one.microstream.persistence.types.PersistenceTypeDictionary typeDictionary, one.microstream.afs.types.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<one.microstream.afs.types.AFile> New(StorageDataConverterCsvConfiguration configuration, one.microstream.persistence.types.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<one.microstream.afs.types.AFile> New(StorageDataConverterCsvConfiguration configuration, one.microstream.persistence.types.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
-
-