Uses of Class
org.h2.value.Value
-
Packages that use Value Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.command.query Contains queries.org.h2.constraint Database constraints such as check constraints, unique constraints, and referential constraints.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, simple values, and others.org.h2.expression.aggregate Aggregate functions.org.h2.expression.analysis Base classes for data analysis operations and implementations of window functions.org.h2.expression.condition Condition expressions.org.h2.expression.function 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.jdbc.meta Implementation of the JDBC database metadata API (package java.sql).org.h2.mode Utility classes for compatibility with other database, for example MySQL.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.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.server.pg PostgreSQL server implementation of this database.org.h2.table Classes related to a table and table meta data.org.h2.tools Various tools.org.h2.util Internal utility classes.org.h2.util.json Internal utility classes for JSON data type.org.h2.value Data type and value implementations. -
-
Uses of Value in org.h2.command
Fields in org.h2.command declared as Value Modifier and Type Field Description (package private) Value
Token.LiteralToken. value
Methods in org.h2.command that return Value Modifier and Type Method Description (package private) Value
Token.BigintToken. value(CastDataProvider provider)
(package private) Value
Token.BinaryStringToken. value(CastDataProvider provider)
(package private) Value
Token.CharacterStringToken. value(CastDataProvider provider)
(package private) Value
Token.IntegerToken. value(CastDataProvider provider)
(package private) Value
Token. value(CastDataProvider provider)
(package private) Value
Token.ValueToken. value(CastDataProvider provider)
Methods in org.h2.command with parameters of type Value Modifier and Type Method Description void
CommandContainer.GeneratedKeysCollector. addRow(Value... values)
Method parameters in org.h2.command with type arguments of type Value Modifier and Type Method Description private static Prepared
Parser. prepare(SessionLocal s, java.lang.String sql, java.util.ArrayList<Value> paramValues)
Constructors in org.h2.command with parameters of type Value Constructor Description ValueToken(int start, Value value)
-
Uses of Value in org.h2.command.ddl
Methods in org.h2.command.ddl with parameters of type Value Modifier and Type Method Description (package private) void
Analyze.SelectivityData. add(Value v)
-
Uses of Value in org.h2.command.dml
Fields in org.h2.command.dml declared as Value Modifier and Type Field Description private Value[]
Insert. onDuplicateKeyRow
(package private) Value[]
SetClauseList.RowExpression. values
Methods in org.h2.command.dml that return Value Modifier and Type Method Description Value
Insert. getOnDuplicateKeyValue(int columnIndex)
Get the value to use for the specified column in case of a duplicate key.(package private) Value
SetClauseList.SetMultiple. update(SessionLocal session)
(package private) Value
SetClauseList.SetSimple. update(SessionLocal session)
(package private) Value
SetClauseList.UpdateAction. update(SessionLocal session)
Methods in org.h2.command.dml with parameters of type Value Modifier and Type Method Description void
Insert. addRow(Value... values)
private boolean
Insert. handleOnDuplicate(DbException de, Value[] currentRow)
private static TimeZoneProvider
Set. parseTimeZone(Value v)
private int
ScriptCommand. writeLobStream(Value v)
-
Uses of Value in org.h2.command.query
Fields in org.h2.command.query declared as Value Modifier and Type Field Description (package private) Value[]
TableValueConstructor.TableValueColumnResolver. currentRow
private Value[]
Query. lastParameters
private Value[]
Select.LazyResultGroupSorted. previousKeyValues
Fields in org.h2.command.query with type parameters of type Value Modifier and Type Field Description private java.util.HashMap<DataAnalysisOperation,java.util.TreeMap<Value,PartitionData>>
SelectGroups. windowPartitionData
Maps an partitioned window expression object to its data.Methods in org.h2.command.query that return Value Modifier and Type Method Description private Value[]
Select. constructGroupResultRow(Value[] keyValues, int columnCount)
private Value[]
SelectUnion. convert(Value[] values, int columnCount)
(package private) Value[]
Select. createGroupSortedRow(Value[] keyValues, int columnCount)
Create a row with the current values, for queries with group-sort.protected Value[]
Select.LazyResultGroupSorted. fetchNextRow()
protected Value[]
Select.LazyResultQueryFlat. fetchNextRow()
protected Value[]
SelectUnion.LazyResultUnion. fetchNextRow()
private Value[]
Query. getParameterValues()
Value
SelectListColumnResolver. getValue(Column column)
Value
TableValueConstructor.TableValueColumnResolver. getValue(Column column)
private Value[]
Select. rowForResult(Value[] row, int columnCount)
Removes HAVING and QUALIFY columns from the row.Methods in org.h2.command.query with parameters of type Value Modifier and Type Method Description private Value[]
Select. constructGroupResultRow(Value[] keyValues, int columnCount)
private Value[]
SelectUnion. convert(Value[] values, int columnCount)
(package private) Value[]
Select. createGroupSortedRow(Value[] keyValues, int columnCount)
Create a row with the current values, for queries with group-sort.PartitionData
SelectGroups. getWindowExprData(DataAnalysisOperation expr, Value partitionKey)
Get the window data for the specified expression.private boolean
Select. isHavingNullOrFalse(Value[] row)
private Value[]
Select. rowForResult(Value[] row, int columnCount)
Removes HAVING and QUALIFY columns from the row.private boolean
Query. sameResultAsLast(Value[] params, Value[] lastParams, long lastEval)
void
SelectGroups. setWindowExprData(DataAnalysisOperation expr, Value partitionKey, PartitionData obj)
Set the window data for the specified expression. -
Uses of Value in org.h2.constraint
Fields in org.h2.constraint declared as Value Modifier and Type Field Description private Value
DomainColumnResolver. value
Methods in org.h2.constraint that return Value Modifier and Type Method Description Value
DomainColumnResolver. getValue(Column col)
Methods in org.h2.constraint with parameters of type Value Modifier and Type Method Description void
ConstraintDomain. check(SessionLocal session, Value value)
Check the specified value.void
DomainColumnResolver. setValue(Value value)
-
Uses of Value in org.h2.engine
Fields in org.h2.engine declared as Value Modifier and Type Field Description private Value
SessionLocal. lastIdentity
(package private) Value
SessionLocal.RowNumberAndValue. nextValue
Fields in org.h2.engine with type parameters of type Value Modifier and Type Field Description private java.util.WeakHashMap<Sequence,Value>
SessionLocal. currentValueFor
private java.util.HashMap<java.lang.String,Value>
SessionLocal. variables
Methods in org.h2.engine that return Value Modifier and Type Method Description Value
SessionLocal. getCurrentValueFor(Sequence sequence)
Returns the current value of the sequence in this session.Value
SessionLocal. getLastIdentity()
Value
SessionLocal. getNextValueFor(Sequence sequence, Prepared prepared)
Returns the next value of the sequence in this session.Value
SessionLocal. getTransactionId()
Value
SessionLocal. getVariable(java.lang.String name)
Get the value of the specified user defined variable.Methods in org.h2.engine with parameters of type Value Modifier and Type Method Description boolean
SessionLocal. areEqual(Value a, Value b)
Check if two values are equal with the current comparison mode.int
SessionLocal. compare(Value a, Value b)
Compare two values with the current comparison mode.int
SessionLocal. compareTypeSafe(Value a, Value b)
Compare two values with the current comparison mode.int
SessionLocal. compareWithNull(Value a, Value b, boolean forEquality)
Compare two values with the current comparison mode.void
SessionLocal. setLastIdentity(Value last)
void
SessionLocal. setVariable(java.lang.String name, Value value)
Set the value of the given variable for this session.Constructors in org.h2.engine with parameters of type Value Constructor Description RowNumberAndValue(long rowNumber, Value nextValue)
-
Uses of Value in org.h2.expression
Fields in org.h2.expression declared as Value Modifier and Type Field Description private Value
Variable. lastValue
private Value
Subquery. nullValue
private Value
Parameter. value
private Value
ParameterRemote. value
(package private) Value
ValueExpression. value
The value.Methods in org.h2.expression that return Value Modifier and Type Method Description private Value
IntervalOperation. getDateTimeWithInterval(SessionLocal session, Value l, Value r, int lType, int rType)
Value
Parameter. getParamValue()
Value
ParameterInterface. getParamValue()
Get the value of the parameter if set.Value
ParameterRemote. getParamValue()
Value
Alias. getValue(SessionLocal session)
Value
ArrayConstructorByQuery. getValue(SessionLocal session)
Value
ArrayElementReference. getValue(SessionLocal session)
Value
BinaryOperation. getValue(SessionLocal session)
Value
CompatibilityDatePlusTimeOperation. getValue(SessionLocal session)
Value
ConcatenationOperation. getValue(SessionLocal session)
private Value
ConcatenationOperation. getValue(SessionLocal session, int l)
private Value
ConcatenationOperation. getValue(SessionLocal session, Value l, Value r)
Value
DomainValueExpression. getValue(SessionLocal session)
abstract Value
Expression. getValue(SessionLocal session)
Return the resulting value for the current row.Value
ExpressionColumn. getValue(SessionLocal session)
Value
ExpressionList. getValue(SessionLocal session)
Value
FieldReference. getValue(SessionLocal session)
Value
Format. getValue(SessionLocal session)
Value
Format. getValue(Value value)
Returns the value with applied format.Value
IntervalOperation. getValue(SessionLocal session)
Value
Parameter. getValue(SessionLocal session)
Value
Rownum. getValue(SessionLocal session)
Value
SearchedCase. getValue(SessionLocal session)
Value
SequenceValue. getValue(SessionLocal session)
Value
SimpleCase. getValue(SessionLocal session)
Value
Subquery. getValue(SessionLocal session)
Value
TimeZoneOperation. getValue(SessionLocal session)
Value
UnaryOperation. getValue(SessionLocal session)
Value
ValueExpression. getValue(SessionLocal session)
Value
Variable. getValue(SessionLocal session)
Value
Wildcard. getValue(SessionLocal session)
private Value
Subquery. readRow(ResultInterface result)
Methods in org.h2.expression that return types with arguments of type Value Modifier and Type Method Description java.util.ArrayList<Value>
Subquery. getAllRows(SessionLocal session)
Evaluates and returns all rows of the subquery.Methods in org.h2.expression with parameters of type Value Modifier and Type Method Description static ValueExpression
TypedValueExpression. get(Value value, TypeInfo type)
Create a new expression with the given value and type.static ValueExpression
ValueExpression. get(Value value)
Create a new expression with the given value.static ValueExpression
ValueExpression. getBoolean(Value value)
Create a new expression with the given boolean value.private Value
IntervalOperation. getDateTimeWithInterval(SessionLocal session, Value l, Value r, int lType, int rType)
private static ValueExpression
TypedValueExpression. getImpl(Value value, TypeInfo type, boolean preserveStrictType)
private long
IntervalOperation. getTimeWithInterval(Value r, long nanos)
static ValueExpression
TypedValueExpression. getTypedIfNull(Value value, TypeInfo type)
Create a new typed value expression with the given value and type if value isNULL
, or a plain value expression otherwise.private Value
ConcatenationOperation. getValue(SessionLocal session, Value l, Value r)
Value
Format. getValue(Value value)
Returns the value with applied format.boolean
Expression. getWhenValue(SessionLocal session, Value left)
Return the resulting value of when operand for the current row.private static boolean
ConcatenationOperation. isEmpty(Value v)
private static java.math.BigInteger
IntervalOperation. nanosFromValue(SessionLocal session, Value v)
static int
TimeZoneOperation. parseInterval(Value interval)
Parses a daytime interval as time zone offset.private static int
TimeZoneOperation. parseTimeZone(Value b, long dateValue, long timeNanos, int offsetSeconds, boolean allowTimeZoneName)
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)
Constructors in org.h2.expression with parameters of type Value Constructor Description TypedValueExpression(Value value, TypeInfo type)
ValueExpression(Value value)
-
Uses of Value in org.h2.expression.aggregate
Fields in org.h2.expression.aggregate declared as Value Modifier and Type Field Description private Value
AggregateDataCollecting. shared
private Value
AggregateDataDefault. value
Fields in org.h2.expression.aggregate with type parameters of type Value Modifier and Type Field Description (package private) java.util.Collection<Value>
AggregateDataCollecting. values
private java.util.TreeMap<Value,LongDataCounter>
AggregateDataDistinctWithCounts. values
Methods in org.h2.expression.aggregate that return Value Modifier and Type Method Description private static Value
Aggregate. collect(SessionLocal session, AggregateDataCollecting c, AggregateData d)
Value
Aggregate. getAggregatedValue(SessionLocal session, java.lang.Object aggregateData)
Value
JavaAggregate. getAggregatedValue(SessionLocal session, java.lang.Object aggregateData)
(package private) Value[]
AggregateDataCollecting. getArray()
Returns array with values ornull
.private static Value
Aggregate. getCumeDist(Value[] ordered, Value arg, java.util.Comparator<Value> sort)
(package private) static Value
Percentile. getFromIndex(SessionLocal session, Expression expression, int dataType, java.util.ArrayList<QueryOrderBy> orderByList, java.math.BigDecimal percentile, boolean interpolate)
Get the result from the index.private Value
Aggregate. getHistogram(SessionLocal session, AggregateData data)
private Value
Aggregate. getHypotheticalSet(SessionLocal session, AggregateData data)
private Value
Aggregate. getListagg(SessionLocal session, AggregateData data)
private Value
Aggregate. getMode(SessionLocal session, AggregateData data)
private Value
Aggregate. getRank(Value[] ordered, Value arg, java.util.Comparator<Value> sort)
private Value
Aggregate. getSecondValue(SessionLocal session, Value[] remembered)
(package private) Value
AggregateDataCollecting. getSharedArgument()
Returns value of a shared argument.Value
Aggregate. getValue(SessionLocal session)
(package private) abstract Value
AggregateData. getValue(SessionLocal session)
Get the aggregate result.(package private) Value
AggregateDataAvg. getValue(SessionLocal session)
(package private) Value
AggregateDataCollecting. getValue(SessionLocal session)
(package private) Value
AggregateDataCorr. getValue(SessionLocal session)
(package private) Value
AggregateDataCount. getValue(SessionLocal session)
(package private) Value
AggregateDataCovar. getValue(SessionLocal session)
(package private) Value
AggregateDataDefault. getValue(SessionLocal session)
(package private) Value
AggregateDataDistinctWithCounts. getValue(SessionLocal session)
(package private) Value
AggregateDataEnvelope. getValue(SessionLocal session)
(package private) Value
AggregateDataStdVar. getValue(SessionLocal session)
(package private) static Value
Percentile. getValue(SessionLocal session, Value[] array, int dataType, java.util.ArrayList<QueryOrderBy> orderByList, java.math.BigDecimal percentile, boolean interpolate)
Get the result from the array of values.private Value
Aggregate. getValueQuick(SessionLocal session)
private static Value
Percentile. interpolate(Value v0, Value v1, java.math.BigDecimal factor, int dataType, SessionLocal session, CompareMode compareMode)
private Value
Aggregate. updateCollecting(SessionLocal session, Value v, Value[] remembered)
Methods in org.h2.expression.aggregate that return types with arguments of type Value Modifier and Type Method Description (package private) java.util.TreeMap<Value,LongDataCounter>
AggregateDataDistinctWithCounts. getValues()
Returns map with values and their counts.java.util.Iterator<Value>
AggregateDataCollecting. iterator()
Methods in org.h2.expression.aggregate with parameters of type Value Modifier and Type Method Description (package private) abstract void
AggregateData. add(SessionLocal session, Value v)
Add a value to this aggregate.(package private) void
AggregateDataAvg. add(SessionLocal session, Value v)
(package private) void
AggregateDataBinarySet. add(SessionLocal session, Value v)
(package private) abstract void
AggregateDataBinarySet. add(SessionLocal session, Value yValue, Value xValue)
(package private) void
AggregateDataCollecting. add(SessionLocal session, Value v)
(package private) void
AggregateDataCorr. add(SessionLocal session, Value yValue, Value xValue)
(package private) void
AggregateDataCount. add(SessionLocal session, Value v)
(package private) void
AggregateDataCovar. add(SessionLocal session, Value yValue, Value xValue)
(package private) void
AggregateDataDefault. add(SessionLocal session, Value v)
(package private) void
AggregateDataDistinctWithCounts. add(SessionLocal session, Value v)
(package private) void
AggregateDataEnvelope. add(SessionLocal session, Value v)
(package private) void
AggregateDataStdVar. add(SessionLocal session, Value v)
private static Value
Aggregate. getCumeDist(Value[] ordered, Value arg, java.util.Comparator<Value> sort)
private java.lang.StringBuilder
Aggregate. getListaggError(Value[] array, java.lang.String separator)
private java.lang.String
Aggregate. getListaggItem(Value v)
private java.lang.StringBuilder
Aggregate. getListaggTruncate(Value[] array, java.lang.String separator, java.lang.String filter, boolean withoutCount)
private Value
Aggregate. getRank(Value[] ordered, Value arg, java.util.Comparator<Value> sort)
private Value
Aggregate. getSecondValue(SessionLocal session, Value[] remembered)
(package private) static Value
Percentile. getValue(SessionLocal session, Value[] array, int dataType, java.util.ArrayList<QueryOrderBy> orderByList, java.math.BigDecimal percentile, boolean interpolate)
Get the result from the array of values.private static Value
Percentile. interpolate(Value v0, Value v1, java.math.BigDecimal factor, int dataType, SessionLocal session, CompareMode compareMode)
private boolean
AggregateDataCollecting. isNull(Value v)
private int
AbstractAggregate. processGroup(java.util.HashMap<java.lang.Integer,Value> result, Value r, java.util.ArrayList<Value[]> ordered, int rowIdColumn, int i, int size, boolean grouped)
protected void
Aggregate. rememberExpressions(SessionLocal session, Value[] array)
protected void
JavaAggregate. rememberExpressions(SessionLocal session, Value[] array)
(package private) void
AggregateDataCollecting. setSharedArgument(Value shared)
Sets value of a shared argument.private void
Aggregate. sortWithOrderBy(Value[] array)
private Value
Aggregate. updateCollecting(SessionLocal session, Value v, Value[] remembered)
private void
Aggregate. updateData(SessionLocal session, AggregateData data, Value v, Value[] remembered)
private void
JavaAggregate. updateData(SessionLocal session, java.lang.Object aggregateData, Value[] remembered)
protected abstract void
AbstractAggregate. updateFromExpressions(SessionLocal session, java.lang.Object aggregateData, Value[] array)
Updates the provided aggregate data from the remembered expressions.protected void
Aggregate. updateFromExpressions(SessionLocal session, java.lang.Object aggregateData, Value[] array)
protected void
JavaAggregate. updateFromExpressions(SessionLocal session, java.lang.Object aggregateData, Value[] array)
Method parameters in org.h2.expression.aggregate with type arguments of type Value Modifier and Type Method Description private void
AbstractAggregate. aggregateFastPartition(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped)
private void
AbstractAggregate. aggregateFastPartitionInReverse(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped)
private void
AbstractAggregate. aggregateWholePartition(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
private static Value
Aggregate. getCumeDist(Value[] ordered, Value arg, java.util.Comparator<Value> sort)
protected void
AbstractAggregate. getOrderedResultLoop(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
private Value
Aggregate. getRank(Value[] ordered, Value arg, java.util.Comparator<Value> sort)
private int
AbstractAggregate. processGroup(java.util.HashMap<java.lang.Integer,Value> result, Value r, java.util.ArrayList<Value[]> ordered, int rowIdColumn, int i, int size, boolean grouped)
-
Uses of Value in org.h2.expression.analysis
Fields in org.h2.expression.analysis declared as Value Modifier and Type Field Description private Value
PartitionData. result
Evaluated result.Fields in org.h2.expression.analysis with type parameters of type Value Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,Value>
PartitionData. orderedResult
Evaluated ordered result.Methods in org.h2.expression.analysis that return Value Modifier and Type Method Description protected abstract Value
DataAnalysisOperation. getAggregatedValue(SessionLocal session, java.lang.Object aggregateData)
Returns aggregated value.protected Value
WindowFunction. getAggregatedValue(SessionLocal session, java.lang.Object aggregateData)
private static Value[]
WindowFrame. getCompareRow(SessionLocal session, java.util.ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, WindowFrameBound bound, boolean add)
Appends bound value to the current row and produces row for comparison operations.Value
Window. getCurrentKey(SessionLocal session)
Returns the key for the current group.private static Value
WindowFunction. getNthValue(java.util.Iterator<Value[]> iterator, int number, boolean ignoreNulls)
private Value
DataAnalysisOperation. getOrderedResult(SessionLocal session, SelectGroups groupData, PartitionData partition, java.lang.Object data)
(package private) Value
PartitionData. getResult()
Returns the result.Value
DataAnalysisOperation. getValue(SessionLocal session)
private static Value
WindowFrame. getValueOffset(WindowFrameBound bound, Value[] values, SessionLocal session)
private Value
DataAnalysisOperation. getWindowResult(SessionLocal session, SelectGroups groupData)
Returns result of this window function or window aggregate.Value[]
WindowFrame.BiItr. next()
Value[]
WindowFrame.BiReverseItr. next()
Value[]
WindowFrame.PlainItr. next()
Value[]
WindowFrame.PlainReverseItr. next()
Value[]
WindowFrame.TriItr. next()
Value[]
WindowFrame.TriReverseItr. next()
Methods in org.h2.expression.analysis that return types with arguments of type Value Modifier and Type Method Description (package private) java.util.HashMap<java.lang.Integer,Value>
PartitionData. getOrderedResult()
Returns the ordered result.Methods in org.h2.expression.analysis with parameters of type Value Modifier and Type Method Description private static int
WindowFrame. getIntOffset(WindowFrameBound bound, Value[] values, SessionLocal session)
private static Value
WindowFrame. getValueOffset(WindowFrameBound bound, Value[] values, SessionLocal session)
protected abstract void
DataAnalysisOperation. rememberExpressions(SessionLocal session, Value[] array)
Stores current values of expressions into the specified array.protected void
WindowFunction. rememberExpressions(SessionLocal session, Value[] array)
(package private) void
PartitionData. setResult(Value result)
Sets the result.Method parameters in org.h2.expression.analysis with type arguments of type Value Modifier and Type Method Description private void
WindowFunction. getCumeDist(java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> orderedData, int rowIdColumn)
private void
WindowFunction. getLeadLag(java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn, SessionLocal session)
private void
WindowFunction. getNth(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
private static void
WindowFunction. getNtile(java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> orderedData, int rowIdColumn)
protected abstract void
DataAnalysisOperation. getOrderedResultLoop(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
Returns result of this window function or window aggregate.protected void
WindowFunction. getOrderedResultLoop(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
private void
WindowFunction. getRank(java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
private static void
WindowFunction. getRatioToReport(java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
(package private) void
PartitionData. setOrderedResult(java.util.HashMap<java.lang.Integer,Value> orderedResult)
Sets the ordered result. -
Uses of Value in org.h2.expression.condition
Fields in org.h2.expression.condition with type parameters of type Value Modifier and Type Field Description private java.util.TreeSet<Value>
ConditionInConstantSet. valueSet
Methods in org.h2.expression.condition that return Value Modifier and Type Method Description (package private) static Value
Comparison. compare(SessionLocal session, Value l, Value r, int compareType)
Compare two values.private Value
ConditionInQuery. getNullSafeValueSlow(SessionLocal session, ResultInterface rows, Value l)
Value
BetweenPredicate. getValue(SessionLocal session)
private Value
BetweenPredicate. getValue(SessionLocal session, Value value, Value aValue, Value bValue)
Value
BooleanTest. getValue(SessionLocal session)
Value
CompareLike. getValue(SessionLocal session)
private Value
CompareLike. getValue(SessionLocal session, Value left)
Value
Comparison. getValue(SessionLocal session)
Value
ConditionAndOr. getValue(SessionLocal session)
Value
ConditionAndOrN. getValue(SessionLocal session)
Value
ConditionIn. getValue(SessionLocal session)
private Value
ConditionIn. getValue(SessionLocal session, Value left)
Value
ConditionInConstantSet. getValue(SessionLocal session)
private Value
ConditionInConstantSet. getValue(Value left, SessionLocal session)
Value
ConditionInParameter. getValue(SessionLocal session)
(package private) static Value
ConditionInParameter. getValue(SessionLocal session, Value l, boolean not, Value value)
Gets evaluated condition value.Value
ConditionInQuery. getValue(SessionLocal session)
private Value
ConditionInQuery. getValue(SessionLocal session, Value left)
Value
ConditionLocalAndGlobal. getValue(SessionLocal session)
Value
ConditionNot. getValue(SessionLocal session)
Value
ExistsPredicate. getValue(SessionLocal session)
Value
IsJsonPredicate. getValue(SessionLocal session)
Value
NullPredicate. getValue(SessionLocal session)
Value
TypePredicate. getValue(SessionLocal session)
Value
UniquePredicate. getValue(SessionLocal session)
private Value
ConditionInQuery. getValueSlow(SessionLocal session, ResultInterface rows, Value l)
Methods in org.h2.expression.condition with parameters of type Value Modifier and Type Method Description private void
ConditionInConstantSet. add(Value v, SessionLocal session)
void
UniquePredicate.Target. addRow(Value... values)
(package private) static Value
Comparison. compare(SessionLocal session, Value l, Value r, int compareType)
Compare two values.private java.lang.Character
CompareLike. getEscapeChar(Value e)
private Value
ConditionInQuery. getNullSafeValueSlow(SessionLocal session, ResultInterface rows, Value l)
private Value
BetweenPredicate. getValue(SessionLocal session, Value value, Value aValue, Value bValue)
private boolean
BooleanTest. getValue(Value left)
private Value
CompareLike. getValue(SessionLocal session, Value left)
private Value
ConditionIn. getValue(SessionLocal session, Value left)
private Value
ConditionInConstantSet. getValue(Value left, SessionLocal session)
(package private) static Value
ConditionInParameter. getValue(SessionLocal session, Value l, boolean not, Value value)
Gets evaluated condition value.private Value
ConditionInQuery. getValue(SessionLocal session, Value left)
private boolean
IsJsonPredicate. getValue(Value left)
private boolean
NullPredicate. getValue(Value left)
private Value
ConditionInQuery. getValueSlow(SessionLocal session, ResultInterface rows, Value l)
boolean
BetweenPredicate. getWhenValue(SessionLocal session, Value left)
boolean
BooleanTest. getWhenValue(SessionLocal session, Value left)
boolean
CompareLike. getWhenValue(SessionLocal session, Value left)
boolean
Comparison. getWhenValue(SessionLocal session, Value left)
boolean
ConditionIn. getWhenValue(SessionLocal session, Value left)
boolean
ConditionInConstantSet. getWhenValue(SessionLocal session, Value left)
boolean
ConditionInParameter. getWhenValue(SessionLocal session, Value left)
boolean
ConditionInQuery. getWhenValue(SessionLocal session, Value left)
boolean
IsJsonPredicate. getWhenValue(SessionLocal session, Value left)
boolean
NullPredicate. getWhenValue(SessionLocal session, Value left)
boolean
TypePredicate. getWhenValue(SessionLocal session, Value left)
private static Expression
ConditionAndOr. optimizeConstant(SessionLocal session, int andOrType, Value l, Expression right)
-
Uses of Value in org.h2.expression.function
Methods in org.h2.expression.function that return Value Modifier and Type Method Description private static Value
DateTimeFunction. addToTimeZone(int field, long count, Value v, int type, long dateValue, long timeNanos)
private static Value
DateTimeFunction. addYearsMonths(int field, boolean years, long count, Value v, int type, long dateValue, long timeNanos)
static Value
DateTimeFunction. dateadd(SessionLocal session, int field, long count, Value v)
DATEADD function.private static Value
BitFunction. getBinaryString(int function, TypeInfo type, Value v1, Value v2)
static Value
BitFunction. getBitwise(int function, TypeInfo type, Value v1, Value v2)
Computes the value of bitwise function.private static Value
HashFunction. getHash(java.lang.String algorithm, Value value, int iterations)
private static Value
BitFunction. getNumeric(int function, TypeInfo type, Value v1, Value v2)
Value
ArrayFunction. getValue(SessionLocal session)
Value
BitFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
CardinalityExpression. getValue(SessionLocal session)
Value
CastSpecification. getValue(SessionLocal session)
Value
CoalesceFunction. getValue(SessionLocal session)
Value
CompatibilitySequenceValueFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
CompressFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
ConcatFunction. getValue(SessionLocal session)
Value
CryptFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
CSVWriteFunction. getValue(SessionLocal session)
Value
CurrentDateTimeValueFunction. getValue(SessionLocal session)
Value
CurrentGeneralValueSpecification. getValue(SessionLocal session)
Value
DataTypeSQLFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
DateTimeFormatFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
DateTimeFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
DayMonthNameFunction. getValue(SessionLocal session)
Value
DBObjectFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
FileFunction. getValue(SessionLocal session)
Value
Function1_2. getValue(SessionLocal session)
protected Value
Function1_2. getValue(SessionLocal session, Value v1, Value v2)
Returns the value of this function.Value
Function2. getValue(SessionLocal session)
protected Value
Function2. getValue(SessionLocal session, Value v1, Value v2)
Returns the value of this function.Value
FunctionN. getValue(SessionLocal session)
protected Value
FunctionN. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Returns the value of this function.Value
HashFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
JavaFunction. getValue(SessionLocal session)
Value
JsonConstructorFunction. getValue(SessionLocal session)
Value
LengthFunction. getValue(SessionLocal session)
Value
MathFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
MathFunction1. getValue(SessionLocal session)
Value
MathFunction2. getValue(SessionLocal session, Value v1, Value v2)
Value
NullIfFunction. getValue(SessionLocal session)
Value
RandFunction. getValue(SessionLocal session)
Value
RegexpFunction. getValue(SessionLocal session)
Value
SessionControlFunction. getValue(SessionLocal session)
Value
SetFunction. getValue(SessionLocal session)
Value
SignalFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
SoundexFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
StringFunction. getValue(SessionLocal session)
Value
StringFunction1. getValue(SessionLocal session)
Value
StringFunction2. getValue(SessionLocal session, Value v1, Value v2)
Value
SubstringFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
SysInfoFunction. getValue(SessionLocal session)
Value
TableInfoFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
ToCharFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
TrimFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
TruncateValueFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
XMLFunction. getValue(SessionLocal session)
protected Value
XMLFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
private static Value
StringFunction1. hexToRaw(java.lang.String s, SessionLocal session)
private Value
JsonConstructorFunction. jsonArray(SessionLocal session, Expression[] args)
private Value
JsonConstructorFunction. jsonObject(SessionLocal session, Expression[] args)
private static Value
HashFunction. oraHash(Value value, long bucket, long seed)
private static Value
RegexpFunction. regexpReplace(SessionLocal session, java.lang.String input, java.lang.String regexp, java.lang.String replacement, int position, int occurrence, java.lang.String regexpMode)
private static Value
RegexpFunction. regexpSubstr(Value inputString, Value regexpArg, Value positionArg, Value occurrenceArg, Value regexpModeArg, Value subexpressionArg, SessionLocal session)
private static Value
BitFunction. rotate(Value v1, long offset, boolean right)
private Value
MathFunction. round(Value v1, Value v2, java.math.RoundingMode roundingMode)
private static Value
BitFunction. shift(Value v1, long offset, boolean unsigned)
private static Value
DateTimeFunction. truncateDate(SessionLocal session, int field, Value value)
Truncate the given date-time value to the specified field.private Value
XMLFunction. xmlNode(SessionLocal session)
Methods in org.h2.expression.function with parameters of type Value Modifier and Type Method Description private static Value
DateTimeFunction. addToTimeZone(int field, long count, Value v, int type, long dateValue, long timeNanos)
private static Value
DateTimeFunction. addYearsMonths(int field, boolean years, long count, Value v, int type, long dateValue, long timeNanos)
private static ValueBigint
BitFunction. bitCount(Value v1)
private static ValueBoolean
BitFunction. bitGet(Value v1, Value v2)
static Value
DateTimeFunction. dateadd(SessionLocal session, int field, long count, Value v)
DATEADD function.private static long
DateTimeFunction. datediff(SessionLocal session, int field, Value v1, Value v2)
Calculate the number of crossed unit boundaries between two timestamps.(package private) static int
DateTimeFunction. extractDateTime(SessionLocal session, Value date, int field)
private static ValueNumeric
DateTimeFunction. extractEpoch(SessionLocal session, Value value)
private static int
DateTimeFunction. extractInteger(SessionLocal session, Value date, int field)
Get the specified field of a date, however with years normalized to positive or negative, and month starting with 1.private static int
DateTimeFunction. extractInterval(Value date, int field)
static java.lang.String
DateTimeFormatFunction. formatDateTime(SessionLocal session, Value date, java.lang.String format, java.lang.String locale, java.lang.String timeZone)
Formats a date using a format string.private static Value
BitFunction. getBinaryString(int function, TypeInfo type, Value v1, Value v2)
static Value
BitFunction. getBitwise(int function, TypeInfo type, Value v1, Value v2)
Computes the value of bitwise function.private static Value
HashFunction. getHash(java.lang.String algorithm, Value value, int iterations)
private static Value
BitFunction. getNumeric(int function, TypeInfo type, Value v1, Value v2)
private static java.lang.String
ToCharFunction. getTimeZone(SessionLocal session, Value value, boolean tzd)
Returns time zone display name or ID for the specified date-time value.Value
BitFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
CompatibilitySequenceValueFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
CompressFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
CryptFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
DataTypeSQLFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
DateTimeFormatFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
DateTimeFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
DBObjectFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
protected Value
Function1_2. getValue(SessionLocal session, Value v1, Value v2)
Returns the value of this function.protected Value
Function2. getValue(SessionLocal session, Value v1, Value v2)
Returns the value of this function.protected Value
FunctionN. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Returns the value of this function.Value
HashFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
MathFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
MathFunction2. getValue(SessionLocal session, Value v1, Value v2)
Value
SignalFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
SoundexFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
StringFunction2. getValue(SessionLocal session, Value v1, Value v2)
Value
SubstringFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
TableInfoFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
ToCharFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
TrimFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
TruncateValueFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
protected Value
XMLFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
private static java.security.MessageDigest
HashFunction. hashImpl(Value value, java.lang.String algorithm)
private static java.security.MessageDigest
HashFunction. hashImpl(Value value, java.security.MessageDigest md)
private static Value
HashFunction. oraHash(Value value, long bucket, long seed)
private static java.lang.String
StringFunction1. rawToHex(Value v, Mode mode)
private static Value
RegexpFunction. regexpSubstr(Value inputString, Value regexpArg, Value positionArg, Value occurrenceArg, Value regexpModeArg, Value subexpressionArg, SessionLocal session)
private static Value
BitFunction. rotate(Value v1, long offset, boolean right)
private Value
MathFunction. round(Value v1, Value v2, java.math.RoundingMode roundingMode)
private static Value
BitFunction. shift(Value v1, long offset, boolean unsigned)
static java.lang.String
ToCharFunction. toCharDateTime(SessionLocal session, Value value, java.lang.String format, java.lang.String nlsParam)
Emulates Oracle's TO_CHAR(datetime) function.private static Value
DateTimeFunction. truncateDate(SessionLocal session, int field, Value value)
Truncate the given date-time value to the specified field. -
Uses of Value in org.h2.index
Fields in org.h2.index declared as Value Modifier and Type Field Description private Value[]
IndexCursor. inList
(package private) Value[]
VirtualTableCursor. values
Methods in org.h2.index that return Value Modifier and Type Method Description Value
IndexCondition. getCurrentValue(SessionLocal session)
Get the current value of the expression.Value[]
IndexCondition. getCurrentValueList(SessionLocal session)
Get the current value list of the expression.private Value
IndexCursor. getMax(Value a, Value b, boolean bigger)
Methods in org.h2.index with parameters of type Value Modifier and Type Method Description private int
Index. compareValues(Value a, Value b, int sortType)
private void
IndexCursor. find(Value v)
private Value
IndexCursor. getMax(Value a, Value b, boolean bigger)
private SearchRow
IndexCursor. getSearchRow(SearchRow row, int columnId, Value v, boolean max)
private SearchRow
IndexCursor. getSpatialSearchRow(SearchRow row, int columnId, Value v)
private static boolean
LinkedIndex. isNull(Value v)
private static void
ViewIndex. setParameter(java.util.ArrayList<Parameter> paramList, int x, Value v)
-
Uses of Value in org.h2.jdbc
Fields in org.h2.jdbc declared as Value Modifier and Type Field Description private Value[]
JdbcResultSet. insertRow
private Value[]
JdbcResultSet. updateRow
(package private) Value
JdbcLob. value
Value.Methods in org.h2.jdbc that return Value Modifier and Type Method Description private Value
JdbcResultSet. convertToUnknownValue(java.lang.Object x)
private Value
JdbcResultSet. convertToValue(java.lang.Object x, java.sql.SQLType targetSqlType)
(package private) Value
JdbcConnection. createBlob(java.io.InputStream x, long length)
Create a Blob value from this input stream.(package private) Value
JdbcConnection. createClob(java.io.Reader x, long length)
Create a Clob value from this reader.private Value
JdbcResultSet. get(int columnIndex)
Value
JdbcResultSet. getInternal(int columnIndex)
INTERNALValue[]
JdbcResultSet. getUpdateRow()
INTERNALMethods in org.h2.jdbc with parameters of type Value Modifier and Type Method Description (package private) void
JdbcLob. completeWrite(Value blob)
Change the state LOB state (LOB value is set completely and available to read).private long
JdbcPreparedStatement. executeBatchElement(Value[] set, java.sql.SQLException exception)
private void
JdbcResultSet. patchCurrentRow(Value[] row)
private void
JdbcPreparedStatement. setParameter(int parameterIndex, Value value)
private void
JdbcResultSet. update(int columnIndex, Value v)
Constructors in org.h2.jdbc with parameters of type Value Constructor Description JdbcArray(JdbcConnection conn, Value value, int id)
INTERNALJdbcBlob(JdbcConnection conn, Value value, JdbcLob.State state, int id)
INTERNALJdbcClob(JdbcConnection conn, Value value, JdbcLob.State state, int id)
INTERNALJdbcLob(JdbcConnection conn, Value value, JdbcLob.State state, int type, int id)
JdbcSQLXML(JdbcConnection conn, Value value, JdbcLob.State state, int id)
INTERNAL -
Uses of Value in org.h2.jdbc.meta
Fields in org.h2.jdbc.meta declared as Value Modifier and Type Field Description private static Value
DatabaseMetaLegacy. BACKSLASH
private static Value
DatabaseMetaLegacy. NO
private static Value
DatabaseMetaLocal. NO
private static Value
DatabaseMetaLocal. NO_USAGE_RESTRICTIONS
private static Value
DatabaseMetaLegacy. PERCENT
private static Value
DatabaseMetaLegacy. SCHEMA_MAIN
private static Value
DatabaseMetaLegacy. YES
private static Value
DatabaseMetaLocal. YES
Methods in org.h2.jdbc.meta that return Value Modifier and Type Method Description private Value
DatabaseMetaLegacy. getCatalogPattern(java.lang.String catalogPattern)
private Value
DatabaseMetaLocal. getDataTypeName(TypeInfo typeInfo)
private Value
DatabaseMetaRemote. getIntArray(int[] array)
private Value
DatabaseMetaLegacy. getPattern(java.lang.String pattern)
private static Value
DatabaseMetaLocal. getRadix(int valueType, boolean small)
private Value
DatabaseMetaLegacy. getSchemaPattern(java.lang.String pattern)
private Value
DatabaseMetaLegacy. getString(java.lang.String string)
(package private) Value
DatabaseMetaLocal. getString(java.lang.String string)
private Value
DatabaseMetaRemote. getString(java.lang.String string)
private Value
DatabaseMetaRemote. getStringArray(java.lang.String[] array)
Methods in org.h2.jdbc.meta with parameters of type Value Modifier and Type Method Description private void
DatabaseMetaLocal. addCrossReferenceResult(SimpleResult result, Value catalog, java.lang.String pkSchema, Table pkTable, java.lang.String fkSchema, Table fkTable, ConstraintReferential fk)
private void
DatabaseMetaLocal. addPrivilege(SimpleResult result, Value catalogValue, Value schemaValue, Value tableValue, Value granteeValue, java.lang.String right, boolean isAdmin, CompareLike columnLike, Column[] columns)
private void
DatabaseMetaLocal. addPrivileges(SimpleResult result, Value catalogValue, java.lang.String schemaName, java.lang.String tableName, DbObject grantee, int rightMask, CompareLike columnLike, Column[] columns)
private ResultInterface
DatabaseMetaLegacy. executeQuery(java.lang.String sql, Value... args)
private ResultInterface
DatabaseMetaRemote. executeQuery(int code, Value... args)
private void
DatabaseMetaLocal. getColumnsAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, CompareLike columnLike)
private void
DatabaseMetaLocal. getIndexInfo(Value catalogValue, Value schemaValue, Table table, boolean unique, boolean approximate, SimpleResult result, Database db)
private void
DatabaseMetaLocal. getProcedureColumnAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value procedureNameValue, Value specificNameValue, TypeInfo type, boolean notNull, int ordinal)
private void
DatabaseMetaLocal. getProceduresAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value procedureNameValue, java.lang.String comment, ValueSmallint procedureType, Value specificNameValue)
private void
DatabaseMetaLocal. getPseudoColumnsAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, CompareLike columnLike, Column c)
private void
DatabaseMetaLocal. getPseudoColumnsAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, CompareLike columnLike)
private void
DatabaseMetaLocal. getTablesAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, boolean synonym, java.util.HashSet<java.lang.String> typesSet)
static ResultInterface
DatabaseMetaServer. process(SessionLocal session, int code, Value[] args)
Process a database meta data request.private static ResultInterface
DatabaseMetaServer. result(Value v)
private static int[]
DatabaseMetaServer. toIntArray(Value value)
private static java.lang.String[]
DatabaseMetaServer. toStringArray(Value value)
-
Uses of Value in org.h2.mode
Methods in org.h2.mode that return Value Modifier and Type Method Description (package private) Value[]
ModeFunction. getArgumentsValues(SessionLocal session, Expression[] args)
Gets values of arguments and checks them for NULL values if function returns NULL on NULL argument.private static Value
FunctionsPostgreSQL. getIndexdef(SessionLocal session, int indexId, Value ordinalPosition, Value pretty)
(package private) static Value
ModeFunction. getNullOrValue(SessionLocal session, Expression[] args, Value[] values, int i)
Get value transformed by expression, or null if i is out of range or the input value is null.Value
FunctionsDB2Derby. getValue(SessionLocal session)
Value
FunctionsLegacy. getValue(SessionLocal session)
Value
FunctionsMSSQLServer. getValue(SessionLocal session)
Value
FunctionsMySQL. getValue(SessionLocal session)
Value
FunctionsOracle. getValue(SessionLocal session)
Value
FunctionsPostgreSQL. getValue(SessionLocal session)
Value
OnDuplicateKeyValues. getValue(SessionLocal session)
Value
Regclass. getValue(SessionLocal session)
private static Value
FunctionsPostgreSQL. relationSize(SessionLocal session, Value tableOidOrName)
Methods in org.h2.mode with parameters of type Value Modifier and Type Method Description private static Value
FunctionsPostgreSQL. getIndexdef(SessionLocal session, int indexId, Value ordinalPosition, Value pretty)
(package private) static Value
ModeFunction. getNullOrValue(SessionLocal session, Expression[] args, Value[] values, int i)
Get value transformed by expression, or null if i is out of range or the input value is null.private static Value
FunctionsPostgreSQL. relationSize(SessionLocal session, Value tableOidOrName)
static int
FunctionsMySQL. unixTimestamp(SessionLocal session, Value value)
Get the seconds since 1970-01-01 00:00:00 UTC of the given timestamp. -
Uses of Value in org.h2.mvstore.db
Subclasses of Value in org.h2.mvstore.db Modifier and Type Class Description class
SpatialKey
A unique spatial key.Fields in org.h2.mvstore.db declared as Value Modifier and Type Field Description private Value[]
MVSortedTempResult. current
Current value for theMVSortedTempResult.next()
method.Fields in org.h2.mvstore.db with type parameters of type Value Modifier and Type Field Description private TransactionMap<SearchRow,Value>
MVSecondaryIndex. dataMap
private TransactionMap<Spatial,Value>
MVSpatialIndex. dataMap
private MVMap<ValueRow,Value>
MVSortedTempResult. index
Optional index.private TransactionMap.TMIterator<SearchRow,Value,SearchRow>
MVSecondaryIndex.MVStoreCursor. it
private TransactionMap<Spatial,Value>
MVSpatialIndex.FindBoundsCursor. map
private TransactionMap<Spatial,Value>
MVSpatialIndex.SpatialKeyIterator. map
private MVMap<LobStorageMap.BlobReference,Value>
LobStorageMap. refMap
The reference map.private MVRTreeMap<VersionedValue<Value>>
MVSpatialIndex. spatialMap
Methods in org.h2.mvstore.db that return Value Modifier and Type Method Description Value[]
NullValueDataType. createStorage(int size)
Value[]
ValueDataType. createStorage(int size)
(package private) Value
MVSpatialIndex.FindBoundsCursor. getBounds()
Value
MVSpatialIndex. getBounds(SessionLocal session)
Returns the minimum bounding box that encloses all keys.Value
MVSpatialIndex. getEstimatedBounds(SessionLocal session)
Returns the estimated minimum bounding box that encloses all keys.private Value[]
MVSortedTempResult. getValue(Value[] key)
Reorder values back if required.Value[]
MVPlainTempResult. next()
Value[]
MVSortedTempResult. next()
Value
NullValueDataType. read(java.nio.ByteBuffer buff)
Value
ValueDataType. read(java.nio.ByteBuffer buff)
private Value[]
ValueDataType. readArrayElements(java.nio.ByteBuffer buff, TypeInfo elementType)
(package private) Value
ValueDataType. readValue(java.nio.ByteBuffer buff, TypeInfo columnType)
Read a value.Methods in org.h2.mvstore.db that return types with arguments of type Value Modifier and Type Method Description private TransactionMap<SearchRow,Value>
MVSecondaryIndex. getMap(SessionLocal session)
Get the map to store the data.private TransactionMap<Spatial,Value>
MVSpatialIndex. getMap(SessionLocal session)
Get the map to store the data.MVMap<SearchRow,VersionedValue<Value>>
MVSecondaryIndex. getMVMap()
MVMap<Spatial,VersionedValue<Value>>
MVSpatialIndex. getMVMap()
private MVMap<SearchRow,Value>
MVSecondaryIndex. openMap(java.lang.String mapName)
Methods in org.h2.mvstore.db with parameters of type Value Modifier and Type Method Description int
MVPlainTempResult. addRow(Value[] values)
int
MVSortedTempResult. addRow(Value[] values)
int
NullValueDataType. binarySearch(Value key, java.lang.Object storage, int size, int initialGuess)
int
NullValueDataType. compare(Value a, Value b)
int
ValueDataType. compare(Value a, Value b)
int
SpatialKey. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueDataType. compareValues(Value a, Value b, int sortType)
Compares the specified values.boolean
MVPlainTempResult. contains(Value[] values)
boolean
MVSortedTempResult. contains(Value[] values)
private ValueRow
MVSortedTempResult. getKey(Value[] values)
Reorder values if required and convert them intoValueRow
.int
NullValueDataType. getMemory(Value obj)
int
ValueDataType. getMemory(Value v)
private Value[]
MVSortedTempResult. getValue(Value[] key)
Reorder values back if required.int
MVPlainTempResult. removeRow(Value[] values)
int
MVSortedTempResult. removeRow(Value[] values)
void
NullValueDataType. write(WriteBuffer buff, Value obj)
void
ValueDataType. write(WriteBuffer buff, Value v)
private static void
ValueDataType. writeBinary(byte type, WriteBuffer buff, Value v)
Method parameters in org.h2.mvstore.db with type arguments of type Value Modifier and Type Method Description private void
MVSecondaryIndex. checkUnique(boolean repeatableRead, TransactionMap<SearchRow,Value> map, SearchRow row, long newKey)
Constructor parameters in org.h2.mvstore.db with type arguments of type Value Constructor Description FindBoundsCursor(Page<Spatial,VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial,Value> map, int columnId)
FindBoundsCursor(Page<Spatial,VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial,Value> map, int columnId)
MVStoreCursor(SessionLocal session, TransactionMap.TMIterator<SearchRow,Value,SearchRow> it, MVTable mvTable)
SpatialKeyIterator(TransactionMap<Spatial,Value> map, java.util.Iterator<Spatial> iterator, boolean includeUncommitted)
-
Uses of Value in org.h2.result
Subclasses of Value in org.h2.result Modifier and Type Class Description class
DefaultRow
The default implementation of a row in a table.class
Row
Represents a row in a table.class
SearchRow
The base class for rows stored in a table, and for partial rows stored in the index.class
SimpleRowValue
A simple row that contains data for only one column.class
Sparse
Class Sparse.Fields in org.h2.result declared as Value Modifier and Type Field Description (package private) Value[]
FetchedResult. currentRow
private Value[]
LocalResult. currentRow
protected Value[]
DefaultRow. data
The values of the row (one entry per column).private Value
SimpleRowValue. data
(package private) Value[]
FetchedResult. nextRow
Fields in org.h2.result with type parameters of type Value Modifier and Type Field Description private java.util.ArrayList<java.util.Map<SimpleResult.Column,Value>>
MergedResult. data
Methods in org.h2.result that return Value Modifier and Type Method Description Value[]
FetchedResult. currentRow()
Value[]
LocalResult. currentRow()
Value[]
ResultInterface. currentRow()
Get the current row.Value[]
ResultWithPaddedStrings. currentRow()
Value[]
SimpleResult. currentRow()
protected abstract Value[]
LazyResult. fetchNextRow()
Fetch next row or null if none available.Value
DefaultRow. getValue(int i)
abstract Value
SearchRow. getValue(int index)
Get the value for the columnValue
SimpleRowValue. getValue(int idx)
Value
Sparse. getValue(int i)
Value[]
DefaultRow. getValueList()
abstract Value[]
Row. getValueList()
Get values.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.Methods in org.h2.result that return types with arguments of type Value Modifier and Type Method Description java.util.Comparator<Value>
SortOrder. getRowValueComparator()
Returns comparator for row values.Methods in org.h2.result with parameters of type Value Modifier and Type Method Description 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.void
SimpleResult. addRow(Value... values)
private void
LocalResult. addRowInternal(Value... values)
private void
LocalResult. cloneLobs(Value[] values)
int
SortOrder. compare(Value[] a, Value[] b)
Compare two expression lists.int
SearchRow. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
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.abstract Row
RowFactory. createRow(Value[] data, int memory)
Create a new row.Row
RowFactory.DefaultRowFactory. createRow(Value[] data, int memory)
void
UpdatableRow. deleteRow(Value[] current)
Delete the given row in the database.static Row
Row. get(Value[] data, int memory)
Creates a new row.static Row
Row. get(Value[] data, int memory, long key)
Creates a new row with the specified key.private ValueRow
LocalResult. getDistinctRow(Value[] values)
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.private void
UpdatableRow. setKey(java.sql.PreparedStatement prep, int start, Value[] current)
void
DefaultRow. setValue(int i, Value v)
abstract void
SearchRow. setValue(int index, Value v)
Set the value for given columnvoid
SimpleRowValue. setValue(int idx, Value v)
void
Sparse. setValue(int i, Value v)
void
UpdatableRow. updateRow(Value[] current, Value[] updateRow)
Update a row in the database.Constructors in org.h2.result with parameters of type Value Constructor Description DefaultRow(Value[] data)
DefaultRow(Value[] data, int memory)
-
Uses of Value in org.h2.schema
Fields in org.h2.schema declared as Value Modifier and Type Field Description private Value
Constant. value
Methods in org.h2.schema that return Value Modifier and Type Method Description Value
Sequence. getNext(SessionLocal session)
Get the next value for this sequence.Value
FunctionAlias.JavaMethod. getValue(SessionLocal session, Expression[] args, boolean columnList)
Call the user-defined function and return the value.Methods in org.h2.schema with parameters of type Value Modifier and Type Method Description void
Domain. checkConstraints(SessionLocal session, Value value)
Check the specified value.void
Constant. setValue(Value value)
-
Uses of Value in org.h2.server.pg
Methods in org.h2.server.pg with parameters of type Value Modifier and Type Method Description private void
PgServerThread. writeDataColumn(Value v, int pgType, boolean text)
-
Uses of Value in org.h2.table
Fields in org.h2.table declared as Value Modifier and Type Field Description (package private) Value
InformationSchemaTable.DataTypeInformation. characterPrecision
CHARACTER_MAXIMUM_LENGTH and CHARACTER_OCTET_LENGTH.(package private) Value
InformationSchemaTable.DataTypeInformation. datetimePrecision
DATETIME_PRECISION.(package private) Value
InformationSchemaTable.DataTypeInformation. declaredNumericPrecision
DECLARED_NUMERIC_PRECISION.(package private) Value
InformationSchemaTable.DataTypeInformation. declaredNumericScale
DECLARED_NUMERIC_SCALE.(package private) Value
InformationSchemaTable.DataTypeInformation. geometrySrid
GEOMETRY_SRID.(package private) Value
InformationSchemaTable.DataTypeInformation. intervalPrecision
INTERVAL_PRECISION.(package private) Value
InformationSchemaTable.DataTypeInformation. intervalType
INTERVAL_TYPE.(package private) Value
InformationSchemaTable.DataTypeInformation. maximumCardinality
MAXIMUM_CARDINALITY.(package private) Value
InformationSchemaTable.DataTypeInformation. numericPrecision
NUMERIC_PRECISION.(package private) Value
InformationSchemaTable.DataTypeInformation. numericPrecisionRadix
NUMERIC_PRECISION_RADIX.(package private) Value
InformationSchemaTable.DataTypeInformation. numericScale
NUMERIC_SCALE.Methods in org.h2.table that return Value Modifier and Type Method Description Value
Column. convert(CastDataProvider provider, Value v)
Convert a value to this column's type without precision and scale checks.private Value
Column. getDefaultOrGenerated(SessionLocal session, Row row)
private Value
TableFilter. getDelegatedValue(Column column)
Value
ColumnResolver. getValue(Column column)
Get the value for the given column.Value
GeneratedColumnResolver. getValue(Column column)
Value
TableFilter. getValue(Column column)
(package private) Value
Column. validateConvertUpdateSequence(SessionLocal session, Value value, Row row)
Validate the value, convert it if required, and update the sequence value if required.Methods in org.h2.table with parameters of type Value Modifier and Type Method Description private void
InformationSchemaTable. checkConstraints(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
protected boolean
MetaTable. checkIndex(SessionLocal session, java.lang.String value, Value indexFrom, Value indexTo)
Checks index conditions.private void
InformationSchemaTable. columnPrivileges(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. columns(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
int
Table. compareValues(CastDataProvider provider, Value a, Value b)
Compare two values with the current comparison mode.private void
InformationSchemaTable. constants(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. constraintColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. constraintColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint)
Value
Column. convert(CastDataProvider provider, Value v)
Convert a value to this column's type without precision and scale checks.Row
Table. createRow(Value[] data, int memory)
Create a new row for this table.private void
InformationSchemaTable. domainConstraints(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. domains(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private DbException
Column. getDataConversionError(Value value, DbException cause)
private void
InformationSchemaTable. indexes(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog, boolean columns)
private void
InformationSchemaTable. keyColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. referentialConstraints(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. rights(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows)
private void
InformationSchemaTable. sequences(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. tableConstraints(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. tablePrivileges(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. tables(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. triggers(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
(package private) Value
Column. validateConvertUpdateSequence(SessionLocal session, Value value, Row row)
Validate the value, convert it if required, and update the sequence value if required.private void
InformationSchemaTable. views(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
Method parameters in org.h2.table with type arguments of type Value Modifier and Type Method Description java.sql.PreparedStatement
TableLink. execute(java.lang.String sql, java.util.ArrayList<Value> params, boolean reusePrepared, SessionLocal session)
Execute a SQL statement using the given parameters.Constructors in org.h2.table with parameters of type Value Constructor Description DataTypeInformation(java.lang.String dataType, Value characterPrecision, Value numericPrecision, Value numericPrecisionRadix, Value numericScale, Value datetimePrecision, Value intervalPrecision, Value intervalType, Value maximumCardinality, boolean hasCharsetAndCollation, java.lang.String declaredDataType, Value declaredNumericPrecision, Value declaredNumericScale, java.lang.String geometryType, Value geometrySrid)
-
Uses of Value in org.h2.tools
Methods in org.h2.tools with parameters of type Value Modifier and Type Method Description private void
Recover. getSQL(java.lang.StringBuilder builder, java.lang.String column, Value v)
-
Uses of Value in org.h2.util
Methods in org.h2.util that return Value Modifier and Type Method Description static Value
DateTimeUtils. dateTimeToValue(Value original, long dateValue, long timeNanos)
Creates a new date-time value with the same type as original value.static Value
LegacyDateTimeUtils. legacyObjectToValue(CastDataProvider session, java.lang.Object x)
Convert a legacy Java object to a value.static Value
DateTimeUtils. parseTimestamp(java.lang.String s, CastDataProvider provider, boolean withTimeZone)
Parses timestamp value from the specified string.Methods in org.h2.util with parameters of type Value Modifier and Type Method Description static long[]
DateTimeUtils. dateAndTimeFromValue(Value value, CastDataProvider provider)
Extracts date value and nanos of day from the specified value.static Value
DateTimeUtils. dateTimeToValue(Value original, long dateValue, long timeNanos)
Creates a new date-time value with the same type as original value.static void
JdbcUtils. set(java.sql.PreparedStatement prep, int parameterIndex, Value value, JdbcConnection conn)
Set a value as a parameter in a prepared statement.private static void
JdbcUtils. setOther(java.sql.PreparedStatement prep, int parameterIndex, Value value, JdbcConnection conn)
static java.sql.Date
LegacyDateTimeUtils. toDate(CastDataProvider provider, java.util.TimeZone timeZone, Value value)
Get the date value converted to the specified time zone.static java.sql.Time
LegacyDateTimeUtils. toTime(CastDataProvider provider, java.util.TimeZone timeZone, Value value)
Get the time value converted to the specified time zone.static java.sql.Timestamp
LegacyDateTimeUtils. toTimestamp(CastDataProvider provider, java.util.TimeZone timeZone, Value value)
Get the timestamp value converted to the specified time zone.static java.time.Duration
JSR310Utils. valueToDuration(Value value)
Converts a value to a Duration.static java.time.Instant
JSR310Utils. valueToInstant(Value value, CastDataProvider provider)
Converts a value to a Instant.static <T> T
LegacyDateTimeUtils. valueToLegacyType(java.lang.Class<T> type, Value value, CastDataProvider provider)
Converts the specified value to an object of the specified legacy type.static java.time.LocalDate
JSR310Utils. valueToLocalDate(Value value, CastDataProvider provider)
Converts a value to a LocalDate.static java.time.LocalDateTime
JSR310Utils. valueToLocalDateTime(Value value, CastDataProvider provider)
Converts a value to a LocalDateTime.static java.time.LocalTime
JSR310Utils. valueToLocalTime(Value value, CastDataProvider provider)
Converts a value to a LocalTime.static java.time.OffsetDateTime
JSR310Utils. valueToOffsetDateTime(Value value, CastDataProvider provider)
Converts a value to a OffsetDateTime.static java.time.OffsetTime
JSR310Utils. valueToOffsetTime(Value value, CastDataProvider provider)
Converts a value to a OffsetTime.static java.time.Period
JSR310Utils. valueToPeriod(Value value)
Converts a value to a Period.static java.time.ZonedDateTime
JSR310Utils. valueToZonedDateTime(Value value, CastDataProvider provider)
Converts a value to a ZonedDateTime. -
Uses of Value in org.h2.util.json
Methods in org.h2.util.json that return Value Modifier and Type Method Description static Value
JsonConstructorUtils. jsonObjectFinish(java.io.ByteArrayOutputStream baos, int flags)
Appends trailing closing brace to the specified string builder with a JSON object, validates it, and converts to a JSON value.Methods in org.h2.util.json with parameters of type Value Modifier and Type Method Description static void
JsonConstructorUtils. jsonArrayAppend(java.io.ByteArrayOutputStream baos, Value value, int flags)
Appends a value to a JSON array in the specified output stream.static void
JsonConstructorUtils. jsonObjectAppend(java.io.ByteArrayOutputStream baos, java.lang.String key, Value value)
Appends a value to a JSON object in the specified string builder. -
Uses of Value in org.h2.value
Subclasses of Value in org.h2.value Modifier and Type Class Description class
ValueArray
Implementation of the ARRAY data type.(package private) class
ValueBigDecimalBase
Base class for BigDecimal-based values.class
ValueBigint
Implementation of the BIGINT data type.class
ValueBinary
Implementation of the BINARY data type.class
ValueBlob
Implementation of the BINARY LARGE OBJECT data type.class
ValueBoolean
Implementation of the BOOLEAN data type.(package private) class
ValueBytesBase
Base implementation of byte array based data types.class
ValueChar
Implementation of the CHARACTER data type.class
ValueClob
Implementation of the CHARACTER LARGE OBJECT data type.class
ValueCollectionBase
Base class for ARRAY and ROW values.class
ValueDate
Implementation of the DATE data type.class
ValueDecfloat
Implementation of the DECFLOAT data type.class
ValueDouble
Implementation of the DOUBLE PRECISION data type.class
ValueEnum
ENUM value.class
ValueEnumBase
Base implementation of the ENUM data type.class
ValueGeometry
Implementation of the GEOMETRY data type.class
ValueInteger
Implementation of the INTEGER data type.class
ValueInterval
Implementation of the INTERVAL data type.class
ValueJavaObject
Implementation of the JAVA_OBJECT data type.class
ValueJson
Implementation of the JSON data type.class
ValueLob
A implementation of the BINARY LARGE OBJECT and CHARACTER LARGE OBJECT data types.class
ValueNull
Implementation of NULL.class
ValueNumeric
Implementation of the NUMERIC data type.class
ValueReal
Implementation of the REAL data type.class
ValueRow
Row value.class
ValueSmallint
Implementation of the SMALLINT data type.(package private) class
ValueStringBase
Base implementation of String based data types.class
ValueTime
Implementation of the TIME data type.class
ValueTimestamp
Implementation of the TIMESTAMP data type.class
ValueTimestampTimeZone
Implementation of the TIMESTAMP WITH TIME ZONE data type.class
ValueTimeTimeZone
Implementation of the TIME WITH TIME ZONE data type.class
ValueTinyint
Implementation of the TINYINT data type.class
ValueUuid
Implementation of the UUID data type.class
ValueVarbinary
Implementation of the BINARY VARYING data type.class
ValueVarchar
Implementation of the CHARACTER VARYING data type.class
ValueVarcharIgnoreCase
Implementation of the VARCHAR_IGNORECASE data type.Fields in org.h2.value declared as Value Modifier and Type Field Description static Value[]
Value. EMPTY_VALUES
Empty array of values.(package private) Value[]
ValueCollectionBase. values
Values.Methods in org.h2.value that return Value Modifier and Type Method Description Value
Value. add(Value v)
Add a value and return the result.Value
ValueBigint. add(Value v)
Value
ValueDecfloat. add(Value v)
Value
ValueDouble. add(Value v)
Value
ValueEnumBase. add(Value v)
Value
ValueInteger. add(Value v)
Value
ValueInterval. add(Value v)
Value
ValueNumeric. add(Value v)
Value
ValueReal. add(Value v)
Value
ValueSmallint. add(Value v)
Value
ValueTime. add(Value v)
Value
ValueTimestamp. add(Value v)
Value
ValueTinyint. add(Value v)
private static Value
ValueToObjectConverter. arrayToValue(Session session, java.lang.Object x)
(package private) static Value
Value. cache(Value v)
Check if a value is in the cache that is equal to this value.Value
Value. castTo(TypeInfo targetType, CastDataProvider provider)
Cast a value to the specified type.Value
Value. convertForAssignTo(TypeInfo targetType, CastDataProvider provider, java.lang.Object column)
Cast a value to the specified type for assignment.Value
Value. convertTo(int targetType)
Convert a value to the specified type without taking scale and precision into account.Value
Value. convertTo(int targetType, CastDataProvider provider)
Convert a value to the specified type without taking scale and precision into account.Value
Value. convertTo(TypeInfo targetType)
Convert a value to the specified type without taking scale and precision into account.Value
Value. convertTo(TypeInfo targetType, CastDataProvider provider)
Convert a value to the specified type without taking scale and precision into account.private Value
Value. convertTo(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
Convert a value to the specified type.Value
Value. convertTo(TypeInfo targetType, CastDataProvider provider, java.lang.Object column)
Convert a value to the specified type without taking scale and precision into account.private Value
Value. convertToRow(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
private Value
Value. convertToVarchar(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
private Value
Value. convertToVarcharIgnoreCase(TypeInfo targetType, int conversionMode, java.lang.Object column)
Value
Value. divide(Value v, TypeInfo quotientType)
Divide by a value and return the result.Value
ValueBigint. divide(Value v, TypeInfo quotientType)
Value
ValueDecfloat. divide(Value v, TypeInfo quotientType)
Value
ValueDouble. divide(Value v, TypeInfo quotientType)
Value
ValueEnumBase. divide(Value v, TypeInfo quotientType)
Value
ValueInteger. divide(Value v, TypeInfo quotientType)
Value
ValueNumeric. divide(Value v, TypeInfo quotientType)
Value
ValueReal. divide(Value v, TypeInfo quotientType)
Value
ValueSmallint. divide(Value v, TypeInfo quotientType)
Value
ValueTime. divide(Value v, TypeInfo quotientType)
Value
ValueTinyint. divide(Value v, TypeInfo quotientType)
static Value
ValueGeometry. fromEnvelope(double[] envelope)
Creates a geometry value for the given envelope.static Value
ValueVarchar. get(java.lang.String s)
Get or create a VARCHAR value for the given string.static Value
ValueVarchar. get(java.lang.String s, CastDataProvider provider)
Get or create a VARCHAR value for the given string.Value
ValueGeometry. getEnvelopeUnion(ValueGeometry r)
Get the union.Value[]
ValueCollectionBase. getList()
Value
Value. modulus(Value v)
Take the modulus with a value and return the result.Value
ValueBigint. modulus(Value v)
Value
ValueDecfloat. modulus(Value v)
Value
ValueEnumBase. modulus(Value v)
Value
ValueInteger. modulus(Value v)
Value
ValueNumeric. modulus(Value v)
Value
ValueReal. modulus(Value v)
Value
ValueSmallint. modulus(Value v)
Value
ValueTinyint. modulus(Value v)
Value
Value. multiply(Value v)
Multiply with a value and return the result.Value
ValueBigint. multiply(Value v)
Value
ValueDecfloat. multiply(Value v)
Value
ValueDouble. multiply(Value v)
Value
ValueEnumBase. multiply(Value v)
Value
ValueInteger. multiply(Value v)
Value
ValueNumeric. multiply(Value v)
Value
ValueReal. multiply(Value v)
Value
ValueSmallint. multiply(Value v)
Value
ValueTime. multiply(Value v)
Value
ValueTinyint. multiply(Value v)
Value
Value. negate()
Return -value if this value support arithmetic operations.Value
ValueBigint. negate()
Value
ValueBoolean. negate()
Value
ValueDecfloat. negate()
Value
ValueDouble. negate()
Value
ValueInteger. negate()
Value
ValueInterval. negate()
Value
ValueNumeric. negate()
Value
ValueReal. negate()
Value
ValueSmallint. negate()
Value
ValueTinyint. negate()
static Value
ValueToObjectConverter. objectToValue(Session session, java.lang.Object x, int type)
Convert a Java object to a value.private static Value
ValueToObjectConverter. otherToValue(Session session, java.lang.Object x)
private Value[]
Transfer. readArrayElements(int len, TypeInfo elementType)
Value
Transfer. readValue(TypeInfo columnType)
Read a value.static Value
ValueToObjectConverter. readValue(Session session, JdbcResultSet rs, int columnIndex)
Read a value from the given result set.static Value
ValueToObjectConverter2. readValue(Session session, java.sql.ResultSet rs, int columnIndex, int type)
Read a value from the given result set.private static Value
ValueToObjectConverter2. readValueOther(Session session, java.sql.ResultSet rs, int columnIndex, int type)
(package private) static Value
ValueToObjectConverter. resultSetToValue(Session session, java.sql.ResultSet rs)
Value
Value. subtract(Value v)
Subtract a value and return the result.Value
ValueBigint. subtract(Value v)
Value
ValueDecfloat. subtract(Value v)
Value
ValueDouble. subtract(Value v)
Value
ValueEnumBase. subtract(Value v)
Value
ValueInteger. subtract(Value v)
Value
ValueInterval. subtract(Value v)
Value
ValueNumeric. subtract(Value v)
Value
ValueReal. subtract(Value v)
Value
ValueSmallint. subtract(Value v)
Value
ValueTime. subtract(Value v)
Value
ValueTimestamp. subtract(Value v)
Value
ValueTinyint. subtract(Value v)
Methods in org.h2.value with parameters of type Value Modifier and Type Method Description Value
Value. add(Value v)
Add a value and return the result.Value
ValueBigint. add(Value v)
Value
ValueDecfloat. add(Value v)
Value
ValueDouble. add(Value v)
Value
ValueEnumBase. add(Value v)
Value
ValueInteger. add(Value v)
Value
ValueInterval. add(Value v)
Value
ValueNumeric. add(Value v)
Value
ValueReal. add(Value v)
Value
ValueSmallint. add(Value v)
Value
ValueTime. add(Value v)
Value
ValueTimestamp. add(Value v)
Value
ValueTinyint. add(Value v)
(package private) static Value
Value. cache(Value v)
Check if a value is in the cache that is equal to this value.int
CompareMode. compare(Value o1, Value o2)
int
Value. compareTo(Value v, CastDataProvider provider, CompareMode compareMode)
Compare this value against another value using the specified compare mode.private int
Value. compareToNotNullable(Value v, CastDataProvider provider, CompareMode compareMode)
abstract int
Value. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
Compare this value against another value given that the values are of the same data type.int
ValueArray. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueBigint. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueBlob. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueBoolean. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueBytesBase. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueChar. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueClob. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueDate. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueDecfloat. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueDouble. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueEnumBase. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueInteger. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueInterval. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueNull. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueNumeric. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueReal. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueRow. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueSmallint. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueStringBase. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
ValueTime. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueTimestamp. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueTimestampTimeZone. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueTimeTimeZone. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueTinyint. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueUuid. compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider)
int
ValueVarcharIgnoreCase. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
int
Value. compareWithNull(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode)
Compare this value against another value using the specified compare mode.int
ValueCollectionBase. compareWithNull(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode)
Value
Value. divide(Value v, TypeInfo quotientType)
Divide by a value and return the result.Value
ValueBigint. divide(Value v, TypeInfo quotientType)
Value
ValueDecfloat. divide(Value v, TypeInfo quotientType)
Value
ValueDouble. divide(Value v, TypeInfo quotientType)
Value
ValueEnumBase. divide(Value v, TypeInfo quotientType)
Value
ValueInteger. divide(Value v, TypeInfo quotientType)
Value
ValueNumeric. divide(Value v, TypeInfo quotientType)
Value
ValueReal. divide(Value v, TypeInfo quotientType)
Value
ValueSmallint. divide(Value v, TypeInfo quotientType)
Value
ValueTime. divide(Value v, TypeInfo quotientType)
Value
ValueTinyint. divide(Value v, TypeInfo quotientType)
static ValueArray
ValueArray. get(TypeInfo componentType, Value[] list, CastDataProvider provider)
Get or create a array value for the given value array.static ValueArray
ValueArray. get(Value[] list, CastDataProvider provider)
Get or create a array value for the given value array.static ValueRow
ValueRow. get(ExtTypeInfoRow extTypeInfo, Value[] list)
Get or create a typed row value for the given value array.static ValueRow
ValueRow. get(TypeInfo typeInfo, Value[] list)
Get or create a typed row value for the given value array.static ValueRow
ValueRow. get(Value[] list)
Get or create a row value for the given value array.static ExtTypeInfoEnum
ExtTypeInfoEnum. getEnumeratorsForBinaryOperation(Value left, Value right)
Returns enumerators for the two specified values for a binary operation.Value
Value. modulus(Value v)
Take the modulus with a value and return the result.Value
ValueBigint. modulus(Value v)
Value
ValueDecfloat. modulus(Value v)
ValueDouble
ValueDouble. modulus(Value v)
Value
ValueEnumBase. modulus(Value v)
Value
ValueInteger. modulus(Value v)
Value
ValueNumeric. modulus(Value v)
Value
ValueReal. modulus(Value v)
Value
ValueSmallint. modulus(Value v)
Value
ValueTinyint. modulus(Value v)
Value
Value. multiply(Value v)
Multiply with a value and return the result.Value
ValueBigint. multiply(Value v)
Value
ValueDecfloat. multiply(Value v)
Value
ValueDouble. multiply(Value v)
Value
ValueEnumBase. multiply(Value v)
Value
ValueInteger. multiply(Value v)
Value
ValueNumeric. multiply(Value v)
Value
ValueReal. multiply(Value v)
Value
ValueSmallint. multiply(Value v)
Value
ValueTime. multiply(Value v)
Value
ValueTinyint. multiply(Value v)
Value
Value. subtract(Value v)
Subtract a value and return the result.Value
ValueBigint. subtract(Value v)
Value
ValueDecfloat. subtract(Value v)
Value
ValueDouble. subtract(Value v)
Value
ValueEnumBase. subtract(Value v)
Value
ValueInteger. subtract(Value v)
Value
ValueInterval. subtract(Value v)
Value
ValueNumeric. subtract(Value v)
Value
ValueReal. subtract(Value v)
Value
ValueSmallint. subtract(Value v)
Value
ValueTime. subtract(Value v)
Value
ValueTimestamp. subtract(Value v)
Value
ValueTinyint. subtract(Value v)
private static java.lang.Object
ValueToObjectConverter. valueToArray(java.lang.Class<?> type, Value value, JdbcConnection conn)
static java.lang.Object
ValueToObjectConverter. valueToDefaultArray(Value value, JdbcConnection conn, boolean forJdbc)
Converts the specified array value to array of default Java objects for its type.static java.lang.Object
ValueToObjectConverter. valueToDefaultObject(Value value, JdbcConnection conn, boolean forJdbc)
Converts the specified value to the default Java object for its type.static <T> T
ValueToObjectConverter. valueToObject(java.lang.Class<T> type, Value value, JdbcConnection conn)
Converts the specified value to an object of the specified type.private static java.lang.Object
ValueToObjectConverter. valueToOther(java.lang.Class<?> type, Value value, JdbcConnection conn)
void
Transfer. writeValue(Value v)
Write a value.Constructors in org.h2.value with parameters of type Value Constructor Description ValueArray(TypeInfo componentType, Value[] list, CastDataProvider provider)
ValueCollectionBase(Value[] values)
ValueRow(TypeInfo type, Value[] list)
-