Package | Description |
---|---|
org.restsql.core |
Contains core framework interfaces, an API for deployments that use
restSQL as a library, rather than an HTTP service.
|
org.restsql.core.impl |
Contains core framework implementation.
|
org.restsql.core.impl.serial |
Modifier and Type | Method and Description |
---|---|
static SqlResource |
Factory.getSqlResource(String resName)
Returns SQL Resource for named resource.
|
SqlResource |
Factory.SqlResourceFactory.getSqlResource(String resName) |
Modifier and Type | Method and Description |
---|---|
WriteResponse |
RequestDeserializer.execWrite(HttpRequestAttributes httpAttributes,
Request.Type requestType,
List<RequestValue> resIds,
SqlResource sqlResource,
String requestBody,
RequestLogger requestLogger)
Executes write request.
|
static List<RequestValue> |
RequestUtil.getResIds(SqlResource sqlResource,
String[] values)
Returns name-value pairs, resourceId and value, for given resource and ordered value array.
|
String |
ResponseSerializer.serializeReadFlat(SqlResource sqlResource,
ResultSet resultSet)
Converts flat select results to a string.
|
String |
ResponseSerializer.serializeReadHierarchical(SqlResource sqlResource,
List<Map<String,Object>> results)
Converts hierarchical select results to a string.
|
String |
ResponseSerializer.serializeWrite(SqlResource sqlResource,
WriteResponse response)
Converts write response to a string.
|
Modifier and Type | Class and Description |
---|---|
class |
SqlResourceImpl
Represents a SQL Resource, a queryable and updatable database "view".
|
Modifier and Type | Method and Description |
---|---|
SqlResource |
SqlResourceFactoryImpl.getSqlResource(String resName) |
Modifier and Type | Method and Description |
---|---|
WriteResponse |
XmlRequestDeserializer.execWrite(HttpRequestAttributes httpAttributes,
Request.Type requestType,
List<RequestValue> resIds,
SqlResource sqlResource,
String requestBody,
RequestLogger requestLogger)
Executes write request.
|
WriteResponse |
JsonRequestDeserializer.execWrite(HttpRequestAttributes httpAttributes,
Request.Type requestType,
List<RequestValue> resIds,
SqlResource sqlResource,
String requestBody,
RequestLogger requestLogger) |
String |
XmlResponseSerializer.serializeReadFlat(SqlResource sqlResource,
ResultSet resultSet)
Converts flat select results to an XML document.
|
String |
JsonResponseSerializer.serializeReadFlat(SqlResource sqlResource,
ResultSet resultSet)
Converts flat select results to a JSON array.
|
String |
XmlResponseSerializer.serializeReadHierarchical(SqlResource sqlResource,
List<Map<String,Object>> results)
Converts hierarchical select results to an XML document.
|
String |
JsonResponseSerializer.serializeReadHierarchical(SqlResource sqlResource,
List<Map<String,Object>> results)
Converts hierarchical select results to a JSON array.
|
String |
XmlResponseSerializer.serializeWrite(SqlResource sqlResource,
WriteResponse response)
Converts write results to an XML document.
|
String |
JsonResponseSerializer.serializeWrite(SqlResource sqlResource,
WriteResponse response)
Converts write results to a JSON object.
|
Copyright © 2011-2018 restSQL Project Contributors