Package ch.so.agi.gretl.internal.ioxwkf
Record Class IoxWkfDatabaseEngine.CsvImportRequest
java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.ioxwkf.IoxWkfDatabaseEngine.CsvImportRequest
- Enclosing class:
- IoxWkfDatabaseEngine
-
Constructor Summary
ConstructorsConstructorDescriptionCsvImportRequest(DatabaseSpec database, Path dataFile, String tableName, boolean firstLineIsHeader, String valueDelimiter, String valueSeparator, String schemaName, String encoding, Integer batchSize) Creates an instance of aCsvImportRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebatchSizerecord component.database()Returns the value of thedatabaserecord component.dataFile()Returns the value of thedataFilerecord component.encoding()Returns the value of theencodingrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefirstLineIsHeaderrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theschemaNamerecord component.Returns the value of thetableNamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalueDelimiterrecord component.Returns the value of thevalueSeparatorrecord component.
-
Constructor Details
-
CsvImportRequest
public CsvImportRequest(DatabaseSpec database, Path dataFile, String tableName, boolean firstLineIsHeader, String valueDelimiter, String valueSeparator, String schemaName, String encoding, Integer batchSize) Creates an instance of aCsvImportRequestrecord class.- Parameters:
database- the value for thedatabaserecord componentdataFile- the value for thedataFilerecord componenttableName- the value for thetableNamerecord componentfirstLineIsHeader- the value for thefirstLineIsHeaderrecord componentvalueDelimiter- the value for thevalueDelimiterrecord componentvalueSeparator- the value for thevalueSeparatorrecord componentschemaName- the value for theschemaNamerecord componentencoding- the value for theencodingrecord componentbatchSize- the value for thebatchSizerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
database
Returns the value of thedatabaserecord component.- Returns:
- the value of the
databaserecord component
-
dataFile
Returns the value of thedataFilerecord component.- Returns:
- the value of the
dataFilerecord component
-
tableName
Returns the value of thetableNamerecord component.- Returns:
- the value of the
tableNamerecord component
-
firstLineIsHeader
public boolean firstLineIsHeader()Returns the value of thefirstLineIsHeaderrecord component.- Returns:
- the value of the
firstLineIsHeaderrecord component
-
valueDelimiter
Returns the value of thevalueDelimiterrecord component.- Returns:
- the value of the
valueDelimiterrecord component
-
valueSeparator
Returns the value of thevalueSeparatorrecord component.- Returns:
- the value of the
valueSeparatorrecord component
-
schemaName
Returns the value of theschemaNamerecord component.- Returns:
- the value of the
schemaNamerecord component
-
encoding
Returns the value of theencodingrecord component.- Returns:
- the value of the
encodingrecord component
-
batchSize
Returns the value of thebatchSizerecord component.- Returns:
- the value of the
batchSizerecord component
-