Klasse Table
java.lang.Object
org.avertox.MySQL.Table
- Alle implementierten Schnittstellen:
DatabaseOperations
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidbooleancontainsColumn(Column whereColumn) booleancontainsColumn(Row row, Column checkColumn) booleancontainsData(Object data) UitilsbooleanDeletebooleandeleteRows(Column whereColumn) getName()getRows()voidvoidInsertreadColumns(Column whereColumn) readData(Column whereColumn, StructureColumn targetColumn) readDataList(String targetColumn) readRows()booleanupdateColumns(Column whereColumn, List<Column> columns) voidupdateData(Column whereColumn) voidupdateData(Column whereColumn, String targetColumnName, Object targetData) booleanupdateData(Column whereColumn, Column targetColumn) booleanupdateMySQL(Column whereColumn, List<Column> targetColumns) booleanupdateRows(List<Row> rows)
-
Konstruktordetails
-
Table
- Parameter:
handler- MySQLHandler instancename- The Name of the TablerowStructure- List of StructureColumns witch defines how the Columns are ordered in the Rows
-
-
Methodendetails
-
addRow
-
getName
-
getRowStructure
-
getHandler
-
getRows
-
insertRow
Insert -
insertEmptyRow
public void insertEmptyRow() -
updateData
-
updateData
-
readDataList
-
readData
-
readData
- Parameter:
whereColumn1- The specific Column witch should be in the same row as the TargetwhereColumn2- The specific Column witch should be in the same row as the TargettargetColumn- The Name the Column witch data is requested- Gibt zurück:
- The data witch is stored in the targetColumn
-
readData
-
containsData
Uitils -
containsColumn
-
deleteRow
Delete- Angegeben von:
deleteRowin SchnittstelleDatabaseOperations- Parameter:
firstWhereColumn- The specific column witch should be in the same row with should be deletedsecondWhereColumn- The specific column witch should be in the same row with should be deleted- Gibt zurück:
- true if the columns could be deleted false if not
-
deleteRows
- Angegeben von:
deleteRowsin SchnittstelleDatabaseOperations- Parameter:
whereColumn- The specific column witch should be in the same row as the target- Gibt zurück:
- true if the rows could be deleted false if not
-
containsColumn
- Angegeben von:
containsColumnin SchnittstelleDatabaseOperations- Parameter:
whereColumn- The specific column witch should be checked- Gibt zurück:
- true if the lkk
-
readData
- Angegeben von:
readDatain SchnittstelleDatabaseOperations- Parameter:
whereColumn- The specific Column witch should be in the same row as the TargettargetColumn- The Name and Datatype of the Column witch data is requested- Gibt zurück:
- The data witch is stored in the targetColumn
-
readColumns
- Angegeben von:
readColumnsin SchnittstelleDatabaseOperations- Parameter:
whereColumn- The specific Column witch should be in the same row as the Target- Gibt zurück:
- List of Columns
-
readRows
- Angegeben von:
readRowsin SchnittstelleDatabaseOperations- Gibt zurück:
- List of Rows
-
readRows
-
updateData
- Angegeben von:
updateDatain SchnittstelleDatabaseOperations- Parameter:
whereColumn- The specific column witch should be in the same row as the targettargetColumn- The column witch should be updated- Gibt zurück:
- True if the update was successful false if not
-
updateColumns
- Angegeben von:
updateColumnsin SchnittstelleDatabaseOperations- Parameter:
whereColumn- The specific column witch should be in the same row as the targetcolumns- The columns witch should be updated- Gibt zurück:
- True if the update was successful false if not
-
updateRows
- Angegeben von:
updateRowsin SchnittstelleDatabaseOperations- Parameter:
rows- The rows witch should be updated- Gibt zurück:
- True if the update was successful false if not
-
updateMySQL
-