| Package | Description |
|---|---|
| io.cloudboost | |
| io.cloudboost.json | |
| io.cloudboost.util |
| Modifier and Type | Field and Description |
|---|---|
JSONObject |
CloudQuery.body |
protected JSONObject |
SearchQuery.bool |
protected JSONObject |
CloudObject.document |
protected JSONObject |
CloudTable.document |
protected JSONObject |
Column.document |
protected JSONObject |
CloudQueue.document |
protected JSONObject |
SearchQuery.match |
protected JSONObject |
SearchQuery.multi_match |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
SearchQuery._buildBestColumns(String[] columnName,
String query,
String fuzziness,
String operator,
String match_percent,
String boost) |
JSONObject |
SearchQuery._buildBestColumns(String columnName,
String query,
String fuzziness,
String operator,
String match_percent,
String boost)
_Build Best Columns
|
JSONObject |
SearchQuery._buildMostColumns(String[] columnName,
String query,
String fuzziness,
String operator,
String match_percent,
String boost) |
JSONObject |
SearchQuery._buildMostColumns(String columnName,
String query,
String fuzziness,
String operator,
String match_percent,
String boost)
_Build Most Columns
|
JSONObject |
SearchQuery._buildSearchOn(String[] columnName,
String query,
String fuzziness,
String operator,
String match_percent,
String boost) |
JSONObject |
SearchQuery._buildSearchOn(String columnName,
String query,
String fuzziness,
String operator,
String match_percent,
String boost)
_Build Search On
|
JSONObject |
SearchQuery._buildSearchPhrase(String[] columnName,
String query,
String slop,
String boost) |
JSONObject |
SearchQuery._buildSearchPhrase(String columnName,
String query,
String slop,
String boost)
_Build Search Pharse
|
JSONObject |
ACL.getACL()
get json object representing this ACL object, changing this object is not recommended, only
do so if you absolutely know what you are doing
|
JSONObject |
SearchQuery.getBool() |
JSONObject |
CloudFile.getDocument()
returns the raw JSONObject wrapped by this class, only make direct changes to the underlying JSONObject
if you absolutely know what you are doing
|
JSONObject |
CloudObject.getDocument()
returns the underlying json document with all data about the record, do not modify this object unless you are absolutely sure
of what you are doing
|
JSONObject |
CloudCache.getDocument() |
JSONObject |
CloudTable.getDocument() |
JSONObject |
QueueMessage.getDocument() |
JSONObject |
Column.getDocument() |
JSONObject |
CloudQueue.getDocument() |
JSONObject |
SearchQuery.getMatch() |
JSONObject |
SearchQuery.getMulti_match() |
JSONObject |
CloudQuery.getQuery() |
JSONObject |
CloudQuery.getSelect() |
JSONObject |
CloudQuery.getSort() |
| Modifier and Type | Method and Description |
|---|---|
void |
SearchQuery.setBool(JSONObject bool) |
void |
CloudFile.setDocument(JSONObject document) |
void |
CloudObject.setDocument(JSONObject document)
replaces the underlying json object
|
void |
CloudCache.setDocument(JSONObject document) |
void |
CloudTable.setDocument(JSONObject document) |
void |
QueueMessage.setDocument(JSONObject document) |
void |
Column.setDocument(JSONObject document) |
void |
CloudQueue.setDocument(JSONObject document) |
void |
SearchQuery.setMatch(JSONObject match) |
void |
SearchQuery.setMulti_match(JSONObject multi_match) |
void |
CloudQuery.setQuery(JSONObject query) |
void |
CloudQuery.setSelect(JSONObject select) |
void |
CloudQuery.setSort(JSONObject sort) |
static boolean |
CloudQuery.validateQuery(CloudObject co,
JSONObject query) |
| Constructor and Description |
|---|
CloudFile(JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
JSONObject.accumulate(String key,
Object value)
Accumulate values under a key.
|
JSONObject |
JSONObject.append(String key,
Object value)
Append values to the array under a key.
|
JSONObject |
JSONArray.getJSONObject(int index)
Get the JSONObject associated with an index.
|
JSONObject |
JSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key.
|
JSONObject |
JSONObject.increment(String key)
Increment a property of a JSONObject.
|
JSONObject |
JSONArray.optJSONObject(int index)
Get the optional JSONObject associated with an index.
|
JSONObject |
JSONObject.optJSONObject(String key)
Get an optional JSONObject associated with a key.
|
JSONObject |
JSONObject.put(String key,
boolean value)
Put a key/boolean pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
Collection<?> value)
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.
|
JSONObject |
JSONObject.put(String key,
double value)
Put a key/double pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
int value)
Put a key/int pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
long value)
Put a key/long pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
Map<?,?> value)
Put a key/value pair in the JSONObject, where the value will be a
JSONObject which is produced from a Map.
|
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject.
|
JSONObject |
JSONObject.putOnce(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the value
are both non-null, and only if there is not already a member with that
name.
|
JSONObject |
JSONObject.putOpt(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the value
are both non-null.
|
static JSONObject |
CDL.rowToJSONObject(JSONArray names,
JSONTokener x)
Produce a JSONObject from a row of comma delimited text, using a
parallel JSONArray of strings to provides the names of the elements.
|
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values of
this JSONArray.
|
static JSONObject |
Property.toJSONObject(Properties properties)
Converts a property file object into a JSONObject.
|
static JSONObject |
HTTP.toJSONObject(String string)
Convert an HTTP header string into a JSONObject.
|
static JSONObject |
CookieList.toJSONObject(String string)
Convert a cookie list into a JSONObject.
|
static JSONObject |
Cookie.toJSONObject(String string)
Convert a cookie specification string into a JSONObject.
|
static JSONObject |
XML.toJSONObject(String string)
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject.
|
static JSONObject |
JSONML.toJSONObject(String string)
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject using the JsonML transform.
|
static JSONObject |
JSONML.toJSONObject(XMLTokener x)
Convert a well-formed (but not necessarily valid) XML string into a
JSONObject using the JsonML transform.
|
| Modifier and Type | Method and Description |
|---|---|
static String[] |
JSONObject.getNames(JSONObject jo)
Get an array of field names from a JSONObject.
|
static Properties |
Property.toProperties(JSONObject jo)
Converts the JSONObject into a property file object.
|
static String |
HTTP.toString(JSONObject jo)
Convert a JSONObject into an HTTP header.
|
static String |
CookieList.toString(JSONObject jo)
Convert a JSONObject into a cookie list.
|
static String |
Cookie.toString(JSONObject jo)
Convert a JSONObject into a cookie specification string.
|
static String |
JSONML.toString(JSONObject jo)
Reverse the JSONML transformation, making an XML text from a JSONObject.
|
| Constructor and Description |
|---|
JSONObject(JSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject.
|
| Modifier and Type | Method and Description |
|---|---|
static CBResponse |
CBParser.callJson(String myUrl,
String httpMethod,
JSONObject parameters) |
static CBResponse |
CBParser.postFormData(String myurl,
String httpMethod,
JSONObject params,
File file,
FileUploadCallback callback) |
static CBResponse |
CBParser.postFormData(String myurl,
String httpMethod,
JSONObject params,
InputStream is) |
Copyright © 2016. All rights reserved.