public final class HistoricalData extends Object
Modifier and Type | Class and Description |
---|---|
class |
HistoricalData.ResultForSecurity
Used to filter the result of a request by security, field and date.
|
Constructor and Description |
---|
HistoricalData() |
Modifier and Type | Method and Description |
---|---|
HistoricalData.ResultForSecurity |
forSecurity(String security)
Method to build queries in order to retrieve a specific table, column, row or cell.
|
Set<String> |
getFieldErrors() |
Set<String> |
getSecurityErrors() |
boolean |
hasErrors()
Even if this method returns true, the request might have returned valid data.
|
boolean |
isEmpty()
The main reasons why this might return true:
the structure has not been populated yet
all the information requested returned errors (none of the tickers and/or fields was valid)
the date range was invalid
no data was returned because there was no data available for that ticker/field/date range combination
|
String |
toString() |
public boolean isEmpty()
RequestResult
public HistoricalData.ResultForSecurity forSecurity(String security)
security
- the security for which data is requiredpublic boolean hasErrors()
RequestResult
hasErrors
in interface RequestResult
public Set<String> getFieldErrors()
getFieldErrors
in interface RequestResult
public Set<String> getSecurityErrors()
getSecurityErrors
in interface RequestResult
Copyright © 2013. All Rights Reserved.