org.compass.gps.device.jdbc.mapping |
|
Java Source File Name | Type | Comment |
AbstractColumnMapping.java | Class | A helper base class for columns base mappings. |
AbstractColumnToPropertyMapping.java | Class | A helper base class for mappings from a jdbc column to a Compass
Property . |
AbstractConstantColumnToPropertyMapping.java | Class | A helper base class which has all the property options as constants and
immutables except for the property name. |
AutoGenerateMapping.java | Interface | A mapping that needs to perform actions in order to generate the required
mappings for it's proper operation. |
ColumnMapping.java | Interface | A general interface for a jdbc column mapping. |
ColumnToPropertyMapping.java | Interface | A general interface for a jdbc column mapping to a Compass
Property . |
DataColumnToPropertyMapping.java | Class | Maps a data column to Compass Resource Property .
The PropertyIndex defaults to
Property.Index.TOKENIZED . |
IdColumnToPropertyMapping.java | Class | Maps an id column to Resource Property . |
ResultSetToResourceMapping.java | Class | Maps a Jdbc ResultSet to a Compass Resource .
The required mappings are the alias of the Resource , the
select query that generates the ResultSet , and at least one
id mapping that maps the ResultSet identifiers columns (
org.compass.gps.device.jdbc.mapping.IdColumnToPropertyMapping ).
Mapping data columns (
org.compass.gps.device.jdbc.mapping.DataColumnToPropertyMapping )
is optional, but provides the meta data (Resource Proeprty )
for searching. |
TableToResourceMapping.java | Class | A specialized form of
org.compass.gps.device.jdbc.mapping.ResultSetToResourceMapping ,
mapping a specfic database table to a resource.
Since the mapping works against a table, most of the parameters can be
automatically generated. |
VersionColumnMapping.java | Class | Maps a version column (no property mapping required - if you wish to map the
version colum to a Resource Property use the
org.compass.gps.device.jdbc.mapping.DataColumnToPropertyMapping ).
In order to map a version column, either the column index or the column name
must be set, and the version column jdbc type (one of
java.sql.Types ). |