public abstract class AbstractSelection<T extends AbstractSelection<?>>
extends java.lang.Object
Constructor and Description |
---|
AbstractSelection() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEquals(java.lang.String column,
java.lang.Object[] value) |
protected void |
addGreaterThan(java.lang.String column,
java.lang.Object value) |
protected void |
addGreaterThanOrEquals(java.lang.String column,
java.lang.Object value) |
protected void |
addLessThan(java.lang.String column,
java.lang.Object value) |
protected void |
addLessThanOrEquals(java.lang.String column,
java.lang.Object value) |
protected void |
addLike(java.lang.String column,
java.lang.String[] values) |
protected void |
addNotEquals(java.lang.String column,
java.lang.Object[] value) |
void |
addRaw(java.lang.String raw,
java.lang.Object... args) |
T |
and() |
java.lang.String[] |
args()
Returns the selection arguments produced by this object.
|
T |
closeParen() |
int |
delete(android.content.ContentResolver contentResolver)
Deletes row(s) specified by this selection.
|
T |
openParen() |
T |
or() |
java.lang.String |
sel()
Returns the selection produced by this object.
|
protected java.lang.Object[] |
toObjectArray(java.lang.Boolean value) |
protected java.lang.Object[] |
toObjectArray(double... array) |
protected java.lang.Object[] |
toObjectArray(float... array) |
protected java.lang.Object[] |
toObjectArray(int... array) |
protected java.lang.Object[] |
toObjectArray(long... array) |
abstract android.net.Uri |
uri()
Returns the
uri argument to pass to the ContentResolver methods. |
protected void addEquals(java.lang.String column, java.lang.Object[] value)
protected void addNotEquals(java.lang.String column, java.lang.Object[] value)
protected void addLike(java.lang.String column, java.lang.String[] values)
protected void addGreaterThan(java.lang.String column, java.lang.Object value)
protected void addGreaterThanOrEquals(java.lang.String column, java.lang.Object value)
protected void addLessThan(java.lang.String column, java.lang.Object value)
protected void addLessThanOrEquals(java.lang.String column, java.lang.Object value)
public void addRaw(java.lang.String raw, java.lang.Object... args)
public T openParen()
public T closeParen()
public T and()
public T or()
protected java.lang.Object[] toObjectArray(int... array)
protected java.lang.Object[] toObjectArray(long... array)
protected java.lang.Object[] toObjectArray(float... array)
protected java.lang.Object[] toObjectArray(double... array)
protected java.lang.Object[] toObjectArray(java.lang.Boolean value)
public java.lang.String sel()
public java.lang.String[] args()
public abstract android.net.Uri uri()
uri
argument to pass to the ContentResolver
methods.public int delete(android.content.ContentResolver contentResolver)
contentResolver
- The content resolver to use.