Represents an importer from JSON format Implements the Korzh.DbUtils.IDatasetImporter
public class Korzh.DbUtils.Import.JsonDatasetImporter
: IDatasetImporter
Properties
Type |
Name |
Description |
String |
FileExtension |
Gets the default file extension for the data format processed by this importer (e.g "xml" or "json"). |
Methods
Type |
Name |
Description |
void |
FinishImport() |
Finilizing the importing process. |
Boolean |
HasRecords() |
Determines whether there are more records to process in the input stream. |
IDataRecord |
NextRecord() |
Processes the next record in the input stream and returns it to the caller. |
void |
ReadOneRecordField(DataRecord record, String fieldName) |
Reads one record field by its name |
void |
ReadRecordFields(DataRecord record) |
Reads the record fields. |
void |
ReadSchema() |
Reads the schema. |
DatasetInfo |
StartImport(Stream datasetStream) |
Starts the importing process. This function processes the first part of the dataset stream and collect necessary information about the dataset |