public class MSSQLDatabaseAdapter extends java.lang.Object implements DatabaseAdapter
| Constructor and Description |
|---|
MSSQLDatabaseAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.String |
getSelectStatement(java.lang.String tableName,
java.lang.String columnNames,
java.lang.String whereClause,
java.lang.String orderByClause,
java.lang.Long limit,
java.lang.Long offset)
Returns a SQL SELECT statement with the given clauses applied.
|
public java.lang.String getName()
getName in interface DatabaseAdapterpublic java.lang.String getDescription()
getDescription in interface DatabaseAdapterpublic java.lang.String getSelectStatement(java.lang.String tableName,
java.lang.String columnNames,
java.lang.String whereClause,
java.lang.String orderByClause,
java.lang.Long limit,
java.lang.Long offset)
DatabaseAdaptergetSelectStatement in interface DatabaseAdaptertableName - The name of the table to fetch rows fromcolumnNames - The names of the columns to fetch from the tablewhereClause - The filter to apply to the statement. This should not include the WHERE keywordorderByClause - The columns/clause used for ordering the result rows. This should not include the ORDER BY keywordslimit - The value for the LIMIT clause (i.e. the number of rows to return)offset - The value for the OFFSET clause (i.e. the number of rows to skip)