public abstract class Filter extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Filter.IdentifierMatcher |
Modifier and Type | Field and Description |
---|---|
static Filter |
ALL |
static Filter |
NOTHING |
static Filter.IdentifierMatcher |
NULL_MATCHER |
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
static Filter.IdentifierMatcher |
createPatternMatcher(Pattern pattern) |
static Filter.IdentifierMatcher |
createStringMatcher(String s) |
abstract String |
getSingleSchema() |
boolean |
matches(Attribute column) |
boolean |
matches(RelationName table) |
boolean |
matchesAll(Collection<Attribute> columns) |
abstract boolean |
matchesColumn(String schema,
String table,
String column) |
abstract boolean |
matchesSchema(String schema) |
abstract boolean |
matchesTable(String schema,
String table) |
protected boolean |
sameSchema(String schema1,
String schema2) |
public static final Filter ALL
public static final Filter NOTHING
public static final Filter.IdentifierMatcher NULL_MATCHER
public abstract boolean matchesSchema(String schema)
public abstract String getSingleSchema()
null
public boolean matches(RelationName table)
public boolean matches(Attribute column)
public boolean matchesAll(Collection<Attribute> columns)
public static Filter.IdentifierMatcher createStringMatcher(String s)
public static Filter.IdentifierMatcher createPatternMatcher(Pattern pattern)