Tabnine Logo
AVQuery.doCloudQueryInBackground
Code IndexAdd Tabnine to your IDE (free)

How to use
doCloudQueryInBackground
method
in
com.avos.avoscloud.AVQuery

Best Java code snippets using com.avos.avoscloud.AVQuery.doCloudQueryInBackground (Showing top 15 results out of 315)

origin: cn.leancloud.android/avoscloud-sdk

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param callback
 * @param clazz
 */
public static void doCloudQueryInBackground(String cql,
  CloudQueryCallback<AVCloudQueryResult> callback, Class<? extends AVObject> clazz) {
 doCloudQueryInBackground(cql, callback, clazz, false, null);
}
origin: cn.leancloud.android/avoscloud-sdk

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param callback
 */
public static void doCloudQueryInBackground(String cql,
  CloudQueryCallback<AVCloudQueryResult> callback) {
 doCloudQueryInBackground(cql, callback, AVObject.class, false, null);
}
origin: cn.leancloud/leancloud-common

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param callback
 * @param clazz
 * @param params
 */
public static void doCloudQueryInBackground(String cql,
  CloudQueryCallback<AVCloudQueryResult> callback, Class<? extends AVObject> clazz,
  Object... params) {
 doCloudQueryInBackground(cql, callback, clazz, false, params);
}
origin: cn.leancloud.android/avoscloud-sdk

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param callback
 * @param params 查询参数列表
 */
public static void doCloudQueryInBackground(String cql,
  CloudQueryCallback<AVCloudQueryResult> callback, Object... params) {
 doCloudQueryInBackground(cql, callback, AVObject.class, false, params);
}
origin: cn.leancloud/leancloud-common

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param callback
 * @param params 查询参数列表
 */
public static void doCloudQueryInBackground(String cql,
  CloudQueryCallback<AVCloudQueryResult> callback, Object... params) {
 doCloudQueryInBackground(cql, callback, AVObject.class, false, params);
}
origin: cn.leancloud/leancloud-common

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param callback
 */
public static void doCloudQueryInBackground(String cql,
  CloudQueryCallback<AVCloudQueryResult> callback) {
 doCloudQueryInBackground(cql, callback, AVObject.class, false, null);
}
origin: cn.leancloud/leancloud-common

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param callback
 * @param clazz
 */
public static void doCloudQueryInBackground(String cql,
  CloudQueryCallback<AVCloudQueryResult> callback, Class<? extends AVObject> clazz) {
 doCloudQueryInBackground(cql, callback, clazz, false, null);
}
origin: cn.leancloud.android/avoscloud-sdk

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param callback
 * @param clazz
 * @param params
 */
public static void doCloudQueryInBackground(String cql,
  CloudQueryCallback<AVCloudQueryResult> callback, Class<? extends AVObject> clazz,
  Object... params) {
 doCloudQueryInBackground(cql, callback, clazz, false, params);
}
origin: fanturbo/Kanzhibo

  @Override
  public void done(List<AVObject> list, AVException e) {
    AVQuery.doCloudQueryInBackground("delete from LiveUser where objectId='" + list.get(0).getObjectId() + "'", new CloudQueryCallback<AVCloudQueryResult>() {
      @Override
      public void done(AVCloudQueryResult avCloudQueryResult, AVException e) {
      }
    });
  }
});
origin: cn.leancloud/leancloud-common

/**
 * 通过cql查询对象
 *
 * @param cql cql语句
 * @param params 查询参数列表
 * @return
 * @throws Exception
 */
public static AVCloudQueryResult doCloudQuery(String cql, Object... params) throws Exception {
 final AVCloudQueryResult returnValue = new AVCloudQueryResult();
 doCloudQueryInBackground(cql, new CloudQueryCallback<AVCloudQueryResult>() {
  @Override
  public void done(AVCloudQueryResult result, AVException parseException) {
   if (parseException != null) {
    AVExceptionHolder.add(AVErrorUtils.createException(parseException, null));
   } else {
    returnValue.setCount(result.getCount());
    returnValue.setResults(result.getResults());
   }
  }
 }, AVObject.class, true, params);
 if (AVExceptionHolder.exists()) {
  throw AVExceptionHolder.remove();
 }
 return returnValue;
}
origin: cn.leancloud.android/avoscloud-sdk

