T
- The entity class the query will delete from.public class DeleteQuery<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AbstractDao<T,?> |
dao |
protected de.greenrobot.dao.InternalQueryDaoAccess<T> |
daoAccess |
protected java.lang.Thread |
ownerThread |
protected java.lang.String[] |
parameters |
protected java.lang.String |
sql |
Modifier and Type | Method and Description |
---|---|
protected void |
checkThread() |
void |
executeDeleteWithoutDetachingEntities()
Deletes all matching entities without detaching them from the identity scope (aka session/cache).
|
DeleteQuery<T> |
forCurrentThread() |
void |
setParameter(int index,
java.lang.Object parameter)
Sets the parameter (0 based) using the position in which it was added during building the query.
|
protected static java.lang.String[] |
toStringArray(java.lang.Object[] values) |
protected final AbstractDao<T,?> dao
protected final de.greenrobot.dao.InternalQueryDaoAccess<T> daoAccess
protected final java.lang.String sql
protected final java.lang.String[] parameters
protected final java.lang.Thread ownerThread
public DeleteQuery<T> forCurrentThread()
public void executeDeleteWithoutDetachingEntities()
protected static java.lang.String[] toStringArray(java.lang.Object[] values)
public void setParameter(int index, java.lang.Object parameter)
protected void checkThread()
Available under the Apache License, Version 2.0 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.