Exemplo n.º 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);
   }
 }
Exemplo n.º 2
0
 @Override
 public int getType() {
   return column.getType();
 }