| Modifier and Type | Method and Description |
|---|---|
| public BooleanDataValue | Returns: this AND otherValueThe other BooleanDataValue to AND with this one otherValue)The SQL AND operator. |
| public boolean | Returns: true if the BooleanDataValue contains the given value.The value to look for value)Tell whether a BooleanDataValue has the given value. |
| public boolean | getBoolean()
Redeclares org. Gets the value in the data value descriptor as a boolean. |
| public BooleanDataValue | Returns: An immutable BooleanDataValue with the same value as this.Return an immutable BooleanDataValue with the same value as this. |
| public BooleanDataValue | Returns: whether this IS otherValueBooleanDataValue to compare to. May be TRUE, FALSE, or UNKNOWN. otherValue)The SQL IS operator - consult any standard SQL reference for an explanation. |
| public BooleanDataValue | Returns: NOT( this IS otherValue )BooleanDataValue to compare to. May be TRUE, FALSE, or UNKNOWN. otherValue)Implements NOT IS. |
| public BooleanDataValue | Returns: this OR otherValueThe other BooleanDataValue to OR with this one otherValue)The SQL OR operator. |
| public void | |
| public BooleanDataValue | Returns: thisThe SQLState of the exception to throw if
this SQLBoolean is false. SQLState, String The name of the table to include in the exception
message. tableName, String The name of the failed constraint to include
in the exception message. constraintName)Throw an exception with the given SQLState if this BooleanDataValue is false. |
| public BooleanDataValue | Returns: thisThe SQLState of the exception to throw if
this SQLBoolean is false. SQLState, String The name of the table to include in the exception
message. tableName, String The name of the failed constraint to include
in the exception message. constraintName, Activation The activation a, int The saved object number of the constraint's UUID. savedUUIDIdx)If this value is false and we have a deferred constraint, remember the violation and proceed, else throw. |
| and | back to summary |
|---|---|
| public BooleanDataValue and(BooleanDataValue otherValue) The SQL AND operator. This provides SQL semantics for AND with unknown truth values - consult any standard SQL reference for an explanation.
| |
| equals | back to summary |
|---|---|
| public boolean equals(boolean value) Tell whether a BooleanDataValue has the given value. This is useful for short-circuiting.
| |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean() Redeclares org. Doc from org. Gets the value in the data value descriptor as a boolean. Throws an exception if the data value is not a boolean. For DataValueDescriptor, this is the preferred interface for BIT, but for this no-casting interface, it isn't, because BIT is stored internally as a Bit, not as a Boolean.
| |
| getImmutable | back to summary |
|---|---|
| public BooleanDataValue getImmutable() Return an immutable BooleanDataValue with the same value as this.
| |
| is | back to summary |
|---|---|
| public BooleanDataValue is(BooleanDataValue otherValue) The SQL IS operator - consult any standard SQL reference for an explanation. Implements the following truth table: otherValue | TRUE | FALSE | UNKNOWN this |---------------------------- | TRUE | TRUE | FALSE | FALSE FALSE | FALSE | TRUE | FALSE UNKNOWN | FALSE | FALSE | TRUE
| |
| isNot | back to summary |
|---|---|
| public BooleanDataValue isNot(BooleanDataValue otherValue) Implements NOT IS. This reverses the sense of the is() call.
| |
| or | back to summary |
|---|---|
| public BooleanDataValue or(BooleanDataValue otherValue) The SQL OR operator. This provides SQL semantics for OR with unknown truth values - consult any standard SQL reference for an explanation.
| |
| setValue | back to summary |
|---|---|
| public void setValue(Boolean theValue) Set the value of this BooleanDataValue.
| |
| throwExceptionIfFalse | back to summary |
|---|---|
| public BooleanDataValue throwExceptionIfFalse(String SQLState, String tableName, String constraintName) throws StandardException Throw an exception with the given SQLState if this BooleanDataValue is false. This method is useful for evaluating constraints.
| |
| throwExceptionIfImmediateAndFalse | back to summary |
|---|---|
| public BooleanDataValue throwExceptionIfImmediateAndFalse(String SQLState, String tableName, String constraintName, Activation a, int savedUUIDIdx) throws StandardException If this value is false and we have a deferred constraint, remember the violation and proceed, else throw. See also org.apache.derby.impl.sql.compile.AndNoShortCircuitNode.
| |