de.fuberlin.wiwiss.d2rq.mapgen
Class FilterMatchAny

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

public class FilterMatchAny
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
FilterMatchAny(Collection<Filter> elements)
           
 
Method Summary
static Filter create(Collection<Filter> elements)
           
 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

FilterMatchAny

public FilterMatchAny(Collection<Filter> elements)
Method Detail

create

public static Filter create(Collection<Filter> elements)

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