public class JoinComparison
extends java.lang.Object
implements java.io.Serializable
SearchSQL.setFromClauseAdditionalJoin
to construct a join.SearchSQL
,
JoinOperator
,
SQL Syntax Reference,
Serialized FormModifier and Type | Field and Description |
---|---|
static JoinComparison |
EQUAL
A constant representing a JoinComparison instance of type EQUAL.
|
static int |
EQUAL_AS_INT
An integer associated with the EQUAL instance of this class.
|
static JoinComparison |
GREATER_THAN
A constant representing a JoinComparison instance of type GREATER_THAN.
|
static int |
GREATER_THAN_AS_INT
An integer associated with the GREATER_THAN instance of this class.
|
static JoinComparison |
GREATER_THAN_EQUAL_TO
A constant representing a JoinComparison instance of type GREATER_THAN_EQUAL_TO.
|
static int |
GREATER_THAN_EQUAL_TO_AS_INT
An integer associated with the GREATER_THAN_EQUAL_TO instance of this class.
|
static JoinComparison |
LESS_THAN
A constant representing a JoinComparison instance of type LESS_THAN.
|
static int |
LESS_THAN_AS_INT
An integer associated with the LESS_THAN instance of this class.
|
static JoinComparison |
LESS_THAN_EQUAL_TO
A constant representing a JoinComparison instance of type LESS_THAN_EQUAL_TO.
|
static int |
LESS_THAN_EQUAL_TO_AS_INT
An integer associated with the LESS_THAN_EQUAL_TO instance of this class.
|
static JoinComparison |
NOT_EQUAL
A constant representing a JoinComparison instance of type NOT_EQUAL.
|
static int |
NOT_EQUAL_AS_INT
An integer associated with the NOT_EQUAL instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static JoinComparison |
getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the *_AS_INT fields).
|
java.lang.String |
getOperator()
Gets the standard string representation of the comparison operator used by this instance.
|
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a String representation of this instance.
|
public static final int NOT_EQUAL_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final JoinComparison NOT_EQUAL
getValue()
,
getInstanceFromInt(int)
public static final int EQUAL_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final JoinComparison EQUAL
getValue()
,
getInstanceFromInt(int)
public static final int LESS_THAN_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final JoinComparison LESS_THAN
getValue()
,
getInstanceFromInt(int)
public static final int GREATER_THAN_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final JoinComparison GREATER_THAN
getValue()
,
getInstanceFromInt(int)
public static final int LESS_THAN_EQUAL_TO_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final JoinComparison LESS_THAN_EQUAL_TO
getValue()
,
getInstanceFromInt(int)
public static final int GREATER_THAN_EQUAL_TO_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final JoinComparison GREATER_THAN_EQUAL_TO
getValue()
,
getInstanceFromInt(int)
public int getValue()
public static JoinComparison getInstanceFromInt(int value)
value
- An integer representing a particular static instance of this class.EngineRuntimeException
- Thrown when the parameter is null or invalid.public java.lang.String getOperator()
EQUAL_AS_INT
)NOT_EQUAL_AS_INT
)LESS_THAN_AS_INT
)GREATER_THAN_AS_INT
)LESS_THAN_EQUAL_TO_AS_INT
)GREATER_THAN_EQUAL_TO_AS_INT
)public java.lang.String toString()
toString
in class java.lang.Object
© Copyright IBM Corporation 2006, 2015. All rights reserved.