| java.lang.Object org.hsqldb.TableFilter
TableFilter | final class TableFilter (Code) | | This class iterates over table rows to select the rows that fulfil join
or other conditions. It uses indexes if they are availabe.
Extended in successive versions of HSQLDB.
author: Thomas Mueller (Hypersonic SQL Group) version: 1.8.0 since: Hypersonic SQL |
CONDITION_END | final static int CONDITION_END(Code) | | |
CONDITION_NONE | final static int CONDITION_NONE(Code) | | |
CONDITION_OUTER | final static int CONDITION_OUTER(Code) | | |
CONDITION_START | final static int CONDITION_START(Code) | | |
CONDITION_START_END | final static int CONDITION_START_END(Code) | | |
CONDITION_UNORDERED | final static int CONDITION_UNORDERED(Code) | | |
isAssigned | boolean isAssigned(Code) | | |
isCurrentOuter | boolean isCurrentOuter(Code) | | |
isMultiFindFirst | boolean isMultiFindFirst(Code) | | |
isOuterJoin | boolean isOuterJoin(Code) | | |
nonJoinIsNull | boolean nonJoinIsNull(Code) | | |
usedColumns | boolean[] usedColumns(Code) | | |
TableFilter | TableFilter(Table t, String alias, HashMappedList columnList, boolean outerjoin)(Code) | | Constructor declaration
Parameters: t - Parameters: alias - Parameters: outerjoin - |
describe | public String describe(Session session)(Code) | | Retreives a String representation of this obejct.
The returned String describes this object's table, alias
access mode, index, join mode, Start, End and And conditions.
a String representation of this object |
findFirst | boolean findFirst(Session session) throws HsqlException(Code) | | Finds the first row in the table (using an index if there is one) and
checks it against the eEnd (range) and eAnd (other conditions)
Expression objects. (fredt)
true if first row was found, else false |
getConditionType | static int getConditionType(Expression e)(Code) | | Retrieves a CONDITION_XXX code indicating how a condition
expression can be used for a TableFilter.
Parameters: exprType - an expression type code |
getName | String getName()(Code) | | Returns the alias or the table name.
Never returns null;
|
getTable | Table getTable()(Code) | | Retrieves this object's filter Table object.
this object's filter Table object |
next | boolean next(Session session) throws HsqlException(Code) | | Advances to the next available value.
true if a next value is available upon exit throws: HsqlException - if a database access error occurs |
setAsCheckFilter | void setAsCheckFilter()(Code) | | Removes reference to Index to avoid possible memory leaks after alter
table or drop index
|
setConditions | void setConditions(Session session, Expression condition) throws HsqlException(Code) | | Chooses certain query conditions and assigns a copy of them to this
filter. The original condition is set to Expression.TRUE once assigned.
Parameters: condition - throws: HsqlException - |
|
|