Package ch.so.agi.gretl.internal.ioxwkf
Record Class IoxWkfDatabaseEngine.JsonImportRequest
java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.ioxwkf.IoxWkfDatabaseEngine.JsonImportRequest
- Enclosing class:
- IoxWkfDatabaseEngine
public static record IoxWkfDatabaseEngine.JsonImportRequest(DatabaseSpec database, Path jsonFile, String qualifiedTableName, String columnName, boolean deleteAllRows)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionJsonImportRequest(DatabaseSpec database, Path jsonFile, String qualifiedTableName, String columnName, boolean deleteAllRows) Creates an instance of aJsonImportRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnNamerecord component.database()Returns the value of thedatabaserecord component.booleanReturns the value of thedeleteAllRowsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jsonFile()Returns the value of thejsonFilerecord component.Returns the value of thequalifiedTableNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JsonImportRequest
public JsonImportRequest(DatabaseSpec database, Path jsonFile, String qualifiedTableName, String columnName, boolean deleteAllRows) Creates an instance of aJsonImportRequestrecord class.- Parameters:
database- the value for thedatabaserecord componentjsonFile- the value for thejsonFilerecord componentqualifiedTableName- the value for thequalifiedTableNamerecord componentcolumnName- the value for thecolumnNamerecord componentdeleteAllRows- the value for thedeleteAllRowsrecord 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
-
jsonFile
Returns the value of thejsonFilerecord component.- Returns:
- the value of the
jsonFilerecord component
-
qualifiedTableName
Returns the value of thequalifiedTableNamerecord component.- Returns:
- the value of the
qualifiedTableNamerecord component
-
columnName
Returns the value of thecolumnNamerecord component.- Returns:
- the value of the
columnNamerecord component
-
deleteAllRows
public boolean deleteAllRows()Returns the value of thedeleteAllRowsrecord component.- Returns:
- the value of the
deleteAllRowsrecord component
-