| Modifier and Type | Field and Description |
|---|---|
| private Activation | |
| private int | |
| private boolean | |
| private int | |
| private DataValueDescriptor | |
| private GeneratedMethod | |
| private boolean | |
| private boolean | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | GenericQualifier(int columnId, int operator, GeneratedMethod orderableGetter, Activation activation, boolean orderedNulls, boolean unknownRV, boolean negateCompareResult, int variantType)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | clearOrderableCache()
Implements org. Clear the DataValueDescriptor cache, if one exists. |
| public int | getColumnId()
Implements org. Get the (zero based) id of the column to be qualified. |
| public int | getOperator()
Implements org. Get the operator to use in the comparison. |
| public DataValueDescriptor | getOrderable()
Implements org. Get the value that the column is to be compared to. |
| public boolean | getOrderedNulls()
Implements org. Get the getOrderedNulls argument to use in the comparison. |
| public boolean | getUnknownRV()
Implements org. Get the getOrderedNulls argument to use in the comparison. |
| public boolean | negateCompareResult()
Implements org. Should the result from the compare operation be negated? |
| public void | reinitialize()
Implements org. This method reinitializes all the state of the Qualifier. |
| public String |
| activation | back to summary |
|---|---|
| private Activation activation | |
| columnId | back to summary |
|---|---|
| private int columnId | |
| negateCompareResult | back to summary |
|---|---|
| private boolean negateCompareResult | |
| operator | back to summary |
|---|---|
| private int operator | |
| orderableCache | back to summary |
|---|---|
| private DataValueDescriptor orderableCache | |
| orderableGetter | back to summary |
|---|---|
| private GeneratedMethod orderableGetter | |
| orderedNulls | back to summary |
|---|---|
| private boolean orderedNulls | |
| unknownRV | back to summary |
|---|---|
| private boolean unknownRV | |
| variantType | back to summary |
|---|---|
| protected int variantType | |
| GenericQualifier | back to summary |
|---|---|
| public GenericQualifier(int columnId, int operator, GeneratedMethod orderableGetter, Activation activation, boolean orderedNulls, boolean unknownRV, boolean negateCompareResult, int variantType) | |
| clearOrderableCache | back to summary |
|---|---|
| public void clearOrderableCache() Implements org. Clear the DataValueDescriptor cache, if one exists. (The DataValueDescriptor can be 1 of 3 types: o VARIANT - cannot be cached as its value can vary within a scan o SCAN_INVARIANT - can be cached within a scan as its value will not change within a scan o QUERY_INVARIANT- can be cached across the life of the query as its value will never change o CONSTANT - never changes
| |
| getColumnId | back to summary |
|---|---|
| public int getColumnId() Implements org. Doc from org. Get the (zero based) id of the column to be qualified. 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.
| |
| getOperator | back to summary |
|---|---|
| public int getOperator() Implements org. Get the operator to use in the comparison.
| |
| getOrderable | back to summary |
|---|---|
| public DataValueDescriptor getOrderable() throws StandardException Implements org. Doc from org. Get the value that the column is to be compared to.
| |
| getOrderedNulls | back to summary |
|---|---|
| public boolean getOrderedNulls() Implements org. Get the getOrderedNulls argument to use in the comparison.
| |
| getUnknownRV | back to summary |
|---|---|
| public boolean getUnknownRV() Implements org. Get the getOrderedNulls argument to use in the comparison.
| |
| negateCompareResult | back to summary |
|---|---|
| public boolean negateCompareResult() Implements org. Should the result from the compare operation be negated? If true then only rows which fail the compare operation will qualify.
| |
| reinitialize | back to summary |
|---|---|
| public void reinitialize() Implements org. This method reinitializes all the state of the Qualifier. It is used to distinguish between resetting something that is query invariant and something that is constant over every execution of a query. Basically, clearOrderableCache() will only clear out its cache if it is a VARIANT or SCAN_INVARIANT value. However, each time a query is executed, the QUERY_INVARIANT qualifiers need to be reset. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |