Class: Dtn::Lookups::Historical::Base

Inherits:
Request
  • Object
show all
Includes:
Concerns::Validation
Defined in:
lib/dtn/lookups/historical/base.rb

Overview

User historical requests

Direct Known Subclasses

Datapoint, Interval, Tick

Constant Summary collapse

DEFAULT_MAX_DATAPOINTS =

Maximum data allowed per 1 request and per 1 batch

1_000_000
DEFAULT_DATAPOINTS_PER_SEND =
500
DEFAULT_BEGIN_FILTER_TIME =

In case we are fetching the data for a few days we can filter all the days from and to. The pattern means %H%M%S

"093000"
DEFAULT_END_FILTER_TIME =
"160000"
DEFAULT_DATA_DIRECTION =

Returned data order

1

Constants included from Concerns::Validation

Concerns::Validation::DATE_FORMAT, Concerns::Validation::DATE_TIME_FORMAT, Concerns::Validation::DEFAULT_INTERVAL_TYPE, Concerns::Validation::MAX_INT16

Constants inherited from Request

Request::END_OF_MESSAGE_CHARACTERS, Request::NO_DATA_CHARACTERS, Request::PORT, Request::SYNTAX_ERROR_CHARACTERS

Instance Attribute Summary

Attributes inherited from Request

#combined_options

Method Summary

Methods inherited from Request

call, #call

Methods included from Concerns::Id

#id