Beispiel #1
0
 @Override
 public void createIndexConditions(Session session, TableFilter filter) {
   TableFilter tf = getTableFilter();
   if (filter == tf && column.getType() == Value.BOOLEAN) {
     IndexCondition cond =
         IndexCondition.get(Comparison.EQUAL, this, ValueExpression.get(ValueBoolean.get(true)));
     filter.addIndexCondition(cond);
   }
 }
Beispiel #2
0
 @Override
 public int getType() {
   return column.getType();
 }