Package | Description |
---|---|
com.socrata.api |
Provides objects that implement all the major Socrata operations (verbs).
|
com.socrata.model.requests |
The model objects (nouns) used for defining SODA requests.These objects are mainly used internally
by the API to provide "retry" logic in the case of 202 retries..
|
Modifier and Type | Method and Description |
---|---|
com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.deleteRaw(URI uri)
Raw version of the API for issuing a delete, doing common error processing and returning the ClientResponse.
|
<T> com.sun.jersey.api.client.ClientResponse |
Soda2Base.doAdd(String resourceId,
T object)
Adds a single row to a dataset.
|
<T> com.sun.jersey.api.client.ClientResponse |
Soda2Base.doAddObjects(String resourceId,
Collection<T> objects)
Adds a collection of rows to a dataset.
|
com.sun.jersey.api.client.ClientResponse |
Soda2Base.doAddStream(String resourceId,
javax.ws.rs.core.MediaType mediaType,
InputStream stream)
Adds a collection of rows to a dataset, but does so by simply streaming a datastream to the SODA2 server.
|
com.sun.jersey.api.client.ClientResponse |
Soda2Base.doDelete(String resourceId,
String uniqueId)
Deletes a single row from a dataset.
|
<T> com.sun.jersey.api.client.ClientResponse |
Soda2Base.doReplaceObjects(String resourceId,
Collection<T> objects) |
com.sun.jersey.api.client.ClientResponse |
Soda2Base.doReplaceStream(String resourceId,
javax.ws.rs.core.MediaType mediaType,
InputStream stream) |
com.sun.jersey.api.client.ClientResponse |
Soda2Base.doTruncate(String resourceId)
Truncates a dataset by removing all the rows in it.
|
com.sun.jersey.api.client.ClientResponse |
Soda2Base.doUpdate(String resourceId,
Object uniqueId,
Object object)
Update an object.
|
com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.follow202(URI uri,
javax.ws.rs.core.MediaType mediaType,
long retryTime,
SodaRequest request2Rerun)
Follows a 202 response that comes back for long running queries.
|
com.sun.jersey.api.client.ClientResponse |
Soda2Base.getById(String resourceId,
javax.ws.rs.core.MediaType mediaType,
String uniqueId)
Load a single object based on it's unique ID.
|
com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.postFileRaw(URI uri,
javax.ws.rs.core.MediaType mediaType,
File file) |
com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.postFileRaw(URI uri,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MediaType acceptType,
File file) |
com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.postRaw(URI uri,
javax.ws.rs.core.MediaType mediaType,
Object object)
Issues a raw POST to a URI.
|
com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.putFileRaw(URI uri,
javax.ws.rs.core.MediaType mediaType,
File file) |
com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.putFileRaw(URI uri,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MediaType acceptType,
File file) |
<T> com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.putRaw(URI uri,
javax.ws.rs.core.MediaType mediaType,
Object object)
Issues a raw PUT to a URI.
|
com.sun.jersey.api.client.ClientResponse |
Soda2Base.query(String resourceId,
javax.ws.rs.core.MediaType mediaType,
SoqlQuery query)
Runs a query against a SODA2 resource.
|
com.sun.jersey.api.client.ClientResponse |
Soda2Base.query(String resourceId,
javax.ws.rs.core.MediaType mediaType,
String query)
Runs a query against a SODA2 resource.
|
com.sun.jersey.api.client.ClientResponse |
HttpLowLevel.queryRaw(URI uri,
javax.ws.rs.core.MediaType acceptType)
Issues a raw GET to a URI.
|
void |
SodaDdl.removeColumn(String datasetId,
int columnId)
Removes a column to the dataset, and returns a definition of the dataset.
|
Modifier and Type | Method and Description |
---|---|
abstract com.sun.jersey.api.client.ClientResponse |
SodaRequest.issueRequest() |
Copyright © 2013. All Rights Reserved.