Esempio n. 1
0
 public Query(IJournal <T> journal, IReadTransactionContext transactionContext)
 {
     _transactionContext = transactionContext;
     _journal            = journal;
     _queryable          = new Lazy <JournalQueryable <T> >(
         () => new JournalQueryable <T>(new JournalQueryProvider <T>(_journal, transactionContext)));
     _recordQuery = new RecordQuery(journal, transactionContext);
 }
Esempio n. 2
0
 public GaData GetAllGaData(IRecordQuery query, uint startIndex, out int?totalRecords)
 {
     return(GetAllGaData(query.ViewId, query.StartDate, query.EndDate, query.Metrics, out totalRecords,
                         query.Dimensions, query.Filters, query.SortRules, startIndex));
 }
Esempio n. 3
0
 public GaData GetGaData(IRecordQuery query, out int?totalRecords, uint startIndex = 1,
                         uint maxRecordsCount = RecordQuery.MaxRecordsPerQuery)
 {
     return(GetGaData(query.ViewId, query.StartDate, query.EndDate, query.Metrics, out totalRecords,
                      query.Dimensions, query.Filters, query.SortRules, startIndex, maxRecordsCount));
 }
Esempio n. 4
0
 public GaData GetAllGaData(IRecordQuery query)
 {
     return
         (GetAllGaData(query.ViewId, query.StartDate, query.EndDate, query.Metrics, query.Dimensions,
                       query.Filters, query.SortRules));
 }