public class AqlQueryOptions extends Object implements OptionsInterface
Constructor and Description |
---|
AqlQueryOptions() |
Modifier and Type | Method and Description |
---|---|
Integer |
getBatchSize()
maximum number of result documents to be transferred from the server to
the client in one roundtrip (optional).
|
Boolean |
getCache()
flag to determine whether the AQL query cache shall be used.
|
Boolean |
getCount()
boolean flag that indicates whether the number of documents in the result
set should be returned in the "count" attribute of the result (optional).
|
Boolean |
getFullCount()
if set to true and the query contains a LIMIT clause, then the result
will contain an extra attribute extra with a sub-attribute fullCount.
|
Integer |
getTtl()
an optional time-to-live for the cursor (in seconds).
|
AqlQueryOptions |
setBatchSize(Integer batchSize)
maximum number of result documents to be transferred from the server to
the client in one roundtrip (optional).
|
AqlQueryOptions |
setCache(Boolean cache)
flag to determine whether the AQL query cache shall be used.
|
AqlQueryOptions |
setCount(Boolean count)
boolean flag that indicates whether the number of documents in the result
set should be returned in the "count" attribute of the result (optional).
|
AqlQueryOptions |
setFullCount(Boolean fullCount)
if set to true and the query contains a LIMIT clause, then the result
will contain an extra attribute extra with a sub-attribute fullCount.
|
AqlQueryOptions |
setTtl(Integer ttl)
an optional time-to-live for the cursor (in seconds).
|
Map<String,Object> |
toMap() |
public Boolean getCount()
public AqlQueryOptions setCount(Boolean count)
count
- boolean flagpublic Integer getBatchSize()
public AqlQueryOptions setBatchSize(Integer batchSize)
batchSize
- maximum number of result documentspublic Boolean getFullCount()
public AqlQueryOptions setFullCount(Boolean fullCount)
fullCount
- boolean flagpublic Integer getTtl()
public AqlQueryOptions setTtl(Integer ttl)
ttl
- optional time-to-livepublic Boolean getCache()
public AqlQueryOptions setCache(Boolean cache)
cache
- boolean flagpublic Map<String,Object> toMap()
toMap
in interface OptionsInterface
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.