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 | |
org.restsql.core.sqlresource |
Contains classes that model the SQL Resource definition XML document.
|
Modifier and Type | Method and Description |
---|---|
static ColumnMetaData |
Factory.getColumnMetaData()
Creates new column meta data object.
|
Modifier and Type | Method and Description |
---|---|
List<ColumnMetaData> |
SqlResourceMetaData.getAllReadColumns() |
List<ColumnMetaData> |
SqlResourceMetaData.getChildReadColumns() |
Map<String,ColumnMetaData> |
TableMetaData.getColumns()
Returns map of column meta data, keyed by the column label (the alias if provided in the query, otherwise the name).
|
List<ColumnMetaData> |
SqlResourceMetaData.getParentReadColumns() |
List<ColumnMetaData> |
TableMetaData.getPrimaryKeys()
Returns ordered list of columns that are primary keys.
|
Modifier and Type | Method and Description |
---|---|
void |
TableMetaData.addColumn(ColumnMetaData column)
Adds normal column.
|
void |
TableMetaData.addPrimaryKey(ColumnMetaData column)
Adds primary key column.
|
int |
ColumnMetaData.compareTo(ColumnMetaData column)
Compares another column based on the column number of the select clause in the SQL Resource definition query.
|
Modifier and Type | Class and Description |
---|---|
class |
ColumnMetaDataImpl
Represents column (field) metadata.
|
Modifier and Type | Method and Description |
---|---|
List<ColumnMetaData> |
AbstractSqlResourceMetaData.getAllReadColumns() |
List<ColumnMetaData> |
AbstractSqlResourceMetaData.getChildReadColumns() |
Map<String,ColumnMetaData> |
TableMetaDataImpl.getColumns() |
List<ColumnMetaData> |
AbstractSqlResourceMetaData.getParentReadColumns() |
List<ColumnMetaData> |
TableMetaDataImpl.getPrimaryKeys() |
Modifier and Type | Method and Description |
---|---|
void |
TableMetaDataImpl.addColumn(ColumnMetaData column) |
void |
TableMetaDataImpl.addPrimaryKey(ColumnMetaData column) |
protected String |
AbstractSqlBuilder.buildPreparedParameterSql(ColumnMetaData column)
Enables override for databases like PostgreSQL that need special handling for enumerations.
|
int |
ColumnMetaDataImpl.compareTo(ColumnMetaData column) |
Modifier and Type | Class and Description |
---|---|
class |
MySqlColumnMetaData
MySQL specific implementation.
|
Modifier and Type | Method and Description |
---|---|
protected String |
PostgreSqlSqlBuilder.buildPreparedParameterSql(ColumnMetaData column) |
Modifier and Type | Method and Description |
---|---|
static Table |
SqlResourceDefinitionUtils.getTable(SqlResourceDefinition definition,
ColumnMetaData column)
Returns table object for column, ignoring case.
|
Copyright © 2011-2018 restSQL Project Contributors