1 23 package org.apache.slide.store.impl.rdbms.expression; 24 25 import java.util.ArrayList ; 26 import java.util.Collection ; 27 import java.util.HashMap ; 28 import java.util.HashSet ; 29 import java.util.Map ; 30 31 import org.apache.slide.search.basic.IBasicResultSet; 32 33 35 public final class RDBMSQueryContext { 36 37 private final Collection _criteria; 38 private final Collection _joins; 39 private final Map _selects; 40 private final IBasicResultSet _results; 41 42 public RDBMSQueryContext(IBasicResultSet results) { 43 _criteria = new ArrayList (); 44 _joins = new HashSet (); 45 _selects = new HashMap (); 46 _results = results; 47 } 48 49 public Collection criteria() { 50 return _criteria; 51 } 52 53 public Collection joins() { 54 return _joins; 55 } 56 57 public Map selects() { 58 return _selects; 59 } 60 61 public IBasicResultSet results() { 62 return _results; 63 } 64 65 } 66 | Popular Tags |