public final class SearchResult extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCurrentPage()
Get the current page of this result set.
|
int |
getDocumentsPerPage()
Get the number of documents per page in this result set.
|
List<MetaDataResult> |
getMetaDataResultList()
Extract a list of MetaDataResult objects, each one representing a match.
|
org.json.JSONObject |
getRawJSON()
Get the underlying JSON object, useful if the data structure has changed since release.
|
int |
getTotalDocuments()
Get the total number of documents in this result set.
|
int |
hashCode() |
Iterator<MetaDataResult> |
iterator()
An iterator over the string field names.
|
static SearchResult |
of(org.json.JSONObject jsonObject)
Factory method for creating and instance of a MetaDataResult.
|
String |
toPrettyPrintedString()
Print a nicely formatted representation of this object.
|
String |
toString()
Use the underlying JSON toString() to show full data structure.
|
public static SearchResult of(org.json.JSONObject jsonObject)
jsonObject - the JSON object returned by Quandl, not nullpublic int getTotalDocuments()
public int getDocumentsPerPage()
public int getCurrentPage()
public List<MetaDataResult> getMetaDataResultList()
public Iterator<MetaDataResult> iterator()
public org.json.JSONObject getRawJSON()
public String toString()
public String toPrettyPrintedString()
Copyright 2014-Present by Jim Moores
${javadoc.footer.license}