Class CursorEntity

    • Constructor Detail

      • CursorEntity

        public CursorEntity()
    • Method Detail

      • getId

        public String getId()
      • getCount

        public Integer getCount()
        Returns:
        the total number of result documents available (only available if the query was executed with the count attribute set)
      • getExtra

        public CursorEntity.Extras getExtra()
        Returns:
        an optional object with extra information about the query result contained in its stats sub-attribute. For data-modification queries, the extra.stats sub-attribute will contain the number of modified documents and the number of documents that could not be modified due to an error (if ignoreErrors query option is specified)
      • getCached

        public Boolean getCached()
        Returns:
        a boolean flag indicating whether the query result was served from the query cache or not. If the query result is served from the query cache, the extra return attribute will not contain any stats sub-attribute and no profile sub-attribute.
      • getHasMore

        public Boolean getHasMore()
        Returns:
        A boolean indicator whether there are more results available for the cursor on the server
      • getResult

        public com.arangodb.velocypack.VPackSlice getResult()
        Returns:
        an vpack-array of result documents (might be empty if query has no results)
      • cleanupMeta

        public Map<String,​String> cleanupMeta​(Map<String,​String> meta)
        Returns:
        remove not allowed (valid storable) meta information