|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Value | |
---|---|
org.h2.command | This package contains the parser and the base classes for prepared SQL statements. |
org.h2.command.dml | Contains DML (data manipulation language) and related SQL statements. |
org.h2.engine | Contains high level classes of the database and classes that don't fit in another sub-package. |
org.h2.expression | Expressions include mathematical operations, conditions, simple values, and functions. |
org.h2.index | Various table index implementations, as well as cursors to navigate in an index. |
org.h2.jdbc | Implementation of the JDBC API (package java.sql). |
org.h2.result | Implementation of row and internal result sets. |
org.h2.schema | Schema implementation and objects that are stored in a schema (for example, sequences and constants). |
org.h2.store | Storage abstractions, such as a file with a cache, or a class to convert values to a byte array and vice versa. |
org.h2.table | Classes related to a table and table meta data. |
org.h2.util | Internal utility classes. |
org.h2.value | Data type and value implementations. |
Uses of Value in org.h2.command |
---|
Methods in org.h2.command with parameters of type Value | |
---|---|
protected java.lang.String |
Prepared.getSQL(Value[] values)
Get the SQL snippet of the value list. |
Uses of Value in org.h2.command.dml |
---|
Methods in org.h2.command.dml that return Value | |
---|---|
Value[] |
Query.getParameterValues()
|
Value |
SelectListColumnResolver.getValue(Column column)
|
Methods in org.h2.command.dml with parameters of type Value | |
---|---|
void |
Insert.addRow(Value[] values)
|
Uses of Value in org.h2.engine |
---|
Methods in org.h2.engine that return Value | |
---|---|
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(java.lang.String name)
Get the value of the specified user defined variable. |
Methods in org.h2.engine with parameters of type Value | |
---|---|
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(java.lang.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. |
Uses of Value in org.h2.expression |
---|
Methods in org.h2.expression that return Value | |
---|---|
Value |
Parameter.getParamValue()
|
Value |
ParameterInterface.getParamValue()
Get the value of the parameter if set. |
Value |
ParameterRemote.getParamValue()
|
Value |
Aggregate.getValue(Session session)
|
Value |
Alias.getValue(Session session)
|
Value |
CompareLike.getValue(Session session)
|
Value |
Comparison.getValue(Session session)
|
Value |
ConditionAndOr.getValue(Session session)
|
Value |
ConditionExists.getValue(Session session)
|
Value |
ConditionIn.getValue(Session session)
|
Value |
ConditionInSelect.getValue(Session session)
|
Value |
ConditionNot.getValue(Session session)
|
abstract Value |
Expression.getValue(Session session)
Return the resulting value for the current row. |
Value |
ExpressionColumn.getValue(Session session)
|
Value |
ExpressionList.getValue(Session session)
|
Value |
Function.getValue(Session session)
|
Value |
FunctionCall.getValue(Session session)
Calculate the result. |
Value |
JavaAggregate.getValue(Session session)
|
Value |
JavaFunction.getValue(Session session)
|
Value |
Operation.getValue(Session session)
|
Value |
Parameter.getValue(Session session)
|
Value |
Rownum.getValue(Session session)
|
Value |
SequenceValue.getValue(Session session)
|
Value |
Subquery.getValue(Session session)
|
Value |
TableFunction.getValue(Session session)
|
Value |
ValueExpression.getValue(Session session)
|
Value |
Variable.getValue(Session session)
|
Value |
Wildcard.getValue(Session session)
|
Methods in org.h2.expression with parameters of type Value | |
---|---|
static ValueExpression |
ValueExpression.get(Value value)
Create a new expression with the given value. |
void |
Parameter.setValue(Value v)
|
void |
Parameter.setValue(Value v,
boolean closeOld)
|
void |
ParameterInterface.setValue(Value value,
boolean closeOld)
Set the value of the parameter. |
void |
ParameterRemote.setValue(Value newValue,
boolean closeOld)
|
Uses of Value in org.h2.index |
---|
Methods in org.h2.index that return Value | |
---|---|
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. |
Uses of Value in org.h2.jdbc |
---|
Methods in org.h2.jdbc that return Value | |
---|---|
Value |
JdbcConnection.createBlob(java.io.InputStream x,
long length)
Create a Blob value from this input stream. |
Value |
JdbcConnection.createClob(java.io.Reader x,
long length)
Create a Clob value from this reader. |
Constructors in org.h2.jdbc with parameters of type Value | |
---|---|
JdbcBlob(JdbcConnection conn,
Value value,
int id)
INTERNAL |
|
JdbcClob(JdbcConnection conn,
Value value,
int id)
INTERNAL |
Uses of Value in org.h2.result |
---|
Methods in org.h2.result that return Value | |
---|---|
Value[] |
LocalResult.currentRow()
|
Value[] |
ResultInterface.currentRow()
Get the current row. |
Value[] |
ResultRemote.currentRow()
|
Value |
Row.getValue(int i)
|
Value |
SearchRow.getValue(int index)
Get the value for the column |
Value |
SimpleRow.getValue(int i)
|
Value |
SimpleRowValue.getValue(int idx)
|
Value[] |
ResultExternal.next()
Get the next row from the result. |
Value[] |
ResultTempTable.next()
|
Value[] |
UpdatableRow.readRow(Value[] row)
Re-reads a row from the database and updates the values in the array. |
Methods in org.h2.result with parameters of type Value | |
---|---|
void |
LocalResult.addRow(Value[] values)
Add a row to this object. |
int |
ResultExternal.addRow(Value[] values)
Add a row to this object. |
void |
ResultTarget.addRow(Value[] values)
Add the row to the result set. |
int |
ResultTempTable.addRow(Value[] values)
|
int |
SortOrder.compare(Value[] a,
Value[] b)
Compare two expression lists. |
int |
SortOrder.compare(Value[] a,
Value[] b)
Compare two expression lists. |
boolean |
ResultExternal.contains(Value[] values)
Check if the given row exists in this object. |
boolean |
ResultTempTable.contains(Value[] values)
|
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 |
ResultExternal.removeRow(Value[] values)
Remove the row with the given values from this object if such a row exists. |
int |
ResultTempTable.removeRow(Value[] values)
|
void |
Row.setValue(int i,
Value v)
|
void |
SearchRow.setValue(int index,
Value v)
Set the value for given column |
void |
SimpleRow.setValue(int i,
Value v)
|
void |
SimpleRowValue.setValue(int idx,
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. |
Constructors in org.h2.result with parameters of type Value | |
---|---|
Row(Value[] data,
int memory)
|
|
SimpleRow(Value[] data)
|
Uses of Value in org.h2.schema |
---|
Methods in org.h2.schema with parameters of type Value | |
---|---|
void |
Constant.setValue(Value value)
|
Uses of Value in org.h2.store |
---|
Methods in org.h2.store that return Value | |
---|---|
Value |
LobStorage.createBlob(java.io.InputStream in,
long maxLength)
Create a BLOB object. |
Value |
LobStorage.createClob(java.io.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. |
Methods in org.h2.store with parameters of type Value | |
---|---|
int |
Data.getValueLen(Value v)
Calculate the number of bytes required to encode the given value. |
void |
Data.writeValue(Value v)
Append a value. |
Uses of Value in org.h2.table |
---|
Methods in org.h2.table that return Value | |
---|---|
Value |
Column.convert(Value v)
Convert a value to this column's type. |
Value |
Table.getDefaultValue(Session session,
Column column)
Get or generate a default value for the given column. |
Value |
TableLink.getDefaultValue(Session session,
Column column)
Get or generate a default value for the given column. |
Value |
ColumnResolver.getValue(Column column)
Get the value for the given column. |
Value |
SingleColumnResolver.getValue(Column col)
|
Value |
TableFilter.getValue(Column column)
|
Value |
Column.validateConvertUpdateSequence(Session session,
Value value)
Validate the value, convert it if required, and update the sequence value if required. |
Methods in org.h2.table with parameters of type Value | |
---|---|
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. |
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. |
Uses of Value in org.h2.util |
---|
Methods in org.h2.util that return Value | |
---|---|
static Value |
DateTimeUtils.convertDateToUniversal(java.sql.Date x,
java.util.Calendar source)
Convert the date from the specified time zone to UTC. |
static Value |
DateTimeUtils.convertTimestampToUniversal(java.sql.Timestamp x,
java.util.Calendar source)
Convert the timestamp from the specified time zone to UTC. |
static Value |
DateTimeUtils.convertTimeToUniversal(java.sql.Time x,
java.util.Calendar source)
Convert the time from the specified time zone to UTC. |
Methods in org.h2.util that return types with arguments of type Value | |
---|---|
java.util.ArrayList<Value> |
ValueHashMap.keys()
Get the list of keys. |
Methods in org.h2.util with parameters of type Value | |
---|---|
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. |
Uses of Value in org.h2.value |
---|
Subclasses of Value in org.h2.value | |
---|---|
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. |
Methods in org.h2.value that return Value | |
---|---|
Value |
Value.add(Value v)
Add a value and return the result. |
Value |
ValueByte.add(Value v)
|
Value |
ValueDecimal.add(Value v)
|
Value |
ValueDouble.add(Value v)
|
Value |
ValueFloat.add(Value v)
|
Value |
ValueInt.add(Value v)
|
Value |
ValueLong.add(Value v)
|
Value |
ValueShort.add(Value v)
|
Value |
Value.convertPrecision(long precision)
Convert the precision to the requested value. |
Value |
ValueDecimal.convertPrecision(long newPrecision)
|
Value |
ValueString.convertPrecision(long precision)
|
Value |
Value.convertScale(boolean onlyToSmallerScale,
int targetScale)
Convert the scale. |
Value |
ValueDecimal.convertScale(boolean onlyToSmallerScale,
int targetScale)
|
Value |
ValueTimestamp.convertScale(boolean onlyToSmallerScale,
int targetScale)
|
Value |
Value.convertTo(int targetType)
Compare a value to the specified type. |
Value |
ValueLob.convertTo(int t)
Convert a lob to another data type. |
Value |
ValueLobDb.convertTo(int t)
Convert a lob to another data type. |
Value |
ValueNull.convertTo(int type)
|
static Value |
DataType.convertToValue(SessionInterface session,
java.lang.Object x,
int type)
Convert a Java object to a value. |
Value |
Value.copyToTemp()
Copy this value to a temporary file if necessary. |
Value |
Value.divide(Value v)
Divide by a value and return the result. |
Value |
ValueByte.divide(Value v)
|
Value |
ValueDecimal.divide(Value v)
|
Value |
ValueDouble.divide(Value v)
|
Value |
ValueFloat.divide(Value v)
|
Value |
ValueInt.divide(Value v)
|
Value |
ValueLong.divide(Value v)
|
Value |
ValueShort.divide(Value v)
|
Value[] |
ValueArray.getList()
|
protected Value |
ValueString.getNew(java.lang.String s)
Create a new String value of the current class. |
protected Value |
ValueStringFixed.getNew(java.lang.String s)
|
protected Value |
ValueStringIgnoreCase.getNew(java.lang.String s)
|
Value |
Value.link(DataHandler handler,
int tableId)
Link a large value to a given table. |
Value |
ValueLob.link(DataHandler h,
int tabId)
|
Value |
ValueLobDb.link(DataHandler h,
int tabId)
|
Value |
Value.multiply(Value v)
Multiply with a value and return the result. |
Value |
ValueByte.multiply(Value v)
|
Value |
ValueDecimal.multiply(Value v)
|
Value |
ValueDouble.multiply(Value v)
|
Value |
ValueFloat.multiply(Value v)
|
Value |
ValueInt.multiply(Value v)
|
Value |
ValueLong.multiply(Value v)
|
Value |
ValueShort.multiply(Value v)
|
Value |
Value.negate()
Return -value if this value support arithmetic operations. |
Value |
ValueBoolean.negate()
|
Value |
ValueByte.negate()
|
Value |
ValueDecimal.negate()
|
Value |
ValueDouble.negate()
|
Value |
ValueFloat.negate()
|
Value |
ValueInt.negate()
|
Value |
ValueLong.negate()
|
Value |
ValueShort.negate()
|
Value |
Transfer.readValue()
Read a value. |
static Value |
DataType.readValue(SessionInterface session,
java.sql.ResultSet rs,
int columnIndex,
int type)
Read a value from the given result set. |
Value |
Value.subtract(Value v)
Subtract a value and return the result. |
Value |
ValueByte.subtract(Value v)
|
Value |
ValueDecimal.subtract(Value v)
|
Value |
ValueDouble.subtract(Value v)
|
Value |
ValueFloat.subtract(Value v)
|
Value |
ValueInt.subtract(Value v)
|
Value |
ValueLong.subtract(Value v)
|
Value |
ValueShort.subtract(Value v)
|
Methods in org.h2.value with parameters of type Value | |
---|---|
Value |
Value.add(Value v)
Add a value and return the result. |
Value |
ValueByte.add(Value v)
|
Value |
ValueDecimal.add(Value v)
|
Value |
ValueDouble.add(Value v)
|
Value |
ValueFloat.add(Value v)
|
Value |
ValueInt.add(Value v)
|
Value |
ValueLong.add(Value v)
|
Value |
ValueShort.add(Value v)
|
protected abstract int |
Value.compareSecure(Value v,
CompareMode mode)
Compare the value with another value of the same type. |
protected int |
ValueArray.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueBoolean.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueByte.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueBytes.compareSecure(Value v,
CompareMode mode)
|
protected int |
ValueDate.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueDecimal.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueDouble.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueFloat.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueInt.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueLob.compareSecure(Value v,
CompareMode mode)
|
protected int |
ValueLobDb.compareSecure(Value v,
CompareMode mode)
|
protected int |
ValueLong.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueNull.compareSecure(Value v,
CompareMode mode)
|
protected int |
ValueResultSet.compareSecure(Value v,
CompareMode mode)
|
protected int |
ValueShort.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueString.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueStringIgnoreCase.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueTime.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueTimestamp.compareSecure(Value o,
CompareMode mode)
|
protected int |
ValueUuid.compareSecure(Value o,
CompareMode mode)
|
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 java.lang.Object |
DataType.convertTo(SessionInterface session,
JdbcConnection conn,
Value v,
java.lang.Class<?> paramClass)
Convert a value to the specified class. |
Value |
Value.divide(Value v)
Divide by a value and return the result. |
Value |
ValueByte.divide(Value v)
|
Value |
ValueDecimal.divide(Value v)
|
Value |
ValueDouble.divide(Value v)
|
Value |
ValueFloat.divide(Value v)
|
Value |
ValueInt.divide(Value v)
|
Value |
ValueLong.divide(Value v)
|
Value |
ValueShort.divide(Value v)
|
static ValueArray |
ValueArray.get(Value[] list)
Get or create a array value for the given value array. |
Value |
Value.multiply(Value v)
Multiply with a value and return the result. |
Value |
ValueByte.multiply(Value v)
|
Value |
ValueDecimal.multiply(Value v)
|
Value |
ValueDouble.multiply(Value v)
|
Value |
ValueFloat.multiply(Value v)
|
Value |
ValueInt.multiply(Value v)
|
Value |
ValueLong.multiply(Value v)
|
Value |
ValueShort.multiply(Value v)
|
Value |
Value.subtract(Value v)
Subtract a value and return the result. |
Value |
ValueByte.subtract(Value v)
|
Value |
ValueDecimal.subtract(Value v)
|
Value |
ValueDouble.subtract(Value v)
|
Value |
ValueFloat.subtract(Value v)
|
Value |
ValueInt.subtract(Value v)
|
Value |
ValueLong.subtract(Value v)
|
Value |
ValueShort.subtract(Value v)
|
void |
Transfer.writeValue(Value v)
Write a value. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |