|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.GenericScanQualifier
public class GenericScanQualifier
This is the implementation for ScanQualifier. It is used for system and user scans.
| Field Summary | |
|---|---|
private int |
columnId
|
private boolean |
negateCR
|
private int |
operator
|
private DataValueDescriptor |
orderable
|
private boolean |
orderedNulls
|
private boolean |
properInit
|
private boolean |
unknownRV
|
| Fields inherited from interface org.apache.derby.iapi.store.access.Qualifier |
|---|
CONSTANT, QUERY_INVARIANT, SCAN_INVARIANT, VARIANT |
| Constructor Summary | |
|---|---|
GenericScanQualifier()
|
|
| 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. |
void |
setQualifier(int columnId,
DataValueDescriptor orderable,
int operator,
boolean negateCR,
boolean orderedNulls,
boolean unknownRV)
Set the info in a ScanQualifier |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int columnId
private DataValueDescriptor orderable
private int operator
private boolean negateCR
private boolean orderedNulls
private boolean unknownRV
private boolean properInit
| Constructor Detail |
|---|
public GenericScanQualifier()
| Method Detail |
|---|
public int getColumnId()
QualifierThis 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 QualifierQualifier.getColumnId()public DataValueDescriptor getOrderable()
Qualifier
getOrderable in interface QualifierQualifier.getOrderable()public int getOperator()
getOperator in interface QualifierQualifier.getOperator()public boolean negateCompareResult()
negateCompareResult in interface QualifierQualifier.negateCompareResult()public boolean getOrderedNulls()
getOrderedNulls in interface QualifierQualifier.getOrderedNulls()public boolean getUnknownRV()
getUnknownRV in interface QualifierQualifier.getUnknownRV()public void clearOrderableCache()
clearOrderableCache in interface QualifierQualifier.getUnknownRV()public void reinitialize()
reinitialize in interface Qualifier
public void setQualifier(int columnId,
DataValueDescriptor orderable,
int operator,
boolean negateCR,
boolean orderedNulls,
boolean unknownRV)
ScanQualifier
setQualifier in interface ScanQualifierScanQualifier.setQualifier(int, org.apache.derby.iapi.types.DataValueDescriptor, int, boolean, boolean, boolean)
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||