public final class KriptonContentValues extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
KriptonContentValues.ParamType |
| Modifier and Type | Field and Description |
|---|---|
protected com.abubusoft.kripton.common.Triple<String,Object,KriptonContentValues.ParamType> |
triple |
| Constructor and Description |
|---|
KriptonContentValues()
Creates an empty set of values using the default initial size
|
| Modifier and Type | Method and Description |
|---|---|
void |
addWhereArgs(String value) |
void |
bind(android.database.sqlite.SQLiteStatement statement) |
void |
clear()
Removes all values.
|
void |
clear(android.content.ContentValues values) |
void |
clear(android.database.sqlite.SQLiteStatement compiledStatement) |
void |
clearBindIndex() |
com.abubusoft.kripton.common.Triple<String,Object,KriptonContentValues.ParamType> |
get(int index) |
String |
keyList() |
List<String> |
keys() |
String |
keyValueList() |
void |
put(Boolean value)
Adds a value to the set.
|
void |
put(Byte value)
Adds a value to the set.
|
void |
put(byte[] value)
Adds a value to the set.
|
void |
put(Double value)
Adds a value to the set.
|
void |
put(Float value)
Adds a value to the set.
|
void |
put(Integer value)
Adds a value to the set.
|
void |
put(Long value)
Adds a value to the set.
|
void |
put(Short value)
Adds a value to the set.
|
void |
put(String value)
Adds a value to the set.
|
void |
put(String key,
Boolean value)
Adds a value to the set.
|
void |
put(String key,
Byte value)
Adds a value to the set.
|
void |
put(String key,
byte[] value)
Adds a value to the set.
|
void |
put(String key,
Double value)
Adds a value to the set.
|
void |
put(String key,
Float value)
Adds a value to the set.
|
void |
put(String key,
Integer value)
Adds a value to the set.
|
void |
put(String key,
Long value)
Adds a value to the set.
|
void |
put(String key,
Short value)
Adds a value to the set.
|
void |
put(String key,
String value)
Adds a value to the set.
|
void |
putNull()
Adds a null value to the set.
|
void |
putNull(String key)
Adds a null value to the set.
|
int |
size()
Returns the number of values.
|
android.content.ContentValues |
values() |
ArrayList<String> |
whereArgs() |
String[] |
whereArgsAsArray() |
protected com.abubusoft.kripton.common.Triple<String,Object,KriptonContentValues.ParamType> triple
public KriptonContentValues()
public void put(String key, String value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String key, Byte value)
key - the name of the value to putvalue - the data for the value to putpublic void put(Byte value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String key, Short value)
key - the name of the value to putvalue - the data for the value to putpublic void put(Short value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String key, Integer value)
key - the name of the value to putvalue - the data for the value to putpublic void put(Integer value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String key, Long value)
key - the name of the value to putvalue - the data for the value to putpublic void put(Long value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String key, Float value)
key - the name of the value to putvalue - the data for the value to putpublic void put(Float value)
key - the name of the value to putvalue - the data for the value to putpublic void put(Double value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String key, Double value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String key, Boolean value)
key - the name of the value to putvalue - the data for the value to putpublic void put(String key, byte[] value)
key - the name of the value to putvalue - the data for the value to putpublic void putNull(String key)
key - the name of the value to make nullpublic void put(Boolean value)
key - the name of the value to putvalue - the data for the value to putpublic void put(byte[] value)
key - the name of the value to putvalue - the data for the value to putpublic void putNull()
key - the name of the value to make nullpublic void addWhereArgs(String value)
public void bind(android.database.sqlite.SQLiteStatement statement)
public int size()
public void clear()
public void clearBindIndex()
public com.abubusoft.kripton.common.Triple<String,Object,KriptonContentValues.ParamType> get(int index)
public String keyList()
public String keyValueList()
public android.content.ContentValues values()
public String[] whereArgsAsArray()
public void clear(android.content.ContentValues values)
public void clear(android.database.sqlite.SQLiteStatement compiledStatement)
Copyright © 2018. All rights reserved.