public interface PhysicalTableMatcher extends Predicate<PhysicalTable>
Modifier and Type | Method and Description |
---|---|
default Set<PhysicalTable> |
matchNotEmpty(Stream<PhysicalTable> tables)
Run matches on each physical table in the stream, filtering down to matching tables.
|
NoMatchFoundException |
noneFoundException()
Exception to throw if no tables match.
|
boolean |
test(PhysicalTable table)
Determines whether this table matches a requirement.
|
boolean test(PhysicalTable table)
test
in interface Predicate<PhysicalTable>
table
- The table being testedNoMatchFoundException noneFoundException()
default Set<PhysicalTable> matchNotEmpty(Stream<PhysicalTable> tables) throws NoMatchFoundException
tables
- A stream of tables to match ontest(PhysicalTable)
NoMatchFoundException
- if no tables in the stream matchCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.