public static final class DataSetRequest.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
DataSetRequest |
build()
Build the request object.
|
static DataSetRequest.Builder |
of(String quandlCode)
Create the base DataSetRequest object passing in the Quandl code.
|
DataSetRequest.Builder |
withColumn(int columnIndex)
Optionally specify a specific column for the request.
|
DataSetRequest.Builder |
withEndDate(org.threeten.bp.LocalDate endDate)
Optionally specify an end date cut-off for the request.
|
DataSetRequest.Builder |
withFrequency(Frequency frequency)
Optionally specify the sampling frequency for the request.
|
DataSetRequest.Builder |
withMaxRows(int maxRows)
Optionally specify the maximum number of rows that should be returns for the request.
|
DataSetRequest.Builder |
withSortOrder(SortOrder sortOrder)
Optionally specify the sort order of the results.
|
DataSetRequest.Builder |
withStartDate(org.threeten.bp.LocalDate startDate)
Optionally specify a start date cut-off for the request.
|
DataSetRequest.Builder |
withTransform(Transform transform)
Optionally specify a data transformation function for the request.
|
public static DataSetRequest.Builder of(String quandlCode)
quandlCode - the quandl code for the data you're interested in, not nullpublic DataSetRequest.Builder withStartDate(org.threeten.bp.LocalDate startDate)
startDate - the start date of the request (inclusive), not nullpublic DataSetRequest.Builder withEndDate(org.threeten.bp.LocalDate endDate)
endDate - the end date of the request (inclusive), not nullpublic DataSetRequest.Builder withColumn(int columnIndex)
columnIndex - the zero-based column index being requestedpublic DataSetRequest.Builder withFrequency(Frequency frequency)
frequency - the sampling frequency, not nullpublic DataSetRequest.Builder withMaxRows(int maxRows)
maxRows - the maximum number of rows that the server should return from the requestpublic DataSetRequest.Builder withTransform(Transform transform)
transform - the data transformation method that the server should pre-process the data withpublic DataSetRequest.Builder withSortOrder(SortOrder sortOrder)
sortOrder - the sort order of the resultspublic DataSetRequest build()
Copyright 2014-Present by Jim Moores
${javadoc.footer.license}