public class DropDependencyFilter extends java.lang.Object implements TupleFilter
Modifier and Type | Field and Description |
---|---|
(package private) DataValueFactory |
dataValueFactory |
(package private) BooleanDataValue |
falseValue |
(package private) UUID |
providerID |
(package private) BooleanDataValue |
trueValue |
(package private) UUIDFactory |
uuidFactory |
Constructor and Description |
---|
DropDependencyFilter(UUID providerID)
Construct a TupleFilter to qualify SYSDEPENDS rows with the
designated providerID.
|
Modifier and Type | Method and Description |
---|---|
BooleanDataValue |
execute(ExecRow currentRow)
Pump a SYSDEPENDS row through the Filter.
|
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.
|
UUID providerID
UUIDFactory uuidFactory
DataValueFactory dataValueFactory
BooleanDataValue trueValue
BooleanDataValue falseValue
public DropDependencyFilter(UUID providerID)
providerID
- UUID of provider. Tuples with this ID qualify.public void init(ExecRow parameters) throws StandardException
init
in interface TupleFilter
parameters
- An ExecRow of parameter valuesStandardException
- Thrown on errorpublic BooleanDataValue execute(ExecRow currentRow) throws StandardException
execute
in interface TupleFilter
currentRow
- SYSDEPENDS rowStandardException
- Thrown on errorprivate UUIDFactory getUUIDFactory() throws StandardException
StandardException
- thrown on failureprivate BooleanDataValue getTrueValue() throws StandardException
StandardException
- Thrown on errorprivate BooleanDataValue getFalseValue() throws StandardException
StandardException
- Thrown on errorApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.