de.fuberlin.wiwiss.d2rq.mapgen
Class FilterMatchTable

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.mapgen.Filter
      extended by de.fuberlin.wiwiss.d2rq.mapgen.FilterMatchTable

public class FilterMatchTable
extends Filter


Nested Class Summary
 
Nested classes/interfaces inherited from class de.fuberlin.wiwiss.d2rq.mapgen.Filter
Filter.IdentifierMatcher
 
Field Summary
 
Fields inherited from class de.fuberlin.wiwiss.d2rq.mapgen.Filter
ALL, NOTHING, NULL_MATCHER
 
Constructor Summary
FilterMatchTable(Filter.IdentifierMatcher schema, Filter.IdentifierMatcher table, boolean matchParents)
           
 
Method Summary
 String getSingleSchema()
           
 boolean matchesColumn(String schema, String table, String column)
           
 boolean matchesSchema(String schema)
           
 boolean matchesTable(String schema, String table)
           
 String toString()
           
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.mapgen.Filter
createPatternMatcher, createStringMatcher, matches, matches, matchesAll, sameSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterMatchTable

public FilterMatchTable(Filter.IdentifierMatcher schema,
                        Filter.IdentifierMatcher table,
                        boolean matchParents)
Method Detail

matchesSchema

public boolean matchesSchema(String schema)
Specified by:
matchesSchema in class Filter

matchesTable

public boolean matchesTable(String schema,
                            String table)
Specified by:
matchesTable in class Filter

matchesColumn

public boolean matchesColumn(String schema,
                             String table,
                             String column)
Specified by:
matchesColumn in class Filter

getSingleSchema

public String getSingleSchema()
Specified by:
getSingleSchema in class Filter
Returns:
If the filter matches only a single schema, then its name; otherwise, null

toString

public String toString()
Overrides:
toString in class Object