| Modifier and Type | Field and Description |
|---|---|
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 |
CONSTANT, QUERY_INVARIANT, SCAN_INVARIANT, VARIANT| Constructor and Description |
|---|
GenericQualifier(int columnId,
int operator,
GeneratedMethod orderableGetter,
Activation activation,
boolean orderedNulls,
boolean unknownRV,
boolean negateCompareResult,
int variantType) |
| Modifier and Type | Method and Description |
|---|---|
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() |
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
public GenericQualifier(int columnId,
int operator,
GeneratedMethod orderableGetter,
Activation activation,
boolean orderedNulls,
boolean unknownRV,
boolean negateCompareResult,
int variantType)
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() throws StandardException
QualifiergetOrderable in interface QualifierStandardException - Thrown on errorQualifier.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 Qualifierpublic java.lang.String toString()
toString in class java.lang.ObjectApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.