Package | Description |
---|---|
com.socrata.api |
Provides objects that implement all the major Socrata operations (verbs).
|
com.socrata.builders |
Helper objects to create and manipulate some of the objects defined in com.socrata.model.These are
not necassary for using the API, but can be useful.
|
com.socrata.model |
Defines the objects that are parameters to APIs, return values to APIs or system objects in the Socrata platform.
|
com.socrata.model.importer |
The model objects (nouns) used by the import operations defined by SodaImporter.
|
Modifier and Type | Method and Description |
---|---|
DatasetInfo |
SodaImporter.append(String datasetId,
File file,
int skip,
String[] translation)
This appends the contents of a file to a dataset on Socrata.
|
DatasetInfo |
SodaDdl.createDataset(DatasetInfo dataset)
Creates an empty dataset, based on the dataset passed in.
|
DatasetInfo |
SodaImporter.createViewFromCsv(String name,
String description,
File file)
Creates a dataset from a CSV, using all the default column types.
|
DatasetInfo |
SodaImporter.createViewFromCsv(String name,
String description,
File file,
String rowIdentifierColumnName)
Creates a dataset from a CSV, using all the default column types.
|
DatasetInfo |
SodaWorkflow.createWorkingCopy(String datasetId)
Creates a working copy for the specified dataset ID.
|
DatasetInfo |
SodaImporter.importScanResults(Blueprint blueprint,
String[] translation,
File file,
ScanResults scanResults)
Imports the results of scanning a file.
|
DatasetInfo |
SodaImporter.importScanResults(String name,
String description,
File file,
ScanResults scanResults)
Imports the results of scanning a file.
|
DatasetInfo |
SodaImporter.importScanResults(String name,
String description,
File file,
ScanResults scanResults,
String rowIdentifierColumnName)
Imports the results of scanning a file.
|
DatasetInfo |
SodaDdl.loadDatasetInfo(String id)
Loads a dataset or view based on it's ID
|
DatasetInfo |
SodaWorkflow.publish(String datasetId)
Publishes a dataset.
|
DatasetInfo |
SodaImporter.replace(String datasetId,
File file,
int skip,
String[] translation)
This replaces the contents of a file to a dataset on Socrata.
|
protected DatasetInfo |
SodaImporter.sendScanResults(String basePostBody,
String fileId,
String[] translation,
File file) |
DatasetInfo |
SodaDdl.updateDatasetInfo(DatasetInfo datasetInfo)
Updates a view.
|
protected DatasetInfo |
SodaImporter.updateFromScanResults(String datasetId,
String method,
int skip,
String fileId,
String[] translation,
File file) |
Modifier and Type | Method and Description |
---|---|
DatasetInfo |
SodaDdl.createDataset(DatasetInfo dataset)
Creates an empty dataset, based on the dataset passed in.
|
DatasetInfo |
SodaDdl.updateDatasetInfo(DatasetInfo datasetInfo)
Updates a view.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatasetInfoBuilder<BUILDER extends AbstractDatasetInfoBuilder,BUILDEE extends DatasetInfo>
A DatasetInfoBuilder that can be used by builders of all the sub-classes.
|
Modifier and Type | Method and Description |
---|---|
DatasetInfo |
DatasetInfoBuilder.build() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDatasetInfoBuilder.populate(DatasetInfo retVal)
Copies the common properties into the DatasetInfo that is passed in.
|
Constructor and Description |
---|
AbstractDatasetInfoBuilder(DatasetInfo datasetInfo) |
DatasetBuilder(DatasetInfo datasetInfo) |
DatasetInfoBuilder(DatasetInfo datasetInfo) |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<SearchResult,DatasetInfo> |
SearchResult.TO_DATASET |
Modifier and Type | Method and Description |
---|---|
DatasetInfo |
SearchResult.getDataset() |
Constructor and Description |
---|
SearchResult(int totalRows,
DatasetInfo dataset) |
Modifier and Type | Class and Description |
---|---|
class |
Dataset
The schema portions of a dataset.
|
class |
ExternalDataset
An external dataset is a "dataset" that does not directly store data
within Socrata, but rather stores a reference to data elsewhere.
|
class |
NonDataFileDataset
Represents a non-dataset file that can be hosted by Socrata.
|
Modifier and Type | Method and Description |
---|---|
static DatasetInfo |
DatasetInfo.copy(DatasetInfo src)
Does a deep copy of this DatasetInfo.
|
Modifier and Type | Method and Description |
---|---|
static DatasetInfo |
DatasetInfo.copy(DatasetInfo src)
Does a deep copy of this DatasetInfo.
|
Copyright © 2013. All Rights Reserved.