com.sciapp.table.db
Class DefaultPivotTableModel.SQLFilterPivotConverter
java.lang.Object
com.sciapp.table.db.SQLFilterConverter
com.sciapp.table.db.DefaultPivotTableModel.SQLFilterPivotConverter
- Enclosing class:
- DefaultPivotTableModel
public class DefaultPivotTableModel.SQLFilterPivotConverter
- extends SQLFilterConverter
SQLFilterConverter should take care of pivot columns.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPivotTableModel.SQLFilterPivotConverter
public DefaultPivotTableModel.SQLFilterPivotConverter()
- Constructs an SQLFilterPivotConverter.
convert
public String convert(TableFilter tableFilter,
DatabaseTableDefinition model,
boolean place)
- Converts the supplied table filter into an SQL where clause.
- Overrides:
convert
in class SQLFilterConverter
- Parameters:
tableFilter
- the table filter to convertmodel
- the database definition to use to find out the column namesplace
- if true, converter will use placeholders (?), otherwise the filter's value
- Returns:
- the SQL string