public abstract class DaoQuery<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DaoQuery.SimpleSelectArg
SimpleSelectArg
Makes value accessible without potential SQLException
|
| Constructor and Description |
|---|
DaoQuery(PersistenceDao<T,?> dao,
DaoQuery.SimpleSelectArg... selectionArguments)
Create new DaoQuery object
|
| Modifier and Type | Method and Description |
|---|---|
com.j256.ormlite.stmt.SelectArg |
get(int position)
Returns selection argument at specified position
|
com.j256.ormlite.stmt.SelectArg |
get(String param)
Returns selection argument for specified name
|
boolean |
isValidPosition(int position)
Returns true if position value is in range of 1 to number of arguments
|
public DaoQuery(PersistenceDao<T,?> dao, DaoQuery.SimpleSelectArg... selectionArguments)
dao - Entity DAO, which has open connection sourcevselectionArguments - Selection arguments which are used to construct the WHERE clausepublic boolean isValidPosition(int position)
position - public com.j256.ormlite.stmt.SelectArg get(int position)
position - intpublic com.j256.ormlite.stmt.SelectArg get(String param)
param - This documentation is licensed by Andrew Bowley under the GPLv3 License.