Package | Description |
---|---|
cn.leancloud | |
cn.leancloud.callback | |
cn.leancloud.convertor | |
cn.leancloud.core | |
cn.leancloud.gson | |
cn.leancloud.livequery | |
cn.leancloud.query | |
cn.leancloud.search |
Modifier and Type | Class and Description |
---|---|
class |
LCQuery<T extends LCObject> |
class |
LCRelation<T extends LCObject> |
Modifier and Type | Class and Description |
---|---|
class |
LCBlockRelation |
class |
LCFile |
class |
LCFriendship |
class |
LCFriendshipRequest |
class |
LCInstallation |
class |
LCRole |
class |
LCStatus
Status 预定义属性:
1.
|
class |
LCUser |
Modifier and Type | Method and Description |
---|---|
static <T extends LCObject> |
LCQuery.and(List<LCQuery<T>> queries)
Constructs a query that is the and of the given queries.
|
protected static <T extends LCObject> |
LCObject.cast(LCObject object,
Class<T> clazz) |
static <T extends LCObject> |
LCObject.createWithoutData(Class<T> clazz,
String objectId)
Create a new instance with particular class and objectId.
|
static <T extends LCObject> |
LCCloudQuery.executeInBackground(LCUser asAuthenticatedUser,
String cql,
Class<T> clazz,
Object... params)
execute cql query in background.
|
static <T extends LCObject> |
LCCloudQuery.executeInBackground(String cql,
Class<T> clazz,
Object... params)
execute cql query in background.
|
static <T extends LCObject> |
LCUser.followeeQuery(String userObjectId,
Class<T> clazz)
get followee query.
|
static <T extends LCObject> |
LCUser.followerQuery(String userObjectId,
Class<T> clazz)
get follower query.
|
static <T extends LCObject> |
LCUser.friendshipBlockQuery(Class<T> clazz)
get block query.
|
<T extends LCObject> |
LCObject.getLCObject(String key)
Get AVObject value of specified key.
|
static <T extends LCObject> |
LCQuery.getQuery(Class<T> clazz)
Create a AVQuery with special sub-class.
|
static <T extends LCObject> |
LCObject.getQuery(Class<T> clazz)
Get query for class.
|
static <T extends LCObject> |
LCQuery.getQuery(String theClassName)
Constructs a query.
|
<T extends LCObject> |
LCObject.getRelation(String key)
Get AVRelation value of specified key.
|
static <T extends LCObject> |
LCQuery.or(List<LCQuery<T>> queries)
Constructs a query that is the or of the given queries.
|
static <T extends LCObject> |
Transformer.registerClass(Class<T> clazz) |
static <T extends LCObject> |
LCObject.registerSubclass(Class<T> clazz)
Register subclass to AVOSCloud SDK.It must be invocated before AVOSCloud.initialize.
|
static <M extends LCObject> |
LCRelation.reverseQuery(Class<M> theParentClazz,
String relationKey,
LCObject child)
Create a query that can be used to query the parent objects in this relation.
|
static <M extends LCObject> |
LCRelation.reverseQuery(String parentClassName,
String relationKey,
LCObject child)
Create a query that can be used to query the parent objects in this relation.
|
static <T extends LCObject> |
Transformer.transform(LCObject rawObj,
Class<T> clazz) |
static <T extends LCObject> |
Transformer.transform(LCObject rawObj,
String className) |
Modifier and Type | Method and Description |
---|---|
static LCObject |
LCObject.createWithoutData(String className,
String objectId)
Create a new instance with particular classname and objectId.
|
LCObject |
LCStatus.fetch()
Deprecated.
|
LCObject |
LCObject.fetch()
Fetch current object in blocking mode.
|
LCObject |
LCObject.fetch(LCUser asAuthenticatedUser,
String includeKeys)
Fetch current object in blocking mode.
|
LCObject |
LCStatus.fetch(String includedKeys)
Deprecated.
|
LCObject |
LCObject.fetch(String includeKeys)
Fetch current object in blocking mode.
|
LCObject |
LCStatus.fetchIfNeeded()
Deprecated.
|
LCObject |
LCObject.fetchIfNeeded()
Fetch current object in blocking mode.
|
LCObject |
LCPush.getNotification()
Return the instance of _Notification。
|
LCObject |
LCRanking.getObject() |
LCObject |
LCStatistic.getObject()
get target object(only valid for leaderboard which member type is LCObjct)
|
LCObject |
LCRelation.getParent() |
static LCObject |
Transformer.objectFromClassName(String className) |
protected static LCObject |
ArchivedRequests.parseAVObject(String content) |
static LCObject |
LCObject.parseLCObject(String objectString)
Create AVObject instance from json string which generated by AVObject.toString or AVObject.toJSONString.
|
LCObject |
LCStatus.toObject() |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<? extends LCObject> |
LCFriendshipRequest.accept(Map<String,Object> attributes)
accept friend request by current user.
|
io.reactivex.Observable<? extends LCObject> |
LCFriendshipRequest.decline()
decline friend request by current user.
|
protected List<LCObject> |
LCObject.extractCascadingObjects(Object o) |
io.reactivex.Observable<LCObject> |
LCStatus.fetchIfNeededInBackground()
Deprecated.
|
io.reactivex.Observable<LCObject> |
LCObject.fetchIfNeededInBackground()
Fetch current object if needed in async mode.
|
io.reactivex.Observable<LCObject> |
LCObject.fetchIfNeededInBackground(LCUser asAuthenticatedUser,
String includeKeys)
Fetch current object if needed in async mode.
|
io.reactivex.Observable<LCObject> |
LCObject.fetchIfNeededInBackground(String includeKeys)
Fetch current object if needed in async mode.
|
io.reactivex.Observable<LCObject> |
LCStatus.fetchInBackground()
Deprecated.
|
io.reactivex.Observable<LCObject> |
LCObject.fetchInBackground()
Fetch current object in async mode.
|
io.reactivex.Observable<LCObject> |
LCObject.fetchInBackground(LCUser asAuthenticatedUser,
String includeKeys)
Fetch current object in async mode.
|
io.reactivex.Observable<LCObject> |
LCStatus.fetchInBackground(String includeKeys)
Deprecated.
|
io.reactivex.Observable<LCObject> |
LCObject.fetchInBackground(String includeKeys)
Fetch current object in async mode.
|
LCQuery<LCObject> |
LCUser.followeeQuery()
get followee query.
|
LCQuery<LCObject> |
LCUser.followerQuery()
get follower query.
|
LCQuery<LCObject> |
LCUser.friendshipBlockQuery()
get block query.
|
protected io.reactivex.Observable<List<LCObject>> |
LCObject.generateCascadingSaveObjects() |
io.reactivex.Observable<LCObject> |
LCStatus.refreshInBackground()
Deprecated.
|
io.reactivex.Observable<LCObject> |
LCObject.refreshInBackground()
Refresh current object in async mode.
|
io.reactivex.Observable<LCObject> |
LCObject.refreshInBackground(LCUser asAuthenticatedUser)
Refresh current object in async mode.
|
io.reactivex.Observable<LCObject> |
LCObject.refreshInBackground(LCUser asAuthenticatedUser,
String includeKeys)
Refresh current object in async mode.
|
io.reactivex.Observable<LCObject> |
LCObject.refreshInBackground(String includeKeys)
Refresh current object in async mode.
|
io.reactivex.Observable<? extends LCObject> |
LCStatus.saveInBackground()
Deprecated.
|
io.reactivex.Observable<? extends LCObject> |
LCObject.saveInBackground()
Save object in background.
|
io.reactivex.Observable<? extends LCObject> |
LCFriendship.saveInBackground(LCSaveOption option)
save friendship in backgound.
|
io.reactivex.Observable<? extends LCObject> |
LCFriendshipRequest.saveInBackground(LCSaveOption option) |
io.reactivex.Observable<? extends LCObject> |
LCObject.saveInBackground(LCSaveOption option)
Save object in background.
|
io.reactivex.Observable<? extends LCObject> |
LCObject.saveInBackground(LCUser asAuthenticatedUser)
Save object in background.
|
io.reactivex.Observable<? extends LCObject> |
LCObject.saveInBackground(LCUser asAuthenticatedUser,
LCSaveOption option)
Save object in background.
|
Modifier and Type | Method and Description |
---|---|
protected static <T extends LCObject> |
LCObject.cast(LCObject object,
Class<T> clazz) |
void |
ArchivedRequests.deleteEventually(LCObject object) |
static String |
ArchivedRequests.getArchiveContent(LCObject object,
boolean isDelete) |
void |
LCRelation.remove(LCObject object)
Removes an object from this relation.
|
protected void |
LCObject.resetByRawData(LCObject LCObject) |
static <M extends LCObject> |
LCRelation.reverseQuery(Class<M> theParentClazz,
String relationKey,
LCObject child)
Create a query that can be used to query the parent objects in this relation.
|
static <M extends LCObject> |
LCRelation.reverseQuery(String parentClassName,
String relationKey,
LCObject child)
Create a query that can be used to query the parent objects in this relation.
|
void |
ArchivedRequests.saveEventually(LCObject object) |
void |
LCRanking.setObject(LCObject object) |
void |
LCStatistic.setObject(LCObject object) |
void |
LCRelation.setParent(LCObject parent) |
void |
LCStatus.setSource(LCObject source)
set source of status
|
static <T extends LCObject> |
Transformer.transform(LCObject rawObj,
Class<T> clazz) |
static <T extends LCObject> |
Transformer.transform(LCObject rawObj,
String className) |
Modifier and Type | Method and Description |
---|---|
static void |
LCObject.deleteAll(Collection<? extends LCObject> objects)
Delete all objects in blocking mode.
|
static void |
LCObject.deleteAll(LCUser asAuthenticatedUser,
Collection<? extends LCObject> objects)
Delete all objects in blocking mode.
|
static io.reactivex.Observable<LCNull> |
LCObject.deleteAllInBackground(Collection<? extends LCObject> objects)
Delete all objects in async mode.
|
static io.reactivex.Observable<LCNull> |
LCObject.deleteAllInBackground(LCUser asAuthenticatedUser,
Collection<? extends LCObject> objects)
Delete all objects in async mode.
|
static io.reactivex.Observable<LCCloudQueryResult> |
LCCloudQuery.executeInBackground(LCUser asAuthenticatedUser,
String cql,
Class<? extends LCObject> clazz)
execute cql query in background.
|
static io.reactivex.Observable<LCCloudQueryResult> |
LCCloudQuery.executeInBackground(String cql,
Class<? extends LCObject> clazz)
execute cql query in background.
|
boolean |
LCObject.hasCircleReference(Map<LCObject,Boolean> markMap)
judge operations' value include circle reference or not.
|
static void |
LCObject.saveAll(Collection<? extends LCObject> objects)
Save All objects in blocking mode.
|
static void |
LCObject.saveAll(LCUser asAuthenticatedUser,
Collection<? extends LCObject> objects)
Save All objects in blocking mode.
|
static io.reactivex.Observable<JSONArray> |
LCObject.saveAllInBackground(Collection<? extends LCObject> objects)
Save all objects in async mode.
|
static io.reactivex.Observable<JSONArray> |
LCObject.saveAllInBackground(LCUser asAuthenticatedUser,
Collection<? extends LCObject> objects)
Save all objects in async mode.
|
Constructor and Description |
---|
LCBlockRelation(LCObject object) |
LCFriendship(LCObject object) |
LCInstallation(LCObject obj) |
LCLeaderboard(LCObject object) |
LCObject(LCObject other)
Copy constructor.
|
LCRelation(LCObject parent,
String key) |
LCStatus(LCObject o)
constructor from AVObject instance.
|
Modifier and Type | Class and Description |
---|---|
class |
FindCallback<T extends LCObject> |
class |
FollowCallback<T extends LCObject> |
class |
FollowersAndFolloweesCallback<T extends LCObject> |
class |
GetCallback<T extends LCObject> |
class |
RefreshCallback<T extends LCObject> |
class |
SaveCallback<T extends LCObject> |
Modifier and Type | Method and Description |
---|---|
void |
GenericObjectCallback.onGroupRequestFinished(int left,
int total,
LCObject object) |
Modifier and Type | Method and Description |
---|---|
static <T extends LCObject> |
ObserverBuilder.buildCollectionObserver(FindCallback<T> callback)
build observer for FindCallback
|
static <T extends LCObject> |
ObserverBuilder.buildSingleObserver(FollowCallback<T> callback)
build observer for FollowCallback
|
static <T extends LCObject> |
ObserverBuilder.buildSingleObserver(GetCallback<T> callback)
build observer for GetCallback
|
static <T extends LCObject> |
ObserverBuilder.buildSingleObserver(RefreshCallback<T> callback)
build observer for RefreshCallback
|
static <T extends LCObject> |
ObserverBuilder.buildSingleObserver(SaveCallback<T> callback)
build observer for SaveCallback
|
Modifier and Type | Method and Description |
---|---|
<E extends LCObject> |
StorageClient.saveWholeObject(LCUser authenticatedUser,
Class<E> clazz,
String endpointClass,
String objectId,
JSONObject object,
boolean fetchFlag,
JSONObject where) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<LCObject> |
StorageClient.createLeaderboard(Map<String,Object> params)
create leaderboard.
|
io.reactivex.Observable<? extends LCObject> |
StorageClient.createObject(LCUser authenticatedUser,
String className,
JSONObject data,
boolean fetchFlag,
JSONObject where) |
io.reactivex.Observable<LCObject> |
StorageClient.fetchLeaderboard(String name)
fetch leaderboard with name.
|
io.reactivex.Observable<? extends LCObject> |
StorageClient.fetchObject(LCUser authenticatedUser,
String className,
String objectId,
String includeKeys) |
io.reactivex.Observable<LCObject> |
StorageClient.getWholeObject(LCUser authenticatedUser,
String endpointClass,
String objectId,
String includeKeys) |
io.reactivex.Observable<List<LCObject>> |
StorageClient.queryObjects(LCUser authenticatedUser,
String className,
String endPoint,
Map<String,String> query,
LCQuery.CachePolicy cachePolicy,
long maxAgeInMilliseconds) |
io.reactivex.Observable<LCObject> |
StorageClient.resetLeaderboard(String name)
reset leaderboard
|
io.reactivex.Observable<? extends LCObject> |
StorageClient.saveObject(LCUser authenticatedUser,
String className,
String objectId,
JSONObject data,
boolean fetchFlag,
JSONObject where) |
io.reactivex.Observable<LCObject> |
StorageClient.updateLeaderboard(String name,
Map<String,Object> params)
update leaderboard with attributes.
|
Modifier and Type | Method and Description |
---|---|
LCObject |
ObjectDeserializer.deserialize(com.google.gson.JsonElement elem,
Type type,
com.google.gson.JsonDeserializationContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
LCLiveQueryEventHandler.done(LCLiveQuery.EventType eventType,
LCObject LCObject,
List<String> updateKeyList) |
void |
LCLiveQueryEventHandler.onObjectCreated(LCObject LCObject)
This method will be called when an associated AVObject created
|
void |
LCLiveQueryEventHandler.onObjectEnter(LCObject LCObject,
List<String> updateKeyList)
This method will be called when an AVObject matched the associated AVQuery after update
|
void |
LCLiveQueryEventHandler.onObjectLeave(LCObject LCObject,
List<String> updateKeyList)
This method will be called when an AVObject is modified and does not conform to the relevant query
|
void |
LCLiveQueryEventHandler.onObjectUpdated(LCObject LCObject,
List<String> updateKeyList)
This method will be called when an associated AVObject updated
|
Modifier and Type | Method and Description |
---|---|
List<? extends LCObject> |
LCCloudQueryResult.getResults() |
List<LCObject> |
LCQueryResult.getResults() |
Modifier and Type | Method and Description |
---|---|
void |
LCCloudQueryResult.setResults(List<? extends LCObject> results) |
void |
LCQueryResult.setResults(List<LCObject> results) |
Modifier and Type | Class and Description |
---|---|
class |
LCSearchQuery<T extends LCObject> |
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.