Package | Description |
---|---|
com.gpudb.filesystem | |
com.gpudb.filesystem.ingest |
Modifier and Type | Method and Description |
---|---|
void |
GPUdbFileHandler.ingest(List<String> fileNames,
String tableName,
IngestOptions ingestOptions,
TableCreationOptions createTableOptions)
This method will ingest several files in one go.
|
Modifier and Type | Method and Description |
---|---|
IngestOptions |
FileIngestor.getIngestOptions() |
IngestOptions |
IngestOptions.setBadRecordTableLimit(long badRecordTableLimit)
Sets the value of 'bad_record_table_limit'
|
IngestOptions |
IngestOptions.setBadRecordTableName(String badRecordTableName)
Sets the value of 'bad_record_table_name'.
|
IngestOptions |
IngestOptions.setColumnFormats(Map<String,org.apache.commons.lang3.tuple.Pair<String,String>> columnFormats)
Sets the column formats
|
IngestOptions |
IngestOptions.setColumnsToLoad(Set<String> columnsToLoad)
Sets the set of column names to load
|
IngestOptions |
IngestOptions.setColumnsToSkip(Set<String> columnsToSkip)
Sets the column names to skip
|
IngestOptions |
IngestOptions.setDefaultColumnFormats(Map<String,String> defaultColumnFormats)
Sets the default column formats
|
IngestOptions |
IngestOptions.setErrorHandlingMode(ErrorHandlingMode errorHandlingMode) |
IngestOptions |
IngestOptions.setFileType(FileType fileType) |
IngestOptions |
IngestOptions.setPrimaryKeys(List<String> primaryKeys) |
IngestOptions |
IngestOptions.setShardKeys(List<String> shardKeys) |
IngestOptions |
IngestOptions.setTextCommentString(String textCommentString) |
IngestOptions |
IngestOptions.setTextDelimiter(String textDelimiter) |
IngestOptions |
IngestOptions.setTextEscapeCharacter(String textEscapeCharacter) |
IngestOptions |
IngestOptions.setTextHasHeader(boolean textHasHeader) |
IngestOptions |
IngestOptions.setTextHeaderPropertyDelimiter(String textHeaderPropertyDelimiter) |
IngestOptions |
IngestOptions.setTextNullString(String textNullString) |
IngestOptions |
IngestOptions.setTextQuoteCharacter(String textQuoteCharacter)
Setter method for text quote character
|
IngestOptions |
IngestOptions.setTruncateTable(boolean truncateTable) |
IngestOptions |
IngestOptions.setTypeInferenceMode(TypeInferenceMode typeInferenceMode) |
Modifier and Type | Method and Description |
---|---|
void |
FileIngestor.setIngestOptions(IngestOptions ingestOptions) |
Constructor and Description |
---|
FileIngestor(GPUdb db,
String tableName,
List<String> fileNames,
IngestOptions ingestOptions,
TableCreationOptions createTableOptions) |
Copyright © 2024. All rights reserved.