Class: CipherStash::Collection::QueryResult

Inherits:
Object
  • Object
show all
Defined in:
lib/cipherstash/collection/query_result.rb

Overview

The result set that comes from a query.

Instance Attribute Summary collapse

Instance Attribute Details

#aggregatesArray<CipherStash::Aggregate> (readonly)

The aggregates that were derived from the query.

Returns:

  • (Array<CipherStash::Aggregate>)


15
16
17
# File 'lib/cipherstash/collection/query_result.rb', line 15

def aggregates
  @aggregates
end

#recordsArray<CipherStash::Record> (readonly)

The set of records which was considered pertinent to the query.

Returns:



9
10
11
# File 'lib/cipherstash/collection/query_result.rb', line 9

def records
  @records
end