ModSQL
Class TableReader.TableAccess
java.lang.Object
|
+--ModSQL.TableReader.TableAccess
- Enclosing class:
- TableReader
- class TableReader.TableAccess
- extends Object
Class to register access to particular tables and whether the tables
can be accessed via an indexed column. This class is used when
optimizing the join order to figure out which functions access which
tables.
|
Method Summary |
boolean |
forReader(TableReader reader)
Returns true if this object is from the specified table reader. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
table_needed
public BitSet table_needed
- Tables needed by Function.
index_available
public BitSet index_available
- Tables that may be accessed via an index.
TableReader.TableAccess
public TableReader.TableAccess()
- Constructor.
forReader
public boolean forReader(TableReader reader)
- Returns true if this object is from the specified table reader.
- Parameters:
reader - parent to test for- Returns:
- true if object is from reader