Added the query parameter enum

This commit is contained in:
mathias 2021-08-26 16:20:59 +02:00
parent e8b29e1ff6
commit 5680c1968f
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A

View File

@ -0,0 +1,34 @@
package de.gnmyt.sqltoolkit.querybuilder;
/**
* All usable query parameters for the {@link QueryBuilder}
*/
public enum QueryParameter {
/**
* The name of the table provided as a {@link String}
*/
TABLE_NAME,
/**
* All 'where'-parameters of the query provided as a {@link java.util.HashMap}
*/
WHERE_LIST,
/**
* All values of the query provided as a {@link java.util.HashMap}
*/
VALUE_LIST,
/**
* All 'set'-parameters of the query provided as a {@link java.util.HashMap}
*/
SET_LIST,
/**
* The row limit of a query provided as a {@link String}
*/
LIMIT
}