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.mysql | |
org.restsql.core.impl.postgresql |
Modifier and Type | Method and Description |
---|---|
SqlResourceMetaData |
SqlResource.getMetaData()
Returns meta data for SQL resource.
|
static SqlResourceMetaData |
Factory.getSqlResourceMetaData(String resName,
SqlResourceDefinition definition,
SqlBuilder sqlBuilder)
Returns meta data object for definition.
|
Modifier and Type | Method and Description |
---|---|
SqlBuilder.SqlStruct |
SqlBuilder.buildSelectSql(SqlResourceMetaData metaData,
String mainSql,
Request request)
Creates select SQL.
|
Map<String,SqlBuilder.SqlStruct> |
SqlBuilder.buildWriteSql(SqlResourceMetaData metaData,
Request request,
boolean doParent)
Creates update, insert or delete SQL.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSqlResourceMetaData
Represents meta data for sql resource.
|
Modifier and Type | Method and Description |
---|---|
SqlResourceMetaData |
SqlResourceImpl.getMetaData() |
Modifier and Type | Method and Description |
---|---|
SqlBuilder.SqlStruct |
AbstractSqlBuilder.buildSelectSql(SqlResourceMetaData metaData,
String mainSql,
Request request)
Creates select SQL.
|
Map<String,SqlBuilder.SqlStruct> |
AbstractSqlBuilder.buildWriteSql(SqlResourceMetaData metaData,
Request request,
boolean doParent)
Creates update, insert or delete SQL.
|
Constructor and Description |
---|
SqlResourceImpl(String name,
SqlResourceDefinition definition,
SqlResourceMetaData metaData,
SqlBuilder sqlBuilder,
List<Trigger> triggers) |
Modifier and Type | Class and Description |
---|---|
class |
MySqlSqlResourceMetaData
Implements SqlResourceMetaData for MySQL.
|
Modifier and Type | Class and Description |
---|---|
class |
PostgreSqlSqlResourceMetaData
Implements SqlResourceMetaData for PostgreSQL.
|
Copyright © 2011-2018 restSQL Project Contributors