/**
 * 通过cql查询对象
 *
 * @param cql cql语句
 * @param params 查询参数列表
 * @return
 * @throws Exception
 */
public static AVCloudQueryResult doCloudQuery(String cql, Object... params) throws Exception {
 final AVCloudQueryResult returnValue = new AVCloudQueryResult();
 doCloudQueryInBackground(cql, new CloudQueryCallback<AVCloudQueryResult>() {
  @Override
  public void done(AVCloudQueryResult result, AVException avException) {
   if (avException != null) {
    AVExceptionHolder.add(AVErrorUtils.createException(avException, null));
   } else {
    returnValue.setCount(result.getCount());
    returnValue.setResults(result.getResults());
   }
  }
 }, AVObject.class, true, params);
 if (AVExceptionHolder.exists()) {
  throw AVExceptionHolder.remove();
 }
 return returnValue;
}
origin: cn.leancloud.android/avoscloud-sdk

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param clazz
 * @param params 查询参数列表
 * @return
 * @throws Exception
 */
public static AVCloudQueryResult doCloudQuery(String cql, Class<? extends AVObject> clazz,
  Object... params) throws Exception {
 final AVCloudQueryResult returnValue = new AVCloudQueryResult();
 doCloudQueryInBackground(cql, new CloudQueryCallback<AVCloudQueryResult>() {
  @Override
  public void done(AVCloudQueryResult result, AVException avException) {
   if (avException != null) {
    AVExceptionHolder.add(AVErrorUtils.createException(avException, null));
   } else {
    returnValue.setCount(result.getCount());
    returnValue.setResults(result.getResults());
   }
  }
 }, clazz, true, params);
 if (AVExceptionHolder.exists()) {
  throw AVExceptionHolder.remove();
 }
 return returnValue;
}
origin: cn.leancloud.android/avoscloud-sdk

 throws Exception {
final AVCloudQueryResult returnValue = new AVCloudQueryResult();
doCloudQueryInBackground(cql, new CloudQueryCallback<AVCloudQueryResult>() {
origin: cn.leancloud/leancloud-common

 throws Exception {
final AVCloudQueryResult returnValue = new AVCloudQueryResult();
doCloudQueryInBackground(cql, new CloudQueryCallback<AVCloudQueryResult>() {
origin: cn.leancloud/leancloud-common

/**
 * 通过cql查询对象
 *
 * @param cql
 * @param clazz
 * @param params 查询参数列表
 * @return
 * @throws Exception
 */
public static AVCloudQueryResult doCloudQuery(String cql, Class<? extends AVObject> clazz,
  Object... params) throws Exception {
 final AVCloudQueryResult returnValue = new AVCloudQueryResult();
 doCloudQueryInBackground(cql, new CloudQueryCallback<AVCloudQueryResult>() {
  @Override
  public void done(AVCloudQueryResult result, AVException parseException) {
   if (parseException != null) {
    AVExceptionHolder.add(AVErrorUtils.createException(parseException, null));
   } else {
    returnValue.setCount(result.getCount());
    returnValue.setResults(result.getResults());
   }
  }
 }, clazz, true, params);
 if (AVExceptionHolder.exists()) {
  throw AVExceptionHolder.remove();
 }
 return returnValue;
}
com.avos.avoscloudAVQuerydoCloudQueryInBackground

Javadoc

通过cql查询对象

Popular methods of AVQuery

  • whereEqualTo
    Add a constraint to the query that requires a particular key's value to be equal to the provided val
  • <init>
  • findInBackground
    Retrieves a list of AVObjects that satisfy this query from the server in a background thread. This i
  • setLimit
    Controls the maximum number of results that are returned. Setting a negative limit denotes retrieval
  • assembleParameters
  • getClassName
    Accessor for the class name.
  • countInBackground
  • find
    Retrieves a list of AVObjects that satisfy this query. Uses the network and/or the cache, depending
  • whereNotContainedIn
    Add a constraint to the query that requires a particular key's value not be contained in the provide
  • addAndItems
  • addOrItems
  • addWhereItem
  • addOrItems,
  • addWhereItem,
  • doCloudQuery,
  • generateQueryPath,
  • get,
  • getFirstInBackground,
  • getInBackground,
  • getInclude,
  • getLimit

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JOptionPane (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now