|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.execute.GenericQualifier
public class GenericQualifier
This is the implementation for Qualifier. It is used for generated scans.
Field Summary | |
---|---|
private Activation |
activation
|
private int |
columnId
|
private boolean |
negateCompareResult
|
private int |
operator
|
private DataValueDescriptor |
orderableCache
|
private GeneratedMethod |
orderableGetter
|
private boolean |
orderedNulls
|
private boolean |
unknownRV
|
protected int |
variantType
|
Fields inherited from interface org.apache.derby.iapi.store.access.Qualifier |
---|
CONSTANT, QUERY_INVARIANT, SCAN_INVARIANT, VARIANT |
Constructor Summary | |
---|---|
GenericQualifier(int columnId,
int operator,
GeneratedMethod orderableGetter,
Activation activation,
boolean orderedNulls,
boolean unknownRV,
boolean negateCompareResult,
int variantType)
|
Method Summary | |
---|---|
void |
clearOrderableCache()
Clear the DataValueDescriptor cache, if one exists. |
int |
getColumnId()
Get the (zero based) id of the column to be qualified. |
int |
getOperator()
Get the operator to use in the comparison. |
DataValueDescriptor |
getOrderable()
Get the value that the column is to be compared to. |
boolean |
getOrderedNulls()
Get the getOrderedNulls argument to use in the comparison. |
boolean |
getUnknownRV()
Get the getOrderedNulls argument to use in the comparison. |
boolean |
negateCompareResult()
Should the result from the compare operation be negated? |
void |
reinitialize()
This method reinitializes all the state of the Qualifier. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int columnId
private int operator
private GeneratedMethod orderableGetter
private Activation activation
private boolean orderedNulls
private boolean unknownRV
private boolean negateCompareResult
protected int variantType
private DataValueDescriptor orderableCache
Constructor Detail |
---|
public GenericQualifier(int columnId, int operator, GeneratedMethod orderableGetter, Activation activation, boolean orderedNulls, boolean unknownRV, boolean negateCompareResult, int variantType)
Method Detail |
---|
public int getColumnId()
Qualifier
This id is the column number of the column in the table, no matter whether a partial column set is being retrieved by the actual fetch. Note that the column being specified in the qualifier must appear in the column list being fetched.
getColumnId
in interface Qualifier
Qualifier.getColumnId()
public DataValueDescriptor getOrderable() throws StandardException
Qualifier
getOrderable
in interface Qualifier
StandardException
- Thrown on errorQualifier.getOrderable()
public int getOperator()
getOperator
in interface Qualifier
Qualifier.getOperator()
public boolean negateCompareResult()
negateCompareResult
in interface Qualifier
Qualifier.negateCompareResult()
public boolean getOrderedNulls()
getOrderedNulls
in interface Qualifier
Qualifier.getOrderedNulls()
public boolean getUnknownRV()
getUnknownRV
in interface Qualifier
Qualifier.getUnknownRV()
public void clearOrderableCache()
clearOrderableCache
in interface Qualifier
Qualifier.getUnknownRV()
public void reinitialize()
reinitialize
in interface Qualifier
public java.lang.String toString()
toString
in class java.lang.Object
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |