GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • leancloud-storage
  • ACL
  • Captcha
  • Conversation
  • Error
  • File
  • Friendship
  • GeoPoint
  • InboxQuery
  • JobQuery
  • Leaderboard
  • LiveQuery
  • Object
  • Query

This view

  • Original page
  • New address

GeezerVison is showing leancloud.github.io — JobQuery - Documentation

new JobQuery(id)

Source:
  • insight.js, line 72
Since:
  • 0.5.5
创建一个对象,用于查询 Insight 任务状态和结果。
Parameters:
Name Type Description
id String 任务 id

Methods

find(optionsopt) → {Promise}

Source:
  • insight.js, line 118
查询任务状态和结果,任务结果为一个 JSON 对象,包括 status 表示任务状态, totalCount 表示总数, results 数组表示任务结果数组,previewCount 表示可以返回的结果总数,任务的开始和截止时间 startTime、endTime 等信息。
Parameters:
Name Type Attributes Description
options AuthOptions <optional>
Returns:
A promise that will be resolved with the result of the function.
Type
Promise

limit(n) → {AV.Query}

Source:
  • insight.js, line 103
Sets the limit of the number of results to return. The default limit is 100, with a maximum of 1000 results being returned at a time.
Parameters:
Name Type Description
n Number the number of results to limit to.
Returns:
Returns the query, so you can chain this call.
Type
AV.Query

skip(n) → {AV.Query}

Source:
  • insight.js, line 92
Sets the number of results to skip before returning any results. This is useful for pagination. Default is to skip zero results.
Parameters:
Name Type Description
n Number the number of results to skip.
Returns:
Returns the query, so you can chain this call.
Type
AV.Query
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.