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.


Field Summary
 BitSet index_available
          Tables that may be accessed via an index.
 BitSet table_needed
          Tables needed by Function.
 
Constructor Summary
TableReader.TableAccess()
          Constructor.
 
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
 

Field Detail

table_needed

public BitSet table_needed
Tables needed by Function.

index_available

public BitSet index_available
Tables that may be accessed via an index.
Constructor Detail

TableReader.TableAccess

public TableReader.TableAccess()
Constructor.
Method Detail

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