| java.lang.Object org.compass.gps.device.jdbc.mapping.AbstractColumnMapping org.compass.gps.device.jdbc.mapping.AbstractColumnToPropertyMapping org.compass.gps.device.jdbc.mapping.DataColumnToPropertyMapping
DataColumnToPropertyMapping | public class DataColumnToPropertyMapping extends AbstractColumnToPropertyMapping (Code) | | Maps a data column to Compass Resource Property .
The PropertyIndex defaults to
Property.Index.TOKENIZED . the PropertyStore
defaults to Property.Store.YES , the
PropertyTermVector defaults to
Property.TermVector.NO and the Boost defaults
to 1.0f .
author: kimchy |
Constructor Summary | |
public | DataColumnToPropertyMapping() Creates an empty data column to property mapping. | public | DataColumnToPropertyMapping(int columnIndex, String propertyName) Creates a new data column to propery mapping given the column index and
the property name.
The PropertyIndex defaults to
Property.Index.TOKENIZED . | public | DataColumnToPropertyMapping(String columnName, String propertyName) Creates a new data column to propery mapping given the column name and
the property name.
The PropertyIndex defaults to
Property.Index.TOKENIZED . | public | DataColumnToPropertyMapping(int columnIndex, String propertyName, Property.Index propertyIndex, Property.Store propertyStore) Creates a new data column to propery mapping given the column index,
property name, PropertyIndex , and
PropertyStore . | public | DataColumnToPropertyMapping(String columnName, String propertyName, Property.Index propertyIndex, Property.Store propertyStore) Creates a new data column to propery mapping given the column name,
property name, PropertyIndex , and
PropertyStore . | public | DataColumnToPropertyMapping(int columnIndex, String propertyName, Property.Index propertyIndex, Property.Store propertyStore, Property.TermVector propertyTermVector) Creates a new data column to propery mapping given the column index,
property name, PropertyIndex , and
PropertyStore . | public | DataColumnToPropertyMapping(String columnName, String propertyName, Property.Index propertyIndex, Property.Store propertyStore, Property.TermVector propertyTermVector) Creates a new data column to propery mapping given the column name,
property name, PropertyIndex , and
PropertyStore . |
DataColumnToPropertyMapping | public DataColumnToPropertyMapping()(Code) | | Creates an empty data column to property mapping. Must set at least the
colum index or colum name, and the property name.
The PropertyIndex defaults to
Property.Index.TOKENIZED . the PropertyStore
defaults to Property.Store.YES , the
PropertyTermVector defaults to
Property.TermVector.NO and the Boost
defaults to 1.0f .
|
DataColumnToPropertyMapping | public DataColumnToPropertyMapping(int columnIndex, String propertyName)(Code) | | Creates a new data column to propery mapping given the column index and
the property name.
The PropertyIndex defaults to
Property.Index.TOKENIZED . the PropertyStore
defaults to Property.Store.YES , the
PropertyTermVector defaults to
Property.TermVector.NO and the Boost
defaults to 1.0f .
Parameters: columnIndex - The data column index that will be used to look up the columnvalue. Parameters: propertyName - The Compass Resource Property name. |
DataColumnToPropertyMapping | public DataColumnToPropertyMapping(String columnName, String propertyName)(Code) | | Creates a new data column to propery mapping given the column name and
the property name.
The PropertyIndex defaults to
Property.Index.TOKENIZED . the PropertyStore
defaults to Property.Store.YES , the
PropertyTermVector defaults to
Property.TermVector.NO and the Boost
defaults to 1.0f .
Parameters: columnName - The data column name that will be used to look up the columnvalue. Parameters: propertyName - The Compass Resource Property name. |
DataColumnToPropertyMapping | public DataColumnToPropertyMapping(int columnIndex, String propertyName, Property.Index propertyIndex, Property.Store propertyStore)(Code) | | Creates a new data column to propery mapping given the column index,
property name, PropertyIndex , and
PropertyStore .
The PropertyTermVector defaults to
Property.TermVector.NO and the Boost
defaults to 1.0f .
Parameters: columnIndex - The data column index that will be used to look up the columnvalue. Parameters: propertyName - The Compass Resource Property name. Parameters: propertyIndex - Parameters: propertyStore - |
DataColumnToPropertyMapping | public DataColumnToPropertyMapping(String columnName, String propertyName, Property.Index propertyIndex, Property.Store propertyStore)(Code) | | Creates a new data column to propery mapping given the column name,
property name, PropertyIndex , and
PropertyStore .
The PropertyTermVector defaults to
Property.TermVector.NO and the Boost
defaults to 1.0f .
Parameters: columnName - The data column name that will be used to look up the columnvalue. Parameters: propertyName - The Compass Resource Property name. Parameters: propertyIndex - Parameters: propertyStore - |
DataColumnToPropertyMapping | public DataColumnToPropertyMapping(int columnIndex, String propertyName, Property.Index propertyIndex, Property.Store propertyStore, Property.TermVector propertyTermVector)(Code) | | Creates a new data column to propery mapping given the column index,
property name, PropertyIndex , and
PropertyStore .
Parameters: columnIndex - The data column index that will be used to look up the columnvalue. Parameters: propertyName - The Compass Resource Property name. Parameters: propertyIndex - Parameters: propertyStore - Parameters: propertyTermVector - |
DataColumnToPropertyMapping | public DataColumnToPropertyMapping(String columnName, String propertyName, Property.Index propertyIndex, Property.Store propertyStore, Property.TermVector propertyTermVector)(Code) | | Creates a new data column to propery mapping given the column name,
property name, PropertyIndex , and
PropertyStore .
Parameters: columnName - The data column name that will be used to look up the columnvalue. Parameters: propertyName - The Compass Resource Property name. Parameters: propertyIndex - Parameters: propertyStore - Parameters: propertyTermVector - |
getBoost | public float getBoost()(Code) | | |
setBoost | public void setBoost(float boost)(Code) | | |
setPropertyIndexString | public void setPropertyIndexString(String propertyIndex)(Code) | | |
setPropertyStoreString | public void setPropertyStoreString(String propertyStore)(Code) | | |
setPropertyTermVectorString | public void setPropertyTermVectorString(String propertyTermVector)(Code) | | |
|
|