Package | Description |
---|---|
org.h2.command | |
org.h2.command.dml | |
org.h2.engine | |
org.h2.expression | |
org.h2.index | |
org.h2.jdbc | |
org.h2.result | |
org.h2.schema | |
org.h2.store | |
org.h2.table | |
org.h2.util | |
org.h2.value |
Modifier and Type | Method and Description |
---|---|
protected static String |
Prepared.getSQL(Value[] values)
Get the SQL snippet of the value list.
|
Modifier and Type | Method and Description |
---|---|
Value[] |
Query.getParameterValues() |
Value |
SelectListColumnResolver.getValue(Column column) |
Modifier and Type | Method and Description |
---|---|
void |
Insert.addRow(Value[] values) |
Modifier and Type | Method and Description |
---|---|
Value |
Session.getLastIdentity() |
Value |
Session.getScopeIdentity() |
Value |
Session.getTransactionId() |
Value |
FunctionAlias.JavaMethod.getValue(Session session,
Expression[] args,
boolean columnList)
Call the user-defined function and return the value.
|
Value |
Session.getVariable(String name)
Get the value of the specified user defined variable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Database.areEqual(Value a,
Value b)
Check if two values are equal with the current comparison mode.
|
int |
Database.compare(Value a,
Value b)
Compare two values with the current comparison mode.
|
int |
Database.compareTypeSave(Value a,
Value b)
Compare two values with the current comparison mode.
|
void |
Session.setLastIdentity(Value last) |
void |
Session.setScopeIdentity(Value scopeIdentity) |
void |
Session.setVariable(String name,
Value value)
Set the value of the given variable for this session.
|
void |
Session.unlinkAtCommit(Value v)
Remember that the given LOB value must be un-linked (disconnected from
the table) at commit.
|
void |
Session.unlinkAtCommitStop(Value v)
Do not unlink this LOB value at commit any longer.
|
Modifier and Type | Method and Description |
---|---|
Value |
ParameterRemote.getParamValue() |
Value |
ParameterInterface.getParamValue()
Get the value of the parameter if set.
|
Value |
Parameter.getParamValue() |
Value |
Wildcard.getValue(Session session) |
Value |
Variable.getValue(Session session) |
Value |
ValueExpression.getValue(Session session) |
Value |
TableFunction.getValue(Session session) |
Value |
Subquery.getValue(Session session) |
Value |
SequenceValue.getValue(Session session) |
Value |
Rownum.getValue(Session session) |
Value |
Parameter.getValue(Session session) |
Value |
Operation.getValue(Session session) |
Value |
JavaFunction.getValue(Session session) |
Value |
JavaAggregate.getValue(Session session) |
Value |
Function.getValue(Session session) |
Value |
ExpressionList.getValue(Session session) |
Value |
ExpressionColumn.getValue(Session session) |
abstract Value |
Expression.getValue(Session session)
Return the resulting value for the current row.
|
Value |
ConditionNot.getValue(Session session) |
Value |
ConditionInSelect.getValue(Session session) |
Value |
ConditionIn.getValue(Session session) |
Value |
ConditionExists.getValue(Session session) |
Value |
ConditionAndOr.getValue(Session session) |
Value |
Comparison.getValue(Session session) |
Value |
CompareLike.getValue(Session session) |
Value |
Alias.getValue(Session session) |
Value |
Aggregate.getValue(Session session) |
Modifier and Type | Method and Description |
---|---|
static ValueExpression |
ValueExpression.get(Value value)
Create a new expression with the given value.
|
void |
Parameter.setValue(Value v) |
void |
ParameterRemote.setValue(Value newValue,
boolean closeOld) |
void |
ParameterInterface.setValue(Value value,
boolean closeOld)
Set the value of the parameter.
|
void |
Parameter.setValue(Value v,
boolean closeOld) |
Modifier and Type | Method and Description |
---|---|
Value |
IndexCondition.getCurrentValue(Session session)
Get the current value of the expression.
|
Value[] |
IndexCondition.getCurrentValueList(Session session)
Get the current value list of the expression.
|
Modifier and Type | Method and Description |
---|---|
Value |
JdbcConnection.createBlob(InputStream x,
long length)
Create a Blob value from this input stream.
|
Value |
JdbcConnection.createClob(Reader x,
long length)
Create a Clob value from this reader.
|
Constructor and Description |
---|
JdbcBlob(JdbcConnection conn,
Value value,
int id)
INTERNAL
|
JdbcClob(JdbcConnection conn,
Value value,
int id)
INTERNAL
|
Modifier and Type | Method and Description |
---|---|
Value[] |
ResultRemote.currentRow() |
Value[] |
ResultInterface.currentRow()
Get the current row.
|
Value[] |
LocalResult.currentRow() |
Value |
SimpleRowValue.getValue(int idx) |
Value |
SimpleRow.getValue(int i) |
Value |
SearchRow.getValue(int index)
Get the value for the column
|
Value |
Row.getValue(int i) |
Value[] |
ResultTempTable.next() |
Value[] |
ResultExternal.next()
Get the next row from the result.
|
Value[] |
UpdatableRow.readRow(Value[] row)
Re-reads a row from the database and updates the values in the array.
|
Modifier and Type | Method and Description |
---|---|
int |
ResultTempTable.addRow(Value[] values) |
void |
ResultTarget.addRow(Value[] values)
Add the row to the result set.
|
int |
ResultExternal.addRow(Value[] values)
Add a row to this object.
|
void |
LocalResult.addRow(Value[] values)
Add a row to this object.
|
int |
SortOrder.compare(Value[] a,
Value[] b)
Compare two expression lists.
|
int |
SortOrder.compare(Value[] a,
Value[] b)
Compare two expression lists.
|
boolean |
ResultTempTable.contains(Value[] values) |
boolean |
ResultExternal.contains(Value[] values)
Check if the given row exists in this object.
|
boolean |
LocalResult.containsDistinct(Value[] values)
Check if this result set contains the given row.
|
void |
UpdatableRow.deleteRow(Value[] current)
Delete the given row in the database.
|
void |
UpdatableRow.insertRow(Value[] row)
Insert a new row into the database.
|
Value[] |
UpdatableRow.readRow(Value[] row)
Re-reads a row from the database and updates the values in the array.
|
void |
LocalResult.removeDistinct(Value[] values)
Remove the row from the result set if it exists.
|
int |
ResultTempTable.removeRow(Value[] values) |
int |
ResultExternal.removeRow(Value[] values)
Remove the row with the given values from this object if such a row
exists.
|
void |
SimpleRowValue.setValue(int idx,
Value v) |
void |
SimpleRow.setValue(int i,
Value v) |
void |
SearchRow.setValue(int index,
Value v)
Set the value for given column
|
void |
Row.setValue(int i,
Value v) |
void |
UpdatableRow.updateRow(Value[] current,
Value[] updateRow)
Update a row in the database.
|
void |
UpdatableRow.updateRow(Value[] current,
Value[] updateRow)
Update a row in the database.
|
Constructor and Description |
---|
Row(Value[] data,
int memory) |
SimpleRow(Value[] data) |
Modifier and Type | Method and Description |
---|---|
void |
Constant.setValue(Value value) |
Modifier and Type | Method and Description |
---|---|
Value |
LobStorage.createBlob(InputStream in,
long maxLength)
Create a BLOB object.
|
Value |
LobStorage.createClob(Reader reader,
long maxLength)
Create a CLOB object.
|
static Value |
LobStorage.createSmallLob(int type,
byte[] small)
Create a LOB object that fits in memory.
|
Value |
Data.readValue()
Read a value.
|
Modifier and Type | Method and Description |
---|---|
int |
Data.getValueLen(Value v)
Calculate the number of bytes required to encode the given value.
|
void |
Data.writeValue(Value v)
Append a value.
|
Modifier and Type | Method and Description |
---|---|
Value |
Column.convert(Value v)
Convert a value to this column's type.
|
Value |
TableLink.getDefaultValue(Session session,
Column column)
Get or generate a default value for the given column.
|
Value |
Table.getDefaultValue(Session session,
Column column)
Get or generate a default value for the given column.
|
Value |
TableFilter.getValue(Column column) |
Value |
SingleColumnResolver.getValue(Column col) |
Value |
ColumnResolver.getValue(Column column)
Get the value for the given column.
|
Value |
Column.validateConvertUpdateSequence(Session session,
Value value)
Validate the value, convert it if required, and update the sequence value
if required.
|
Modifier and Type | Method and Description |
---|---|
int |
Table.compareTypeSave(Value a,
Value b)
Compare two values with the current comparison mode.
|
Value |
Column.convert(Value v)
Convert a value to this column's type.
|
static Row |
RegularTable.createRow(Value[] data)
Create a row from the values.
|
Value |
Column.validateConvertUpdateSequence(Session session,
Value value)
Validate the value, convert it if required, and update the sequence value
if required.
|
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
TableLink.execute(String sql,
ArrayList<Value> params,
boolean reusePrepared)
Execute a SQL statement using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Value> |
ValueHashMap.keys()
Get the list of keys.
|
Modifier and Type | Method and Description |
---|---|
static Date |
DateTimeUtils.convertDate(Value value,
Calendar calendar)
Convert the date to the specified time zone.
|
static Time |
DateTimeUtils.convertTime(Value value,
Calendar calendar)
Convert the time to the specified time zone.
|
static Timestamp |
DateTimeUtils.convertTimestamp(Value value,
Calendar calendar)
Convert the timestamp to the specified time zone.
|
V |
ValueHashMap.get(Value key)
Get the value for this key.
|
void |
ValueHashMap.put(Value key,
V value)
Add or update a key value pair.
|
void |
ValueHashMap.remove(Value key)
Remove a key value pair.
|
Modifier and Type | Class and Description |
---|---|
class |
ValueArray
Implementation of the ARRAY data type.
|
class |
ValueBoolean
Implementation of the BOOLEAN data type.
|
class |
ValueByte
Implementation of the BYTE data type.
|
class |
ValueBytes
Implementation of the BINARY data type.
|
class |
ValueDate
Implementation of the DATE data type.
|
class |
ValueDecimal
Implementation of the DECIMAL data type.
|
class |
ValueDouble
Implementation of the DOUBLE data type.
|
class |
ValueFloat
Implementation of the REAL data type.
|
class |
ValueInt
Implementation of the INT data type.
|
class |
ValueJavaObject
Implementation of the OBJECT data type.
|
class |
ValueLob
Implementation of the BLOB and CLOB data types.
|
class |
ValueLobDb
An alternate LOB implementation.
|
class |
ValueLong
Implementation of the BIGINT data type.
|
class |
ValueNull
Implementation of NULL.
|
class |
ValueResultSet
Implementation of the RESULT_SET data type.
|
class |
ValueShort
Implementation of the SMALLINT data type.
|
class |
ValueString
Implementation of the VARCHAR data type.
|
class |
ValueStringFixed
Implementation of the CHAR data type.
|
class |
ValueStringIgnoreCase
Implementation of the VARCHAR_IGNORECASE data type.
|
class |
ValueTime
Implementation of the TIME data type.
|
class |
ValueTimestamp
Implementation of the TIMESTAMP data type.
|
class |
ValueUuid
Implementation of the UUID data type.
|
Modifier and Type | Method and Description |
---|---|
Value |
ValueTimestamp.add(Value v) |
Value |
ValueTime.add(Value v) |
Value |
ValueShort.add(Value v) |
Value |
ValueLong.add(Value v) |
Value |
ValueInt.add(Value v) |
Value |
ValueFloat.add(Value v) |
Value |
ValueDouble.add(Value v) |
Value |
ValueDecimal.add(Value v) |
Value |
ValueByte.add(Value v) |
Value |
Value.add(Value v)
Add a value and return the result.
|
Value |
ValueString.convertPrecision(long precision,
boolean force) |
Value |
ValueResultSet.convertPrecision(long precision,
boolean force) |
Value |
ValueLobDb.convertPrecision(long precision,
boolean force) |
Value |
ValueLob.convertPrecision(long precision,
boolean force) |
Value |
ValueDecimal.convertPrecision(long precision,
boolean force) |
Value |
ValueBytes.convertPrecision(long precision,
boolean force) |
Value |
ValueArray.convertPrecision(long precision,
boolean force) |
Value |
Value.convertPrecision(long precision,
boolean force)
Convert the precision to the requested value.
|
Value |
ValueTimestamp.convertScale(boolean onlyToSmallerScale,
int targetScale) |
Value |
ValueDecimal.convertScale(boolean onlyToSmallerScale,
int targetScale) |
Value |
Value.convertScale(boolean onlyToSmallerScale,
int targetScale)
Convert the scale.
|
Value |
ValueNull.convertTo(int type) |
Value |
ValueLobDb.convertTo(int t)
Convert a lob to another data type.
|
Value |
ValueLob.convertTo(int t)
Convert a lob to another data type.
|
Value |
Value.convertTo(int targetType)
Compare a value to the specified type.
|
static Value |
DataType.convertToValue(SessionInterface session,
Object x,
int type)
Convert a Java object to a value.
|
Value |
Value.copyToTemp()
Copy this value to a temporary file if necessary.
|
Value |
ValueTime.divide(Value v) |
Value |
ValueShort.divide(Value v) |
Value |
ValueLong.divide(Value v) |
Value |
ValueInt.divide(Value v) |
Value |
ValueFloat.divide(Value v) |
Value |
ValueDouble.divide(Value v) |
Value |
ValueDecimal.divide(Value v) |
Value |
ValueByte.divide(Value v) |
Value |
Value.divide(Value v)
Divide by a value and return the result.
|
Value[] |
ValueArray.getList() |
Value |
ValueLobDb.link(DataHandler h,
int tabId) |
Value |
ValueLob.link(DataHandler h,
int tabId) |
Value |
Value.link(DataHandler handler,
int tableId)
Link a large value to a given table.
|
Value |
ValueShort.modulus(Value v) |
Value |
ValueLong.modulus(Value v) |
Value |
ValueInt.modulus(Value v) |
Value |
ValueFloat.modulus(Value v) |
Value |
ValueByte.modulus(Value v) |
Value |
Value.modulus(Value v)
Take the modulus with a value and return the result.
|
Value |
ValueTime.multiply(Value v) |
Value |
ValueShort.multiply(Value v) |
Value |
ValueLong.multiply(Value v) |
Value |
ValueInt.multiply(Value v) |
Value |
ValueFloat.multiply(Value v) |
Value |
ValueDouble.multiply(Value v) |
Value |
ValueDecimal.multiply(Value v) |
Value |
ValueByte.multiply(Value v) |
Value |
Value.multiply(Value v)
Multiply with a value and return the result.
|
Value |
ValueTime.negate() |
Value |
ValueShort.negate() |
Value |
ValueLong.negate() |
Value |
ValueInt.negate() |
Value |
ValueFloat.negate() |
Value |
ValueDouble.negate() |
Value |
ValueDecimal.negate() |
Value |
ValueByte.negate() |
Value |
ValueBoolean.negate() |
Value |
Value.negate()
Return -value if this value support arithmetic operations.
|
Value |
Transfer.readValue()
Read a value.
|
static Value |
DataType.readValue(SessionInterface session,
ResultSet rs,
int columnIndex,
int type)
Read a value from the given result set.
|
Value |
ValueTimestamp.subtract(Value v) |
Value |
ValueTime.subtract(Value v) |
Value |
ValueShort.subtract(Value v) |
Value |
ValueLong.subtract(Value v) |
Value |
ValueInt.subtract(Value v) |
Value |
ValueFloat.subtract(Value v) |
Value |
ValueDouble.subtract(Value v) |
Value |
ValueDecimal.subtract(Value v) |
Value |
ValueByte.subtract(Value v) |
Value |
Value.subtract(Value v)
Subtract a value and return the result.
|
Modifier and Type | Method and Description |
---|---|
Value |
ValueTimestamp.add(Value v) |
Value |
ValueTime.add(Value v) |
Value |
ValueShort.add(Value v) |
Value |
ValueLong.add(Value v) |
Value |
ValueInt.add(Value v) |
Value |
ValueFloat.add(Value v) |
Value |
ValueDouble.add(Value v) |
Value |
ValueDecimal.add(Value v) |
Value |
ValueByte.add(Value v) |
Value |
Value.add(Value v)
Add a value and return the result.
|
protected int |
ValueUuid.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueTimestamp.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueTime.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueStringIgnoreCase.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueString.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueShort.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueResultSet.compareSecure(Value v,
CompareMode mode) |
protected int |
ValueNull.compareSecure(Value v,
CompareMode mode) |
protected int |
ValueLong.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueLobDb.compareSecure(Value v,
CompareMode mode) |
protected int |
ValueLob.compareSecure(Value v,
CompareMode mode) |
protected int |
ValueInt.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueFloat.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueDouble.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueDecimal.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueDate.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueBytes.compareSecure(Value v,
CompareMode mode) |
protected int |
ValueByte.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueBoolean.compareSecure(Value o,
CompareMode mode) |
protected int |
ValueArray.compareSecure(Value o,
CompareMode mode) |
protected abstract int |
Value.compareSecure(Value v,
CompareMode mode)
Compare the value with another value of the same type.
|
int |
Value.compareTo(Value v,
CompareMode mode)
Compare this value against another value using the specified compare
mode.
|
int |
Value.compareTypeSave(Value v,
CompareMode mode)
Compare this value against another value given that the values are of the
same data type.
|
static Object |
DataType.convertTo(SessionInterface session,
JdbcConnection conn,
Value v,
Class<?> paramClass)
Convert a value to the specified class.
|
Value |
ValueTime.divide(Value v) |
Value |
ValueShort.divide(Value v) |
Value |
ValueLong.divide(Value v) |
Value |
ValueInt.divide(Value v) |
Value |
ValueFloat.divide(Value v) |
Value |
ValueDouble.divide(Value v) |
Value |
ValueDecimal.divide(Value v) |
Value |
ValueByte.divide(Value v) |
Value |
Value.divide(Value v)
Divide by a value and return the result.
|
static ValueArray |
ValueArray.get(Class<?> componentType,
Value[] list)
Get or create a array value for the given value array.
|
static ValueArray |
ValueArray.get(Value[] list)
Get or create a array value for the given value array.
|
Value |
ValueShort.modulus(Value v) |
Value |
ValueLong.modulus(Value v) |
Value |
ValueInt.modulus(Value v) |
Value |
ValueFloat.modulus(Value v) |
ValueDouble |
ValueDouble.modulus(Value v) |
ValueDecimal |
ValueDecimal.modulus(Value v) |
Value |
ValueByte.modulus(Value v) |
Value |
Value.modulus(Value v)
Take the modulus with a value and return the result.
|
Value |
ValueTime.multiply(Value v) |
Value |
ValueShort.multiply(Value v) |
Value |
ValueLong.multiply(Value v) |
Value |
ValueInt.multiply(Value v) |
Value |
ValueFloat.multiply(Value v) |
Value |
ValueDouble.multiply(Value v) |
Value |
ValueDecimal.multiply(Value v) |
Value |
ValueByte.multiply(Value v) |
Value |
Value.multiply(Value v)
Multiply with a value and return the result.
|
Value |
ValueTimestamp.subtract(Value v) |
Value |
ValueTime.subtract(Value v) |
Value |
ValueShort.subtract(Value v) |
Value |
ValueLong.subtract(Value v) |
Value |
ValueInt.subtract(Value v) |
Value |
ValueFloat.subtract(Value v) |
Value |
ValueDouble.subtract(Value v) |
Value |
ValueDecimal.subtract(Value v) |
Value |
ValueByte.subtract(Value v) |
Value |
Value.subtract(Value v)
Subtract a value and return the result.
|
void |
Transfer.writeValue(Value v)
Write a value.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.