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.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 | Method and Description |
---|---|
static Table |
SqlResourceDefinitionUtils.getTable(SqlResourceDefinition definition,
ColumnMetaData column)
Returns table object for column, ignoring case.
|
Copyright © 2011-2018 restSQL Project Contributors