|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.catalog.DropDependencyFilter
public class DropDependencyFilter
A Filter to qualify tuples coming from a scan of SYSDEPENDS. Tuples qualify if they have the right providerID.
Field Summary | |
---|---|
(package private) DataValueFactory |
dataValueFactory
|
(package private) BooleanDataValue |
falseValue
|
(package private) UUID |
providerID
|
(package private) BooleanDataValue |
trueValue
|
(package private) UUIDFactory |
uuidFactory
|
Constructor Summary | |
---|---|
DropDependencyFilter(UUID providerID)
Construct a TupleFilter to qualify SYSDEPENDS rows with the designated providerID. |
Method Summary | |
---|---|
BooleanDataValue |
execute(ExecRow currentRow)
Pump a SYSDEPENDS row through the Filter. |
private DataValueFactory |
getDataValueFactory()
Gets the DataValueFactory for this connection. |
private BooleanDataValue |
getFalseValue()
Gets a BooleanDataValue representing FALSE |
private BooleanDataValue |
getTrueValue()
Gets a BooleanDataValue representing TRUE. |
private UUIDFactory |
getUUIDFactory()
Get the UUID factory |
void |
init(ExecRow parameters)
Initialize a Filter with a vector of parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
UUID providerID
UUIDFactory uuidFactory
DataValueFactory dataValueFactory
BooleanDataValue trueValue
BooleanDataValue falseValue
Constructor Detail |
---|
public DropDependencyFilter(UUID providerID)
providerID
- UUID of provider. Tuples with this ID qualify.Method Detail |
---|
public void init(ExecRow parameters) throws StandardException
init
in interface TupleFilter
parameters
- An ExecRow of parameter values
StandardException
- Thrown on errorpublic BooleanDataValue execute(ExecRow currentRow) throws StandardException
execute
in interface TupleFilter
currentRow
- SYSDEPENDS row
StandardException
- Thrown on errorprivate UUIDFactory getUUIDFactory() throws StandardException
StandardException
- thrown on failureprivate DataValueFactory getDataValueFactory()
private BooleanDataValue getTrueValue() throws StandardException
StandardException
- Thrown on errorprivate BooleanDataValue getFalseValue() throws StandardException
StandardException
- Thrown on error
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |